Register(Action<bool, SWRegisterReply, SWLobbyError>) Method
Namespace: SWNetwork.Lobby
Last updated
Namespace: SWNetwork.Lobby
Last updated
Called by players to begin an asynchronous operation to register to the Lobby.
Called by players to begin an asynchronous operation to register to the Lobby using the specified string as custom data.
Called by players to begin an asynchronous operation to register to the Lobby using the specified object as custom data.
Parameters
Type
Description
callback
Action<bool, SWRegisterReply, SWLobbyError>
The method to invoke when the registration operation is complete.
Parameters
Type
Description
customData
string
The string used as the player's custom data.
callback
Action<bool, SWRegisterReply, SWLobbyError>
The method to invoke when the registration operation is complete.
Parameters
Type
Description
customData
object
The serializable object used as the player's custom data.
callback
Action<bool, SWRegisterReply, SWLobbyError>
The method to invoke when the registration operation is complete.