Table of Contents

Class SceneServerEntity

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

Scene server registration entity representing an active scene server instance.

public class SceneServerEntity : IVersionedEntity
Inheritance
SceneServerEntity
Implements
Inherited Members

Properties

Address

Network address of the scene server.

public string Address { get; set; }

Property Value

string

CharacterCount

Current number of characters hosted by this scene 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 scene server is locked to new connections.

public bool Locked { get; set; }

Property Value

bool

Name

Scene 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 scene server stops, or null when no shutdown is scheduled. Absolute UTC — see ShutdownAtUtc.

public DateTime? ShutdownAtUtc { get; set; }

Property Value

DateTime?

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