EOS API reference page for EOS_AntiCheatClient_OnMessageToPeerCallback

Under 1 min to read

This function is part of the AntiCheatClient Interface.


Callback issued when a new message must be dispatched to a connected peer. Messages contain opaque binary data of up to 256 bytes and must be transmitted to the correct peer using the game's own networking layer, then delivered to the client anti-cheat instance using the EOS_AntiCheatClient_ReceiveMessageFromPeer function. This callback is always issued from within EOS_Platform_Tick on its calling thread.



Parameter Type And NameUsage Information
const EOS_AntiCheatCommon_OnMessageToClientCallbackInfo* Data