Пример #1
0
 public InventoryItem(ItemListDefinition itemListDefinition, ItemDefinition itemDefinition, int amount)
 {
     m_ItemListDefinition = itemListDefinition;
     m_ItemDefinition     = itemDefinition;
     m_Amount             = amount;
 }
Пример #2
0
 public InventoryItem(ItemListDefinition itemListDefinition)
 {
     m_ItemListDefinition = itemListDefinition;
     m_ItemDefinition     = null;
     m_Amount             = 0;
 }