Interface IWorldSceneMappingData<TConnection>
- Namespace
- FishMMO.Server.Core.World.WorldServer
- Assembly
- FishMMO.Server.dll
Runtime data container for world scene connection queuing and scene assignment. Provides read-only access to connection queue collections.
public interface IWorldSceneMappingData<TConnection> : IRuntimeDataContainer, IServerComponent
Type Parameters
TConnection
Properties
ConnectionCount
Total number of connections managed by this system (waiting + active).
int ConnectionCount { get; set; }
Property Value
InstanceConnectionScenes
Maps connections to the instance scene ID they are waiting for.
Dictionary<TConnection, long> InstanceConnectionScenes { get; }
Property Value
- Dictionary<TConnection, long>
OpenWorldConnectionScenes
Maps connections to the open world scene name they are waiting for.
Dictionary<TConnection, string> OpenWorldConnectionScenes { get; }
Property Value
- Dictionary<TConnection, string>
WaitingInstanceConnections
Connections waiting for an instanced scene to finish loading, mapped by instance ID.
Dictionary<long, HashSet<TConnection>> WaitingInstanceConnections { get; }
Property Value
- Dictionary<long, HashSet<TConnection>>
WaitingOpenWorldConnections
Connections waiting for an open world scene to finish loading, mapped by scene name.
Dictionary<string, HashSet<TConnection>> WaitingOpenWorldConnections { get; }
Property Value
- Dictionary<string, HashSet<TConnection>>