MessagePlayer(string, string, Action<bool, SWLobbyError>) Method
Namespace: SWNetwork.Lobby
Last updated
Namespace: SWNetwork.Lobby
Last updated
Called by players to begin an asynchronous operation to send message to another player using the specified targetPlayerId and string messageData.
Called by players to begin an asynchronous operation to send message to another player using the specified targetPlayerId and serializable object messageData.
Parameters
Type
Description
targetPlayerId
string
ID of the player to receive the message.
messageData
string
String message data.
callback
Action<bool, SWLobbyError>
The method to invoke when the message player operation is complete.
Parameters
Type
Description
targetPlayerId
string
ID of the player to receive the message.
messageData
object
Serializable object message data.
callback
Action<bool, SWLobbyError>
The method to invoke when the message player operation is complete.