#[repr(C)]pub struct _tagEOS_AntiCheatClient_RegisterPeerOptions {
pub ApiVersion: i32,
pub PeerHandle: EOS_AntiCheatCommon_ClientHandle,
pub ClientType: EOS_EAntiCheatCommonClientType,
pub ClientPlatform: EOS_EAntiCheatCommonClientPlatform,
pub AuthenticationTimeout: u32,
pub AccountId_DEPRECATED: *const c_char,
pub IpAddress: *const c_char,
pub PeerProductUserId: EOS_ProductUserId,
}Expand description
Input parameters for the EOS_AntiCheatClient_RegisterPeerOptions function.
Fields§
§ApiVersion: i32API Version: Set this to EOS_ANTICHEATCLIENT_REGISTERPEER_API_LATEST.
PeerHandle: EOS_AntiCheatCommon_ClientHandleLocally unique value describing the remote user (e.g. a player object pointer)
ClientType: EOS_EAntiCheatCommonClientTypeType of remote user being registered
ClientPlatform: EOS_EAntiCheatCommonClientPlatformRemote user’s platform, if known
AuthenticationTimeout: u32Time in seconds to allow newly registered peers to send the initial message containing their token. Minimum value: EOS_ANTICHEATCLIENT_REGISTERPEER_MIN_AUTHENTICATIONTIMEOUT Maximum value: EOS_ANTICHEATCLIENT_REGISTERPEER_MAX_AUTHENTICATIONTIMEOUT
AccountId_DEPRECATED: *const c_charDeprecated - use PeerProductUserId instead
IpAddress: *const c_charOptional IP address for the remote user. May be null if not available. IPv4 format: “0.0.0.0” IPv6 format: “0:0:0:0:0:0:0:0”
PeerProductUserId: EOS_ProductUserIdEOS_ProductUserId Identifier for the remote user
Trait Implementations§
Source§impl Clone for _tagEOS_AntiCheatClient_RegisterPeerOptions
impl Clone for _tagEOS_AntiCheatClient_RegisterPeerOptions
Source§fn clone(&self) -> _tagEOS_AntiCheatClient_RegisterPeerOptions
fn clone(&self) -> _tagEOS_AntiCheatClient_RegisterPeerOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more