public string GetName() { if (ItemHelper.TryGetGroup(GroupId, out ItemGroup group)) { return($"{group.Prefix}{Name}"); } return(Name ?? Id); }
public string GetIcon() { if (Check.NotNull(Icon)) { return(Icon); } if (ItemHelper.TryGetGroup(GroupId, out ItemGroup group)) { return(group.Icon?.ToString() ?? ""); } return(Icon ?? ""); }
public string GetSummary() { if (Check.NotNull(Summary)) { return(Summary); } if (ItemHelper.TryGetGroup(GroupId, out ItemGroup group)) { return(group.Summary); } return(Summary); }