Interface EOS_AntiCheatClient_OnMessageToPeerCallback

All Superinterfaces:
com.sun.jna.Callback

public interface EOS_AntiCheatClient_OnMessageToPeerCallback extends com.sun.jna.Callback
Callback issued when a new message must be dispatched to a connected peer.

Messages contain opaque binary data 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. The upper limit of the message size is EOS_Defines.EOS_ANTICHEATCLIENT_ONMESSAGETOPEERCALLBACK_MAX_MESSAGE_SIZE.

This callback is always issued from within EOS_Platform_Tick on its calling thread.

Since:
8/15/2023
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.sun.jna.Callback

    com.sun.jna.Callback.UncaughtExceptionHandler
  • Field Summary

    Fields inherited from interface com.sun.jna.Callback

    FORBIDDEN_NAMES, METHOD_NAME
  • Method Summary

    Modifier and Type
    Method
    Description
    void