Struct PendingSceneInfo
- Namespace
- FishMMO.Server.Core.World.SceneServer
- Assembly
- FishMMO.Server.dll
Combines a pending scene load request with its enqueue timestamp, 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, DateTime)
Initializes a new pending scene info with the given scene data and enqueue timestamp.
public PendingSceneInfo(SceneData sceneData, DateTime enqueuedUtc)
Parameters
sceneDataSceneDataThe database scene data for this pending load request.
enqueuedUtcDateTimeUTC timestamp when this request was enqueued.
Fields
EnqueuedUtc
UTC timestamp when this request was enqueued, used for TTL expiration.
public readonly DateTime EnqueuedUtc
Field Value
SceneData
The database scene data for this pending load request.
public readonly SceneData SceneData