EOS_AntiCheatServer_AddNotifyClientActionRequired

EOS API reference page for EOS_AntiCheatServer_AddNotifyClientActionRequired

実装方法を選んでください。

C

C#

This function is part of the [AntiCheatServer Interface](Interfaces/AntiCheatServer).

Remarks

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 EOS_AntiCheatServer_BeginSession and the matching EOS_AntiCheatServer_EndSession call.

Return Value

A valid notification ID if successfully bound, or EOS_INVALID_NOTIFICATIONID otherwise

Parameters

EOS_AntiCheatServer_AddNotifyClientActionRequired

Parameter Type And Name

Usage Information

EOS_HAntiCheatServer Handle

const EOS_AntiCheatServer_AddNotifyClientActionRequiredOptions* Options

Structure containing input data

void* ClientData

This value is returned to the caller when NotificationFn is invoked

EOS_AntiCheatServer_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.

Callback Function Information

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

Callback Remarks

Callback issued when an action must be applied to a connected client. This callback is always issued from within EOS_Platform_Tick on its calling thread.

Callback Parameters

EOS_AntiCheatServer_OnClientActionRequiredCallback

Parameter Type And Name

Usage Information

const EOS_AntiCheatCommon_OnClientActionRequiredCallbackInfo* Data

Related API Members

This function is part of the [AntiCheatServer Interface](Interfaces/AntiCheatServer).

Remarks

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 EOS_AntiCheatServer_BeginSession and the matching EOS_AntiCheatServer_EndSession call.

Return Value

A valid notification ID if successfully bound, or EOS_INVALID_NOTIFICATIONID 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.

Callback Function Information

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

Callback Remarks

Callback issued when an action must be applied to a connected client. This callback is always issued from within EOS_Platform_Tick on its calling thread.

Callback Parameters

AntiCheatServer.OnClientActionRequiredCallback

Parameter Type And Name

Usage Information

AntiCheatCommon.OnClientActionRequiredCallbackInfo data

Related API Members

タグ