示例#1
0
 public void AddGameFlagInventory(GameFlagInventory i)
 {
     if (gameFlagsHit.Contains(i.flag))
     {
         return;
     }
     baseInventory.AddAll(i.items);
     gameFlagsHit.Add(i.flag);
 }
示例#2
0
 public void AddGameFlagInventory(GameFlagInventory i)
 {
     if (gameFlagsHit.Contains(i.flag))
     {
         return;
     }
     baseInventory.AddAll(i.items.Select(x => x.GetItem()).ToList());
     gameFlagsHit.Add(i.flag);
 }