Table of Contents

Class AccountCreationSystemRuntimeData

Namespace
FishMMO.Server.Implementation.LoginServer
Assembly
FishMMO.Server.dll

Runtime statistics and worker tracking for account creation system. Tracks performance metrics and worker lifecycle state. Counter fields use Interlocked for thread-safe increments from async workers.

public class AccountCreationSystemRuntimeData : RuntimeDataContainer, IRuntimeDataContainer<INetworkManagerWrapper, ServerManager, NetworkConnection, IRuntimeDataContainer>, IServerComponent<INetworkManagerWrapper, ServerManager, NetworkConnection, IRuntimeDataContainer>, IAccountCreationSystemRuntimeData, IRuntimeDataContainer, IServerComponent
Inheritance
AccountCreationSystemRuntimeData
Implements
Inherited Members

Properties

CleanupTimer

Timer accumulator for periodic mapping data cleanup.

public float CleanupTimer { get; set; }

Property Value

float

ConnectionEncryptionCache

Per-connection encryption-data cache used by account-creation ingress validation.

public LastSeenCacheTracker<int, ConnectionEncryptionData> ConnectionEncryptionCache { get; }

Property Value

LastSeenCacheTracker<int, ConnectionEncryptionData>

ConnectionIpCache

Per-connection IP cache used by account-creation ingress validation.

public LastSeenCacheTracker<int, string> ConnectionIpCache { get; }

Property Value

LastSeenCacheTracker<int, string>

TotalFailed

Total number of failed account creations (errors).

public long TotalFailed { get; }

Property Value

long

TotalProcessed

Total number of successfully processed account creations.

public long TotalProcessed { get; }

Property Value

long

TotalRejected

Total number of rejected account creation requests.

public long TotalRejected { get; }

Property Value

long

Methods

Clear()

Clears all runtime statistics and worker references.

public override void Clear()

IncrementFailed()

Atomically increments the failed counter.

public void IncrementFailed()

IncrementProcessed()

Atomically increments the processed counter.

public void IncrementProcessed()

IncrementRejected()

Atomically increments the rejected counter.

public void IncrementRejected()

InitializeOnce()

Initializes the runtime data container with zero counters.

public override ServerComponentInitializationStatus InitializeOnce()

Returns

ServerComponentInitializationStatus

OnDeinitialize()

Deinitializes the runtime data container.

protected override void OnDeinitialize()