Beispiel #1
0
        public void Clone(ISArmor armor)
        {
            base.Clone(armor);

            _curArmor      = armor._curArmor;
            _maxArmor      = armor._maxArmor;
            _durability    = armor.Durability;
            _maxDurability = armor.MaxDurability;
            _prefab        = armor.Prefab;
            equipmentSlot  = armor.equipmentSlot;
        }
Beispiel #2
0
 public ISArmor(ISArmor armor)
 {
     Clone(armor);
 }
Beispiel #3
0
 public ISArmor(ISArmor armor)
 {
     Clone(armor);
 }
Beispiel #4
0
        public void Clone(ISArmor armor)
        {
            base.Clone(armor);

            _curArmor = armor._curArmor;
            _maxArmor = armor._maxArmor;
            _durability = armor.Durability;
            _maxDurability = armor.MaxDurability;
            _prefab = armor.Prefab;
            equipmentSlot = armor.equipmentSlot;
        }