Change Room Custom Data
Overview
Changes the room custom data.
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.
Example
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 updated
Was this helpful?