pub type EOS_AntiCheatClient_RegisterPeerOptions = _tagEOS_AntiCheatClient_RegisterPeerOptions;Expand description
Input parameters for the EOS_AntiCheatClient_RegisterPeerOptions function.
Aliased Type§
#[repr(C)]pub struct EOS_AntiCheatClient_RegisterPeerOptions {
pub ApiVersion: i32,
pub PeerHandle: *mut c_void,
pub ClientType: i32,
pub ClientPlatform: i32,
pub AuthenticationTimeout: u32,
pub AccountId_DEPRECATED: *const i8,
pub IpAddress: *const i8,
pub PeerProductUserId: *mut EOS_ProductUserIdDetails,
}Fields§
§ApiVersion: i32API Version: Set this to EOS_ANTICHEATCLIENT_REGISTERPEER_API_LATEST.
PeerHandle: *mut c_voidLocally unique value describing the remote user (e.g. a player object pointer)
ClientType: i32Type of remote user being registered
ClientPlatform: i32Remote 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 i8Deprecated - use PeerProductUserId instead
IpAddress: *const i8Optional 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: *mut EOS_ProductUserIdDetailsEOS_ProductUserId Identifier for the remote user