IGameText.ResolveDisplayName method
The label to show for a row, given the name the game (or IGameDataCombat) gave you:
- gameName when it is a real name and the row is not known to be unnamed;
- else the English name (
GetName); - else the English design name (
GetDesignName) — isDesignFallback = true, so you can mark it, e.g. append “ (<id>)“; - else gameName when non-blank, else “Buff <id>” / “Skill <id>”.
Allocates only on the last fallback. Before IsReady this returns step 1 or 4.
public string ResolveDisplayName(GameTextKind kind, int id, string? gameName, out bool isDesignFallback)See Also
Section titled “See Also”- enum GameTextKind
- interface IGameText
- namespace Stellar.Abstractions.Services