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.

Declaration

public void ChangeRoomCustomData(string customData, Action<bool, SWLobbyError> callback)

Parameters

Type

Description

customData

string

String custom data.

callback

Action<bool, SWLobbyError>

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

Overloads

ChangeRoomCustomData(object, Action<bool, SWLobbyError>) Method

Called by room owners to begin an asynchronous operation to change the custom data of their rooms using the specified serializable object.

Declaration

public void ChangeRoomCustomData(object customData, Action<bool, object, SWLobbyError> callback)

Parameters

Type

Description

customData

object

Serializable object custom data.

callback

Action<bool, SWLobbyError>

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

Last updated