Table of Contents

Interface IAccountCreationSystem<TConnection>

Namespace
FishMMO.Server.Core.LoginServer
Assembly
FishMMO.Server.dll

Engine-agnostic public API for account creation system. Handles async account creation with rate limiting and DoS protection.

public interface IAccountCreationSystem<TConnection> : IServerBehaviour, IServerComponent

Type Parameters

TConnection

The transport's connection representation.

Properties

PendingRequestCount

Current number of pending account creation requests in the async queue.

int PendingRequestCount { get; }

Property Value

int

TotalProcessed

Total number of successfully processed account creations since server start.

long TotalProcessed { get; }

Property Value

long

TotalRejected

Total number of rejected requests (rate limited, queue full, validation failed) since server start.

long TotalRejected { get; }

Property Value

long

Methods

TryEnqueueAccountCreation(AccountCreationRequest<TConnection>)

Attempts to enqueue an account creation request for async processing. Returns false immediately if rate limited or queue full.

bool TryEnqueueAccountCreation(AccountCreationRequest<TConnection> request)

Parameters

request AccountCreationRequest<TConnection>

Account creation request data containing encrypted credentials.

Returns

bool

True if queued successfully; false if rejected (rate limited, queue full, etc.).