Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineSessionInterface.h |
Include |
#include "Interfaces/OnlineSessionInterface.h" |
bool RegisterPlayer
(
FName SessionName,
const FUniqueNetId & PlayerId,
bool bWasInvited
)
Registers a player with the online service as being part of the online session
true if the call succeeds, false otherwise
Parameter |
Description |
---|---|
SessionName |
the name of the session the player is joining |
UniquePlayerId |
the player to register with the online service |
bWasInvited |
whether the player was invited to the session or searched for it |