コード例 #1
0
ファイル: TeammemberEntity.cs プロジェクト: cool8868/H5Nball
 public TeammemberPropertyEntity(DicPlayerEntity 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 DicPlayerEntity Clone()
        {
            DicPlayerEntity entity = new DicPlayerEntity();

            entity.Idx          = this.Idx;
            entity.Name         = this.Name;
            entity.Area         = this.Area;
            entity.AllPosition  = this.AllPosition;
            entity.Position     = this.Position;
            entity.PositionDesc = this.PositionDesc;
            entity.CardLevel    = this.CardLevel;
            entity.KpiLevel     = this.KpiLevel;
            entity.LeagueLevel  = this.LeagueLevel;
            entity.NameEn       = this.NameEn;
            entity.Specific     = this.Specific;
            entity.Kpi          = this.Kpi;
            entity.Capacity     = this.Capacity;
            entity.Speed        = this.Speed;
            entity.Shoot        = this.Shoot;
            entity.FreeKick     = this.FreeKick;
            entity.Balance      = this.Balance;
            entity.Physique     = this.Physique;
            entity.Power        = this.Power;
            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.Bounce       = this.Bounce;
            entity.Club         = this.Club;
            entity.Birthday     = this.Birthday;
            entity.Stature      = this.Stature;
            entity.Weight       = this.Weight;
            entity.Nationality  = this.Nationality;
            entity.Description  = this.Description;
            return(entity);
        }