Table of Contents

Struct PendingSceneInfo

Namespace
FishMMO.Server.Core.World.SceneServer
Assembly
FishMMO.Server.dll

Combines a pending scene load request with its enqueue time, eliminating the need for separate synchronized dictionaries. Previously PendingScenes (SceneData) and PendingSceneEnqueueUtcBySceneId (DateTime) were tracked in two separate maps, creating a dual-map sync risk.

public readonly struct PendingSceneInfo
Inherited Members

Constructors

PendingSceneInfo(SceneData, double, double)

Initializes a new pending scene info.

public PendingSceneInfo(SceneData sceneData, double enqueuedAt, double rowCreatedAt)

Parameters

sceneData SceneData

The database scene data for this pending load request.

enqueuedAt double

Monotonic time at which this request was taken on.

rowCreatedAt double

Monotonic time at which the scene row was created.

Fields

EnqueuedAt

When this request was taken on, in seconds on MonotonicClock. Bounds how long the load may take.

public readonly double EnqueuedAt

Field Value

double

RowCreatedAt

When the scene row was created, in seconds on MonotonicClock. Carried to the loaded instance as CreatedAt.

public readonly double RowCreatedAt

Field Value

double

SceneData

The database scene data for this pending load request.

public readonly SceneData SceneData

Field Value

SceneData