Change Room Custom Data
Changes the room custom data.
Only the room owners can change the custom data of their rooms.
Methods | |
Called by room owners to begin an asynchronous operation to change the custom data of their rooms using the specified string. | |
Called by room owners to begin an asynchronous operation to change the custom data of their rooms using the specified serializable object. |
Class | |
The error that occurred when a lobby API operation failed. |
NetworkClient.Lobby.ChangeRoomCustomData("New room name", (bool successful, SWLobbyError error) =>{
if (successful) {
Debug.Log("Changed room custom data.");
}
else {
Debug.Log("Failed to change room custom data " + error);
}
});
Last modified 3yr ago