ChangeRoomSettings(int, int, Action<bool, SWLobbyError>) Method

Namespace: SWNetwork.Lobby

Called by room owners to begin an asynchronous operation to change the settings of their rooms using the specified playerTimeToLive and isPrivate.

Declaration

public void ChangeRoomSettings(int playerTimeToLive, bool isPrivate, Action<bool, SWLobbyError> callback)

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, SWLobbyError>

The method to invoke when the change room settings operation is complete.

Last updated