Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/Interfaces > API/Plugins/OnlineSubsystem/Interfaces/IOnlineSession
References
| Module | OnlineSubsystem |
| Header | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineSessionInterface.h |
| Include | #include "Interfaces/OnlineSessionInterface.h" |
bool UnregisterPlayer
&40;
FName SessionName,
const FUniqueNetId & PlayerId
&41;
Remarks
Unregisters a player with the online service as being part of the online session true if the call succeeds, false otherwise
Parameters
| Name | Description |
|---|---|
| SessionName | the name of the session the player is leaving |
| PlayerId | the player to unregister with the online service |