SWPlayer Class

Namespace: SWNetwork.Lobby

The data model of a player.

Declaration

public class SWPlayer

Properties

Type

Description

id

string

ID of the player.

data

string

player custom data in string format.

Methods

Description

GetCustomDataString()

Gets the player custom data in string format.

GetCustomData<T>()

Gets the deserialized player custom data.

Last updated