예제 #1
0
            public InventoryItem GetRealOne()
            {
                var real = new InventoryItem();

                real.quantity      = quantity;
                real.dirty         = dirty;
                real.dirtyQuantity = dirtyQuantity;
                real.data          = data.GetRealOne();
                return(real);
            }
예제 #2
0
            public EquipmentItem GetRealOne()
            {
                var real = new EquipmentItem();

                real.durability = durability;
                //real.dirty = dirty;
                real.bodyIndex = bodyIndex;
                real.slotIndex = slotIndex;
                real.data      = data.GetRealOne();
                return(real);
            }
예제 #3
0
 public void OnAfterDeserialize()
 {
     data = clone.GetRealOne();
 }