ChangeRoomSettings(int, int, Action<bool, SWLobbyError>) Method
Namespace: SWNetwork.Lobby
PreviousCreateRoom(bool, int, Action<bool, string, SWLobbyError>) MethodNextGetRooms(int, int, Action<bool, SWGetRoomReply, SWLobbyError>) Method
Last updated
Namespace: SWNetwork.Lobby
Last updated
Called by room owners to begin an asynchronous operation to change the settings of their rooms using the specified playerTimeToLive and isPrivate.
Parameters
Type
Description
playerTimeToLive
int
The maximum amount of time a player can stay inactive before been removed from the room.
isPrivate
bool
Indicates whether the room is private.
callback
Action<bool, >
The method to invoke when the change room settings operation is complete.