Use typed catalog keys for faction lookups

This commit is contained in:
Meta Vens 2026-06-15 17:25:40 +01:00
commit 7f87373886
13 changed files with 182 additions and 40 deletions

View file

@ -15,6 +15,11 @@ public sealed class AetheriaNameFile
[CultIndex("legacyId")]
public string LegacyId { get; set; } = "";
[IgnoreMember]
public string NameFileKey => string.IsNullOrWhiteSpace(LegacyId)
? ""
: $"aetheria.name_file:legacy:{LegacyId}";
[Key(2)]
public int NameCount { get; set; }