Class SharedConfig
Constant values for both the client and server
Inheritance
Inherited Members
Namespace: Engine.Configuration
Assembly: Engine.Configuration.dll
Syntax
public class SharedConfig
Fields
CHUNK_LOAD_VIEW_DISTANCE
How close to a chunk position you need to be for it to load
Declaration
public static readonly int CHUNK_LOAD_VIEW_DISTANCE
Field Value
| Type | Description |
|---|---|
| System.Int32 |
CHUNK_UNLOAD_VIEW_DISTANCE
How far from a chunk position before it unloads
Declaration
public static readonly int CHUNK_UNLOAD_VIEW_DISTANCE
Field Value
| Type | Description |
|---|---|
| System.Int32 |
CLIENT_SCENE_PATH
Location of the client scene
Declaration
public static readonly string CLIENT_SCENE_PATH
Field Value
| Type | Description |
|---|---|
| System.String |
DELIMITER
The byte sequence to signify the end of a packet
Declaration
public static readonly byte DELIMITER
Field Value
| Type | Description |
|---|---|
| System.Byte |
ESCAPE
The byte sequence to signify escaping the next byte
Declaration
public static readonly byte ESCAPE
Field Value
| Type | Description |
|---|---|
| System.Byte |
KEEP_ALIVE_PACKET_INTERVAL_IN_MILLISECONDS
How often to send the keep alive packet to maintain connection
Declaration
public static readonly int KEEP_ALIVE_PACKET_INTERVAL_IN_MILLISECONDS
Field Value
| Type | Description |
|---|---|
| System.Int32 |
LOGIN_SCENE_PATH
Location of the login scene
Declaration
public static readonly string LOGIN_SCENE_PATH
Field Value
| Type | Description |
|---|---|
| System.String |
MAX_BUFFER_SIZE
Max size for the network buffer
Declaration
public static readonly int MAX_BUFFER_SIZE
Field Value
| Type | Description |
|---|---|
| System.Int32 |
MAX_PASSWORD_LENGTH
Max length for passwords
Declaration
public static readonly int MAX_PASSWORD_LENGTH
Field Value
| Type | Description |
|---|---|
| System.Int32 |
MAX_USERNAME_LENGTH
Max length for usernames
Declaration
public static readonly int MAX_USERNAME_LENGTH
Field Value
| Type | Description |
|---|---|
| System.Int32 |
NEARBY_PLAYERS_CHECK_INTERVAL_IN_MILLISECONDS
How often to check for nearby players
Declaration
public static readonly int NEARBY_PLAYERS_CHECK_INTERVAL_IN_MILLISECONDS
Field Value
| Type | Description |
|---|---|
| System.Int32 |
NEARBY_PLAYERS_DISTANCE
How far you can see players nearby
Declaration
public static readonly int NEARBY_PLAYERS_DISTANCE
Field Value
| Type | Description |
|---|---|
| System.Int32 |
NEARBY_PLAYERS_TRANSFORM_UPDATE_INTERVAL_IN_MILLISECONDS
How often to send a transform update packet for nearby players
Declaration
public static readonly int NEARBY_PLAYERS_TRANSFORM_UPDATE_INTERVAL_IN_MILLISECONDS
Field Value
| Type | Description |
|---|---|
| System.Int32 |
PLAYERS_LAYER_NAME
The layer name for players
Declaration
public static readonly string PLAYERS_LAYER_NAME
Field Value
| Type | Description |
|---|---|
| System.String |
PORT
The server port
Declaration
public static readonly ushort PORT
Field Value
| Type | Description |
|---|---|
| System.UInt16 |
SERVER_SCENE_PATH
Location of the server scene
Declaration
public static readonly string SERVER_SCENE_PATH
Field Value
| Type | Description |
|---|---|
| System.String |
TRANSFORM_UPDATE_INTERVAL_IN_MILLISECONDS
How often to send a transform update packet
Declaration
public static readonly int TRANSFORM_UPDATE_INTERVAL_IN_MILLISECONDS
Field Value
| Type | Description |
|---|---|
| System.Int32 |
VOLUMES_LAYER_NAME
The layer name for volumes
Declaration
public static readonly string VOLUMES_LAYER_NAME
Field Value
| Type | Description |
|---|---|
| System.String |
WORLD_CHUNK_MAX_HEIGHT
The maximum height of the world chunk
Declaration
public static readonly int WORLD_CHUNK_MAX_HEIGHT
Field Value
| Type | Description |
|---|---|
| System.Int32 |
WORLD_CHUNK_SIZE
The size of the world chunks
Declaration
public static readonly int WORLD_CHUNK_SIZE
Field Value
| Type | Description |
|---|---|
| System.Int32 |
WORLD_SCENES_FOLDER
Location of the world scenes
Declaration
public static readonly string WORLD_SCENES_FOLDER
Field Value
| Type | Description |
|---|---|
| System.String |