Class LoginServerRuntimeData
- Namespace
- FishMMO.Server.Implementation.LoginServer
- Assembly
- FishMMO.Server.dll
Runtime data container for login server state, storing the unique server ID.
public class LoginServerRuntimeData : RuntimeDataContainer, IRuntimeDataContainer<INetworkManagerWrapper, ServerManager, NetworkConnection, IRuntimeDataContainer>, IServerComponent<INetworkManagerWrapper, ServerManager, NetworkConnection, IRuntimeDataContainer>, ILoginServerRuntimeData, IRuntimeDataContainer, IServerComponent
- Inheritance
-
LoginServerRuntimeData
- Implements
-
IRuntimeDataContainer<INetworkManagerWrapper, ServerManager, NetworkConnection, IRuntimeDataContainer>
- Inherited Members
Properties
ID
Gets the unique ID of this login server instance.
public long ID { get; set; }
Property Value
Methods
Clear()
Clears the runtime data. Called when resetting state between sessions.
public override void Clear()
EndPulse()
Atomically transitions the pulse gate from in-flight back to idle.
public void EndPulse()
InitializeOnce()
Initializes the runtime data once. Called when the data container is first set up.
public override ServerComponentInitializationStatus InitializeOnce()
Returns
OnDeinitialize()
Deinitializes the runtime data. Called when shutting down the server.
protected override void OnDeinitialize()
TryBeginPulse()
Atomically transitions the pulse gate from idle to in-flight. Returns true if this call won the race; false if a pulse is already in flight.
public bool TryBeginPulse()