Esempio n. 1
0
 public override string ToString()
 {
     if (!Modified)
     {
         return(ToStringCache);
     }
     //unlike its parent PoEModData, translation here is done live to allow roll-dependent syntax
     ToStringCache = StatTranslator.TranslateModCraft(this, Quality);
     Modified      = false;
     return(ToStringCache);
 }
Esempio n. 2
0
 public override string ToString()
 {
     if (!Modified)
     {
         return(ToStringCache);
     }
     //unlike its parent PoEModData, translation here is done live to allow roll-dependent syntax
     ToStringCache = StatTranslator.TranslateModCraft(this, Quality);
     if (ToStringCache.Length <= 0)
     {
         ToStringCache = CraftingDatabase.AllMods[SourceData].name;
     }
     Modified = false;
     return(ToStringCache);
 }