Class WorldServerSystemRuntimeData
- Namespace
- FishMMO.Server.Implementation.World.WorldServer
- Assembly
- FishMMO.Server.dll
Runtime data container for world server instance state. Manages world server ID and lock status separately from WorldServerSystem logic.
public class WorldServerSystemRuntimeData : RuntimeDataContainer, IRuntimeDataContainer<INetworkManagerWrapper, ServerManager, NetworkConnection, IRuntimeDataContainer>, IServerComponent<INetworkManagerWrapper, ServerManager, NetworkConnection, IRuntimeDataContainer>, IWorldServerSystemRuntimeData, IRuntimeDataContainer, IServerComponent
- Inheritance
-
WorldServerSystemRuntimeData
- Implements
-
IRuntimeDataContainer<INetworkManagerWrapper, ServerManager, NetworkConnection, IRuntimeDataContainer>
- Inherited Members
Properties
ID
Database ID for this world server instance.
public long ID { get; set; }
Property Value
IsLocked
Indicates whether the world server is locked (not accepting new connections).
public bool IsLocked { get; set; }
Property Value
ShutdownAtUtc
When this world stops, or null when no shutdown is scheduled.
public 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.
Methods
Clear()
Clears the world server state.
public override void Clear()
InitializeOnce()
Initializes the world server runtime data container.
public override ServerComponentInitializationStatus InitializeOnce()
Returns
OnDeinitialize()
Deinitializes the world server runtime data container.
protected override void OnDeinitialize()