Course: The EOS Online Subsystem (OSS) Plugin

I have lobbies working with clients able to connect. I’m not able to get notifications working though.

I adapted the example code use the following delegates in the SetupNotifications() function:

	Session->AddOnSessionParticipantJoinedDelegate_Handle(FOnSessionParticipantJoinedDelegate::CreateUObject(
		this, 
		&ThisClass::HandleParticipantJoined));

	Session->AddOnSessionParticipantLeftDelegate_Handle(FOnSessionParticipantLeftDelegate::CreateUObject(
		this,
		&ThisClass::HandleParticipantLeft));

The delegate functions never get called though. I’m testing with three players, one being the host and two connecting clients. The functions are setup to print a log, but that never happens.

In general what I’m looking for is a way to get general information about the current lobby from the client’s perspective. Things like “is connected”, “is host”, “num of connections”. I know it’s said that Epic handle a lot of lobby information, so I figured their would be a way to pull in up to date information.