コード例 #1
0
 public new void Add(invt::Item item)
 {
     if (item.GetType().IsSubclassOf(typeof(invt::Backpack)))
     {
         Player.holdall = (invt::IItemSet)item;
     }
     else if (items.Count >= lim)
     {
         Terminal.Log("Your hands are full.", Formats.Command);
     }
     else
     {
         base.Add(item);
     }
 }