public static string GetGameDescription(TweakDbId tdbid) { if (tdbid == null) { return("<null>"); } return(TweakDbResolver?.GetGameDescription(tdbid) ?? ""); }
public static string GetName(TweakDbId tdbid) { if (tdbid == null) { return("<null>"); } return(TweakDbResolver?.GetName(tdbid) ?? $"Unknown_{tdbid}"); }
public static string GetGameDescription(TweakDbId tdbid) { if (tdbid == null) { return("<null>"); } if (_items.ContainsKey(tdbid.Raw64)) { return(_items[tdbid.Raw64].GameDescription); } return($""); }
public static string GetName(TweakDbId tdbid) { if (tdbid == null) { return("<null>"); } if (_items.ContainsKey(tdbid.Raw64)) { return(_items[tdbid.Raw64].Name); } return($"Unknown_{tdbid}"); }