예제 #1
0
 public static void AddItem(string template)
 {
     Player.MainInventory.Add(ItemFactory.GetItem(template));
 }
예제 #2
0
 public static void AddItem(string template)
 {
     World.Get <ContainerSystem>().TryAdd(Player.MainInventory, ItemFactory.GetItem(template));
 }