ChangeRoomCustomData(string, Action<bool, SWLobbyError>) Method
Namespace: SWNetwork.Lobby
Called by room owners to begin an asynchronous operation to change the custom data of their rooms using the specified string.
public void ChangeRoomCustomData(string customData, Action<bool, SWLobbyError> callback)
Parameters | Type | Description |
customData | string | String custom data. |
callback | The method to invoke when the change room custom data operation is complete. |
Called by room owners to begin an asynchronous operation to change the custom data of their rooms using the specified serializable object.
public void ChangeRoomCustomData(object customData, Action<bool, object, SWLobbyError> callback)
Parameters | Type | Description |
customData | object | Serializable object custom data. |
callback | The method to invoke when the change room custom data operation is complete. |