Table of Contents

Interface ISceneChannelSystemRuntimeData

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

Runtime data contract for the SceneChannelSystem. Stores all mutable state: ingress guard, per-connection cooldowns, and cleanup timers.

public interface ISceneChannelSystemRuntimeData : IRuntimeDataContainer, IServerComponent

Properties

ChannelSwitchCooldownByClientId

Per-connection channel switch cooldown tracker. Maps client connection ID to when it last attempted a channel switch, in seconds on MonotonicClock.

Dictionary<int, double> ChannelSwitchCooldownByClientId { get; }

Property Value

Dictionary<int, double>

Remarks

A duration's start, so not a wall-clock instant: a host clock stepped back would hold every entry inside its cooldown until the clock caught up.

IngressGuard

Per-connection, per-operation ingress guard for DoS protection on channel broadcasts.

IngressGuard IngressGuard { get; }

Property Value

IngressGuard

NextCooldownCleanup

Time remaining (in seconds) until the next cooldown dictionary cleanup sweep.

float NextCooldownCleanup { get; set; }

Property Value

float