public BagItem(int pid, int min, int max = -1, BagItemLocation location = BagItemLocation.Inventory) { Pid = pid; AmountMinimum = min; if (max < 0 || max < min) { AmountMaximum = AmountMinimum; } Location = location; }
public BagItem( int pid, int min, int max = -1, BagItemLocation location = BagItemLocation.Inventory ) { Pid = pid; AmountMinimum = min; if( max < 0 || max < min ) AmountMaximum = AmountMinimum; Location = location; }
public void AddItem( int pid, int min, int max = -1, BagItemLocation location = BagItemLocation.Inventory ) { }
public void AddItem(int pid, int min, int max = -1, BagItemLocation location = BagItemLocation.Inventory) { }