示例#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;
 }