Skip to main content

EOS_AntiCheatClient_RegisterPeerOptions

Type Alias EOS_AntiCheatClient_RegisterPeerOptions 

Source
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: i32

API Version: Set this to EOS_ANTICHEATCLIENT_REGISTERPEER_API_LATEST.

§PeerHandle: *mut c_void

Locally unique value describing the remote user (e.g. a player object pointer)

§ClientType: i32

Type of remote user being registered

§ClientPlatform: i32

Remote user’s platform, if known

§AuthenticationTimeout: u32

Time 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 i8

Deprecated - use PeerProductUserId instead

§IpAddress: *const i8

Optional 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_ProductUserIdDetails

EOS_ProductUserId Identifier for the remote user