Represents the current configuration/state snapshot of an ER:LC game server.
Signature:
declare class ServerInfo extends BaseExtends: Base
#Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Creates an instance of ServerInfo. |
#Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
'Disabled' | 'Email' | 'Phone/ID' |
Account verification requirements for joining. | ||
|
number[] |
Array of UserIds of server co-owners. | ||
|
number |
The current number of players connected to the server. | ||
|
string |
The join key of the server. | ||
|
number |
The maximum number of players allowed in the server. | ||
|
string |
The name of the server. | ||
|
number |
The UserId of the server owner. | ||
|
number[] |
The queue of players waiting to join the server. | ||
|
boolean |
Whether team balance enforcement is enabled. |
#Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
Patches the ServerInfo instance with new raw data. | ||
|
Compares the current server data with another raw data payload to check if it's identical. | ||
|
Converts this ServerInfo instance back to its raw JSON structure. |