Table of Contents

Interface INamingSystemMappingData

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

Mapping/cache state for the naming system. Stores bounded TTL caches for direct and reverse lookups.

public interface INamingSystemMappingData : IRuntimeDataContainer, IServerComponent

Properties

CharacterIdByNameCache

Reverse cache of character identifiers keyed by lowercase character name.

LastSeenCacheTracker<string, long> CharacterIdByNameCache { get; }

Property Value

LastSeenCacheTracker<string, long>

CharacterMissingByNameCache

Negative reverse-lookup cache keyed by lowercase character name.

LastSeenCacheTracker<string, byte> CharacterMissingByNameCache { get; }

Property Value

LastSeenCacheTracker<string, byte>

CharacterNameByIdCache

Cache of character names keyed by character identifier.

LastSeenCacheTracker<long, string> CharacterNameByIdCache { get; }

Property Value

LastSeenCacheTracker<long, string>

CharacterNameByNameCache

Reverse cache of canonical character names keyed by lowercase character name.

LastSeenCacheTracker<string, string> CharacterNameByNameCache { get; }

Property Value

LastSeenCacheTracker<string, string>

GuildNameByIdCache

Cache of guild names keyed by guild identifier.

LastSeenCacheTracker<long, string> GuildNameByIdCache { get; }

Property Value

LastSeenCacheTracker<long, string>

Methods

SweepAllCaches(DateTime, TimeSpan, int, int)

Sweeps all five caches with identical TTL and scan parameters.

void SweepAllCaches(DateTime nowUtc, TimeSpan ttl, int maxScan, int maxRemove)

Parameters

nowUtc DateTime
ttl TimeSpan
maxScan int
maxRemove int