示例#1
0
 /**
  * <summary>Adds an inventory item to the Container's contents.</summary>
  * <param name = "_id">The ID number of the InvItem to add</param>
  * <param name = "amount">How many instances of the inventory item to add</param>
  */
 public void Add(int _id, int amount)
 {
     invCollection.Add(new InvInstance(_id, amount));
 }