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