Пример #1
0
 public Weapon(EquipmentBaseViewModel from)
     : base(from)
 {
     this.Color    = from.Color;
     this.Scale    = from.Scale;
     this.ModelSet = from.ModelSet;
 }
Пример #2
0
            public override void Write(EquipmentBaseViewModel to)
            {
                to.Color    = this.Color;
                to.Scale    = this.Scale;
                to.ModelSet = this.ModelSet;

                base.Write(to);
            }
Пример #3
0
            public override void Read(EquipmentBaseViewModel from)
            {
                this.Color    = from.Color;
                this.Scale    = from.Scale;
                this.ModelSet = from.ModelSet;

                base.Read(from);
            }
Пример #4
0
 public virtual void Write(EquipmentBaseViewModel to)
 {
     to.ModelBase    = this.ModelBase;
     to.ModelVariant = this.ModelVariant;
     to.DyeId        = this.DyeId;
 }
Пример #5
0
 public Item(EquipmentBaseViewModel from)
 {
     this.ModelBase    = from.ModelBase;
     this.ModelVariant = from.ModelVariant;
     this.DyeId        = from.DyeId;
 }
Пример #6
0
 public virtual void Read(EquipmentBaseViewModel from)
 {
     this.ModelBase    = from.ModelBase;
     this.ModelVariant = from.ModelVariant;
     this.DyeId        = from.DyeId;
 }