#[repr(C)]pub struct _tagEOS_AntiCheatServer_BeginSessionOptions {
pub ApiVersion: i32,
pub RegisterTimeoutSeconds: u32,
pub ServerName: *const c_char,
pub bEnableGameplayData: EOS_Bool,
pub LocalUserId: EOS_ProductUserId,
}Expand description
Input parameters for the EOS_AntiCheatServer_BeginSession function.
Fields§
§ApiVersion: i32API Version: Set this to EOS_ANTICHEATSERVER_BEGINSESSION_API_LATEST.
RegisterTimeoutSeconds: u32Time in seconds to allow newly registered clients to complete anti-cheat authentication. Recommended value: 60 Minimum value: EOS_ANTICHEATSERVER_BEGINSESSION_MIN_REGISTERTIMEOUT Maximum value: EOS_ANTICHEATSERVER_BEGINSESSION_MAX_REGISTERTIMEOUT
ServerName: *const c_charOptional name of this game server
bEnableGameplayData: EOS_BoolGameplay data collection APIs such as LogPlayerTick will be enabled if set to true. If you do not use these APIs you should set this value to false to reduce memory use.
LocalUserId: EOS_ProductUserIdThe Product User ID of the local user who is associated with this session. Dedicated servers should set this to null.
Trait Implementations§
Source§impl Clone for _tagEOS_AntiCheatServer_BeginSessionOptions
impl Clone for _tagEOS_AntiCheatServer_BeginSessionOptions
Source§fn clone(&self) -> _tagEOS_AntiCheatServer_BeginSessionOptions
fn clone(&self) -> _tagEOS_AntiCheatServer_BeginSessionOptions
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_AntiCheatServer_BeginSessionOptions
Auto Trait Implementations§
impl Freeze for _tagEOS_AntiCheatServer_BeginSessionOptions
impl RefUnwindSafe for _tagEOS_AntiCheatServer_BeginSessionOptions
impl !Send for _tagEOS_AntiCheatServer_BeginSessionOptions
impl !Sync for _tagEOS_AntiCheatServer_BeginSessionOptions
impl Unpin for _tagEOS_AntiCheatServer_BeginSessionOptions
impl UnsafeUnpin for _tagEOS_AntiCheatServer_BeginSessionOptions
impl UnwindSafe for _tagEOS_AntiCheatServer_BeginSessionOptions
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