Exemple #1
0
 public static float?GetAgingMultiplierForItem(CustomAger customAger, Item ageable)
 {
     if (customAger.AgingDataId.ContainsKey(ageable.ParentSheetIndex))
     {
         return(customAger.AgingDataId[ageable.ParentSheetIndex]);
     }
     else if (customAger.AgingDataId.ContainsKey(ageable.Category))
     {
         return(customAger.AgingDataId[ageable.Category]);
     }
     return(null);
 }
Exemple #2
0
 public static void SetAger(CustomAger ager)
 {
     AgerData[ager.Name] = ager;
 }