예제 #1
0
 public IntModification(InventoryItemPropertyEnum property,
                        int min,
                        int max)
 {
     _property = (short)property;
     _max      = max;
     _min      = min;
 }
예제 #2
0
 public InventoryItemProperty GetProperty(InventoryItemPropertyEnum prop)
 {
     return(_properties.ContainsKey((short)prop) ? _properties[(short)prop] : null);
 }