Constructor
new SessionData(json)
Parameters:
Name | Type | Description |
---|---|---|
json |
String | string representation of this object (passed along connection as user data) |
- Source:
Classes
Members
clientId :number
Client id, long
Type:
- number
- Source:
name :string
Session name, matches either world name for public world, or world token for private world
Type:
- string
- Source:
type :string
Session type - 'main' or 'screen'
Type:
- string
- Source: