示例#1
0
 public TeammemberPropertyEntity(TeammemberEntity entity)
 {
     this.Speed        = entity.Speed;
     this.Shoot        = entity.Shoot;
     this.FreeKick     = entity.FreeKick;
     this.Balance      = entity.Balance;
     this.Physique     = entity.Physique;
     this.Bounce       = entity.Bounce;
     this.Aggression   = entity.Aggression;
     this.Disturb      = entity.Disturb;
     this.Interception = entity.Interception;
     this.Dribble      = entity.Dribble;
     this.Pass         = entity.Pass;
     this.Mentality    = entity.Mentality;
     this.Response     = entity.Response;
     this.Positioning  = entity.Positioning;
     this.HandControl  = entity.HandControl;
 }
示例#2
0
        public TeammemberEntity Clone()
        {
            TeammemberEntity entity = new TeammemberEntity();

            entity.Idx             = this.Idx;
            entity.ManagerId       = this.ManagerId;
            entity.PlayerId        = this.PlayerId;
            entity.Level           = this.Level;
            entity.UsedProperty    = this.UsedProperty;
            entity.Speed           = this.Speed;
            entity.Shoot           = this.Shoot;
            entity.FreeKick        = this.FreeKick;
            entity.Balance         = this.Balance;
            entity.Physique        = this.Physique;
            entity.Bounce          = this.Bounce;
            entity.Aggression      = this.Aggression;
            entity.Disturb         = this.Disturb;
            entity.Interception    = this.Interception;
            entity.Dribble         = this.Dribble;
            entity.Pass            = this.Pass;
            entity.Mentality       = this.Mentality;
            entity.Response        = this.Response;
            entity.Positioning     = this.Positioning;
            entity.HandControl     = this.HandControl;
            entity.Acceleration    = this.Acceleration;
            entity.UsedPlayerCard  = this.UsedPlayerCard;
            entity.UsedEquipment   = this.UsedEquipment;
            entity.Status          = this.Status;
            entity.RowTime         = this.RowTime;
            entity.IsCopyed        = this.IsCopyed;
            entity.IsInherited     = this.IsInherited;
            entity.UsedBadge       = this.UsedBadge;
            entity.ArousalLv       = this.ArousalLv;
            entity.UsedClubClothes = this.UsedClubClothes;
            entity.StrengthenLevel = this.StrengthenLevel;
            entity.Power           = this.Power;
            return(entity);
        }