Example #1
0
 public void CreateItem(InventorySlotData slotData)
 {
     SlotItem.Create(slotData);
     if (Inventory != null && Inventory.Configuration == InventoryConfiguration.RaidInventory)
     {
         UpdateState();
     }
 }
Example #2
0
 public void CreateItem(string itemType, string itemId, int amount)
 {
     SlotItem.gameObject.SetActive(true);
     SlotItem.Create(itemType, itemId, amount);
     if (Inventory != null && Inventory.Configuration == InventoryConfiguration.RaidInventory)
     {
         UpdateState();
     }
 }
Example #3
0
 public void CreateItem(Trinket trinket)
 {
     SlotItem.gameObject.SetActive(true);
     SlotItem.Create(trinket);
     if (Inventory != null && Inventory.Configuration == InventoryConfiguration.RaidInventory)
     {
         UpdateState();
     }
 }
 public void CreateItem(ItemDefinition itemDefinition)
 {
     SlotItem.gameObject.SetActive(true);
     SlotItem.Create(itemDefinition.Type, itemDefinition.Id, itemDefinition.Amount);
     if (Inventory != null && Inventory.Configuration == InventoryConfiguration.RaidInventory)
     {
         UpdateState();
     }
 }