Fix mail item name issue

This commit is contained in:
2022-10-28 22:31:46 +08:00
parent 97bc9d8f6a
commit 2a3100c822
2 changed files with 10 additions and 4 deletions

View File

@@ -60,8 +60,9 @@ namespace GrasscutterTools.Game
public int Count => Ids.Length;
public string this[int id] => IdMap.TryGetValue(id, out string name) ? name : "???";
public string this[int id] => IdMap.TryGetValue(id, out string name) ? name : EmptyName;
public static string EmptyName = "???";
//public int this[string name] => NameMap[name];
public int[] Ids { get; }