Interface IWorldServerSystemRuntimeData
- Namespace
- FishMMO.Server.Core.World.WorldServer
- Assembly
- FishMMO.Server.dll
Runtime data container for world server instance state. Tracks world server ID and lock status.
public interface IWorldServerSystemRuntimeData : IRuntimeDataContainer, IServerComponent
Properties
ID
Database ID for this world server instance.
long ID { get; set; }
Property Value
IsLocked
Indicates whether the world server is locked (not accepting new connections).
bool IsLocked { get; set; }
Property Value
Remarks
Adopted from the database row on every pulse rather than owned here; the row is what an operator sets. A locked world still admits accounts above Player, so locking it for maintenance does not lock out the people doing the maintenance.
ShutdownAtUtc
When this world stops, or null when no shutdown is scheduled.
DateTime? ShutdownAtUtc { get; set; }
Property Value
Remarks
Also adopted from the row on every pulse, so a shutdown scheduled from anywhere — an
in-game /admin shutdown, the Discord bot, psql — reaches this process within
one pulse. Absolute UTC so every process serving this world counts down to the same
instant.