Skip to main content

EOS_AntiCheatCommon_OnClientActionRequiredCallbackInfo

Type Alias EOS_AntiCheatCommon_OnClientActionRequiredCallbackInfo 

Source
pub type EOS_AntiCheatCommon_OnClientActionRequiredCallbackInfo = _tagEOS_AntiCheatCommon_OnClientActionRequiredCallbackInfo;
Expand description

Structure containing details about a required client/peer action

Aliased Type§

#[repr(C)]
pub struct EOS_AntiCheatCommon_OnClientActionRequiredCallbackInfo { pub ClientData: *mut c_void, pub ClientHandle: *mut c_void, pub ClientAction: i32, pub ActionReasonCode: i32, pub ActionReasonDetailsString: *const u8, }

Fields§

§ClientData: *mut c_void

Caller-specified context data

§ClientHandle: *mut c_void

The identifier of the client/peer that this action applies to. See the RegisterClient and RegisterPeer functions.

§ClientAction: i32

The action that must be applied to the specified client/peer

§ActionReasonCode: i32

Code indicating the reason for the action. This can be displayed to the affected player.

§ActionReasonDetailsString: *const u8

String containing details about the action reason. This can be displayed to the affected player.