Skip to main content

EOS_AntiCheatCommon_RegisterEventOptions

Type Alias EOS_AntiCheatCommon_RegisterEventOptions 

Source
pub type EOS_AntiCheatCommon_RegisterEventOptions = _tagEOS_AntiCheatCommon_RegisterEventOptions;
Expand description

Input parameters for the EOS_AntiCheatServer_RegisterEvent function.

Aliased Type§

#[repr(C)]
pub struct EOS_AntiCheatCommon_RegisterEventOptions { pub ApiVersion: i32, pub EventId: u32, pub EventName: *const u8, pub EventType: i32, pub ParamDefsCount: u32, pub ParamDefs: *const _tagEOS_AntiCheatCommon_RegisterEventParamDef, }

Fields§

§ApiVersion: i32

API Version: Set this to EOS_ANTICHEATCOMMON_REGISTEREVENT_API_LATEST.

§EventId: u32

Unique event identifier. Must be >= EOS_ANTICHEATCOMMON_REGISTEREVENT_CUSTOMEVENTBASE.

§EventName: *const u8

Name of the custom event. Allowed characters are 0-9, A-Z, a-z, ‘_’, ‘-’

§EventType: i32

Type of the custom event

§ParamDefsCount: u32

Number of parameters described in ParamDefs. Must be equal to or less than EOS_ANTICHEATCOMMON_REGISTEREVENT_MAX_PARAMDEFSCOUNT.

§ParamDefs: *const _tagEOS_AntiCheatCommon_RegisterEventParamDef

Pointer to an array of EOS_AntiCheatCommon_RegisterEventParamDef with ParamDefsCount elements