This function is part of the AntiCheatServer Interface.
Add a callback issued when an action must be applied to a connected client. The bound function
will only be called between a successful call to {BeginSession} and the matching {EndSession} call.
Return Value
A valid notification ID if successfully bound, or {Common.InvalidNotificationid} otherwise
Parameters
AntiCheatServer.AntiCheatServerInterface.AddNotifyClientActionRequired
Parameter Type And Name
|
Usage Information
|
AddNotifyClientActionRequiredOptions options
|
Structure containing input data
|
object clientData
|
This value is returned to the caller when NotificationFn is invoked
|
OnClientActionRequiredCallback notificationFn
|
The callback to be fired
|
This function enables your callback (the NotificationFn
parameter) to respond to events that happen on the back-end service. Remember to remove your callback function when it is no longer needed.
Because this function is asynchronous, it employs a callback of type AntiCheatServer.OnClientActionRequiredCallback to report the results of its operation.
Callback issued when an action must be applied to a connected client.
This callback is always issued from within {Platform.PlatformInterface.Tick} on its calling thread.
Callback Parameters
AntiCheatServer.OnClientActionRequiredCallback
Parameter Type And Name
|
Usage Information
|
AntiCheatCommon.OnClientActionRequiredCallbackInfo data
|
|