◆ OnMessageReceived()

virtual void EdgeMultiplay.NetworkedPlayer.OnMessageReceived ( GamePlayEvent  gamePlayEvent)
virtual

This the Main Callback to call from your PlayerManager to access messages sent from other players.

Called once GamePlayEvent is Received from the server (UDP and WebSocket Messages)

Parameters
gamePlayEventthe received GamePlayEvent