Esempio n. 1
0
 public WrapperItemStats?GetItemStats(int itemID, int itemContext)
 {
     if (this.m_records.ContainsKey(itemID))
     {
         return(new WrapperItemStats?(this.m_records[itemID]));
     }
     LegionCompanionWrapper.GetItemTooltipInfo(itemID, itemContext);
     return(null);
 }
Esempio n. 2
0
 public WrapperItemStats?GetItemStats(int itemID, int itemContext, WrapperItemInstance?itemInstance)
 {
     if (this.m_records.ContainsKey(itemID))
     {
         if (this.IsCoverItem(itemID))
         {
             LegionCompanionWrapper.GetItemTooltipInfo(itemID, itemContext, itemInstance);
         }
         return(new WrapperItemStats?(this.m_records[itemID]));
     }
     LegionCompanionWrapper.GetItemTooltipInfo(itemID, itemContext, itemInstance);
     return(null);
 }