Ejemplo n.º 1
0
        /**
         * <summary>Combines the item with another.</summary>
         * <param name = "otherItemID">The ID number of the inventory item to combine with</param>
         */
        public void CombineWithItem(int otherItemID)
        {
            InvInstance newInstance = new InvInstance(this);

            newInstance.Combine(new InvInstance(otherItemID));
        }
Ejemplo n.º 2
0
        /**
         * <summary>Combines the item with another.</summary>
         * <param name = "otherItem">The inventory item to combine with</param>
         */
        public void CombineWithItem(InvItem otherItem)
        {
            InvInstance newInstance = new InvInstance(this);

            newInstance.Combine(new InvInstance(otherItem));
        }
Ejemplo n.º 3
0
        /**
         * <summary>Combines the item with itself. This is normally only available when combining items via Hotspot-based InventoryBox elements, but this allows it to be enforced.</summary>
         */
        public void CombineWithSelf()
        {
            InvInstance newInstance = new InvInstance(this);

            newInstance.Combine(newInstance, true);
        }