This function is part of the AntiCheatClient Interface.
Remarks
Ends a multiplayer game session, either by leaving an ongoing session or shutting it down entirely. Mode: All Must be called when the multiplayer session ends, or when the local user leaves a session in progress.
Return Value
-
EOS_Success - If the session was ended normally
-
EOS_InvalidParameters - If input data was invalid
-
EOS_AntiCheat_InvalidMode - If the current mode does not support this function
Parameters
EOS_AntiCheatClient_EndSession
Parameter Type And Name | Usage Information |
---|---|
EOS_HAntiCheatClient Handle | |
const EOS_AntiCheatClient_EndSessionOptions* Options | Structure containing input data. |
Related API Members
- EOS_AntiCheatClient_EndSessionOptions
- EOS_EResult