Exemple #1
0
 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;
 }
Exemple #2
0
 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;
 }
Exemple #3
0
 public void AddItem( int pid, int min, int max = -1, BagItemLocation location = BagItemLocation.Inventory )
 {
 }
Exemple #4
0
 public void AddItem(int pid, int min, int max = -1, BagItemLocation location = BagItemLocation.Inventory)
 {
 }