Table of Contents

Class WorldServerEntity

Namespace
FishMMO.Database.Npgsql.Entities
Assembly
FishMMO-DB.dll

World server registration entity representing an active world server instance.

public class WorldServerEntity : IVersionedEntity
Inheritance
WorldServerEntity
Implements
Inherited Members

Properties

Address

Network address of the world server.

public string Address { get; set; }

Property Value

string

CharacterCount

Current number of characters on this world server.

public int CharacterCount { get; set; }

Property Value

int

ID

Primary key.

public long ID { get; set; }

Property Value

long

LastPulse

Most recent heartbeat / pulse timestamp (UTC) for liveness detection.

public DateTime LastPulse { get; set; }

Property Value

DateTime

Locked

Whether the world server is locked to new connections.

public bool Locked { get; set; }

Property Value

bool

Name

World server display name.

public string Name { get; set; }

Property Value

string

Port

Server port number. Must be in the valid port range 0-65535.

[Range(0, 65535)]
public int Port { get; set; }

Property Value

int

ShutdownAtUtc

When this world stops for maintenance, or null when no shutdown is scheduled.

public DateTime? ShutdownAtUtc { get; set; }

Property Value

DateTime?

Remarks

Read by the world server and by every scene server hosting scenes for this world, so they can warn their players and clear them out on the same deadline. Absolute UTC — see ShutdownAtUtc.

TimeCreated

Row creation timestamp (UTC).

public DateTime TimeCreated { get; set; }

Property Value

DateTime

Version

Concurrency version for optimistic locking.

public long Version { get; set; }

Property Value

long