SWRoom Class

Namespace: SWNetwork.Lobby

The data model of a room.

Declaration

public class SWRoom

Properties

Type

Description

id

string

ID of the room.

data

string

room custom data in string format.

Methods

Description

GetCustomDataString()

Gets the room custom data in string format.

GetCustomData<T>()

Gets the deserialized room custom data.

Last updated