EOS API reference page for EOS_AntiCheatServer_AddNotifyClientAuthStatusChanged

2 분 소요

This function is part of the AntiCheatServer Interface.


Add an optional callback issued when a connected client's authentication status changes. The bound function will only be called between a successful call to EOS_AntiCheatServer_BeginSession and the matching EOS_AntiCheatServer_EndSession call.

Return Value

A valid notification ID if successfully bound, or EOS_INVALID_NOTIFICATIONID otherwise



Parameter Type And NameUsage Information
EOS_HAntiCheatServer Handle
const EOS_AntiCheatServer_AddNotifyClientAuthStatusChangedOptions* OptionsStructure containing input data
void* ClientDataThis value is returned to the caller when NotificationFn is invoked
EOS_AntiCheatServer_OnClientAuthStatusChangedCallback NotificationFnThe callback to be fired

Callback Function Information

Because this function is asynchronous, it employs a callback of type EOS_AntiCheatServer_OnClientAuthStatusChangedCallback to report the results of its operation.

Callback Remarks

Optional callback issued when a connected client's authentication status has changed. This callback is always issued from within EOS_Platform_Tick on its calling thread.

Callback Parameters


Parameter Type And NameUsage Information
const EOS_AntiCheatCommon_OnClientAuthStatusChangedCallbackInfo* Data