public static string GetSetForLegendaryItem(LegendaryInfo legendary)
        {
            if (legendary != null && legendary.IsSetItem && !string.IsNullOrEmpty(legendary.ID))
            {
                _itemsToSetMap.TryGetValue(legendary.ID, out var setInfo);
                return(setInfo?.ID);
            }

            return(null);
        }
 public static bool IsGenericLegendary(LegendaryInfo legendaryInfo)
 {
     return(legendaryInfo == GenericLegendaryInfo);
 }
 public static bool TryGetLegendaryInfo(string legendaryID, out LegendaryInfo legendaryInfo)
 {
     return(LegendaryInfo.TryGetValue(legendaryID, out legendaryInfo));
 }