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