#[repr(C)]pub struct _tagEOS_AntiCheatCommon_RegisterEventOptions {
pub ApiVersion: i32,
pub EventId: u32,
pub EventName: *const c_char,
pub EventType: EOS_EAntiCheatCommonEventType,
pub ParamDefsCount: u32,
pub ParamDefs: *const EOS_AntiCheatCommon_RegisterEventParamDef,
}Expand description
Input parameters for the EOS_AntiCheatServer_RegisterEvent function.
Fields§
§ApiVersion: i32API Version: Set this to EOS_ANTICHEATCOMMON_REGISTEREVENT_API_LATEST.
EventId: u32Unique event identifier. Must be >= EOS_ANTICHEATCOMMON_REGISTEREVENT_CUSTOMEVENTBASE.
EventName: *const c_charName of the custom event. Allowed characters are 0-9, A-Z, a-z, ‘_’, ‘-’
EventType: EOS_EAntiCheatCommonEventTypeType of the custom event
ParamDefsCount: u32Number of parameters described in ParamDefs. Must be equal to or less than EOS_ANTICHEATCOMMON_REGISTEREVENT_MAX_PARAMDEFSCOUNT.
ParamDefs: *const EOS_AntiCheatCommon_RegisterEventParamDefPointer to an array of EOS_AntiCheatCommon_RegisterEventParamDef with ParamDefsCount elements
Trait Implementations§
Source§impl Clone for _tagEOS_AntiCheatCommon_RegisterEventOptions
impl Clone for _tagEOS_AntiCheatCommon_RegisterEventOptions
Source§fn clone(&self) -> _tagEOS_AntiCheatCommon_RegisterEventOptions
fn clone(&self) -> _tagEOS_AntiCheatCommon_RegisterEventOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for _tagEOS_AntiCheatCommon_RegisterEventOptions
Auto Trait Implementations§
impl Freeze for _tagEOS_AntiCheatCommon_RegisterEventOptions
impl RefUnwindSafe for _tagEOS_AntiCheatCommon_RegisterEventOptions
impl !Send for _tagEOS_AntiCheatCommon_RegisterEventOptions
impl !Sync for _tagEOS_AntiCheatCommon_RegisterEventOptions
impl Unpin for _tagEOS_AntiCheatCommon_RegisterEventOptions
impl UnsafeUnpin for _tagEOS_AntiCheatCommon_RegisterEventOptions
impl UnwindSafe for _tagEOS_AntiCheatCommon_RegisterEventOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more