Пример #1
0
        public Coach(CoachRecord rec)
        {
            ratings = new CoachRatings();

            this.AGE = rec.Age;
            this.BIGGEST_LOSS_MARGIN = rec.BiggestLossMargin;
            this.CBSZ = rec.BodySize;
            this.BIGGEST_WIN_MARGIN           = rec.BiggestWinMargin;
            this.ratings.CHEMISTRY            = rec.Chemistry;
            this.COACH_ID                     = rec.CoachId;
            this.CONTRACT_LENGTH              = rec.ContractLength;
            this.CAREER_LOSSES                = rec.CareerLosses;
            this.CAREER_LONGEST_LOSING_STREAK = rec.CareerLosingStreak;
            this.PLAYOFF_LOSSES               = rec.PlayoffLosses;
            this.PLAYOFFS_MADE                = rec.PlayoffsMade;
            this.CCPR                      = rec.Ccpr;
            this.PLAYFF_WINS               = rec.PlayoffWins;
            this.CCTC                      = rec.Cctc;
            this.CAREER_TIES               = rec.CareerTies;
            this.CAREER_WINS               = rec.CareerWins;
            this.WINNING_SEASONS           = rec.WinningSeasons;
            this.ratings.DEFENSE           = rec.DefenseRating;
            this.DEFENSIVE_PLAYBOOK        = rec.DefensivePlaybook;
            this.ratings.DEF_AGGR          = rec.DefensiveAggression;
            this.ratings.DEF_STRAT         = rec.DefensiveStrategy;
            this.CDWS                      = rec.Cdws;
            this.ratings.ETHICS            = rec.Ethics;
            this.CFCO                      = rec.cfco;
            this.DRAFT_PLAYER              = rec.CPUDraftPlayer;
            this.SIGN_DRAFT_PICKS          = rec.CPUSignDraftPicks;
            this.CFEX                      = rec.CPUControlled;
            this.SIGN_FREE_AGENTS          = rec.CPUSignFreeAgents;
            this.FILL_ROSTERS              = rec.CPUFillRosters;
            this.CFHL                      = rec.cfhl;
            this.RESIGN_PLAYERS            = rec.CPUResignPlayers;
            this.MANAGE_DEPTH              = rec.CPUManageDepth;
            this.CFSH                      = rec.Cfsh;
            this.USER_CONTROLLED           = rec.UserControlled;
            this.CHAR                      = rec.Char;
            this.HEIGHT                    = rec.height;
            this.HEADHAIR_ID               = rec.HeadHair;
            this.CHSD                      = rec.Chsd;
            this.CHTY                      = rec.Chty;
            this.ratings.KNOWLEDGE         = rec.Knowledge;
            this.LAST_TEAM                 = rec.LastTeam;
            this.NAME                      = rec.Name;
            this.CLTF                      = rec.LastTeamFranchise;
            this.CLTR                      = rec.LastTeamRelocated;
            this.ratings.MOTIVATION        = rec.Motivation;
            this.COAP                      = rec.Coap;
            this.COCI                      = rec.Coci;
            this.COCT                      = rec.Coct;
            this.CODA                      = rec.Coda;
            this.CODP                      = rec.Codp;
            this.COEX                      = rec.Coex;
            this.COFA                      = rec.Cofa;
            this.ratings.OFFENSE           = rec.Offense;
            this.COFR                      = rec.Cofr;
            this.COPL                      = rec.Copl;
            this.POSITION                  = rec.Position;
            this.CORP                      = rec.Corp;
            this.CORR                      = rec.Corr;
            this.ratings.OFF_AGGR          = rec.DefensiveAggression;
            this.ratings.OFF_STRAT         = rec.OffensiveStrategy;
            this.COACH_OF_THE_YEAR         = rec.CoachOfTheYear;
            this.CPAG                      = rec.Cpag;
            this.OFFENSE_PLAYBOOK_ID       = OFFENSE_PLAYBOOK_ID;
            this.FaceID                    = rec.FaceId;
            this.CPWS                      = rec.PlayoffWinStreak;
            this.APPROVAL_RATING           = rec.ApprovalRating;
            this.ratings.RB_CARRY_DIST     = rec.RBCarryDist;
            this.ratings.DB_RATING         = rec.CoachDB;
            this.ratings.DL_RATING         = rec.CoachDL;
            this.ratings.KICK_RATING       = rec.KickerRating;
            this.ratings.LB_RATING         = rec.CoachLB;
            this.ratings.OL_RATING         = rec.CoachOL;
            this.ratings.PUNT_RATING       = rec.PuntRating;
            this.ratings.QB_RATING         = rec.CoachQB;
            this.ratings.RB_RATING         = rec.CoachRB;
            this.ratings.S_RATING          = rec.CoachSafety;
            this.ratings.WR_RATING         = rec.CoachWR;
            this.CRWS                      = rec.Crws;
            this.CRYL                      = rec.Cryl;
            this.SALARY                    = rec.Salary;
            this.SUPERBOWL_LOSES           = rec.SuperBowlLoses;
            this.CSBS                      = rec.SuperBowlStreak;
            this.SUPERBOWL_WINS            = rec.SuperBowlWins;
            this.SKIN_COLOR                = rec.SkinColor;
            this.CSLM                      = rec.Cslm;
            this.SEASON_LOSSES             = rec.SeasonLosses;
            this.CSLS                      = rec.Csls;
            this.CSPA                      = rec.Cspa;
            this.CSPC                      = rec.Cspc;
            this.CSPF                      = rec.Cspf;
            this.SEASON_TIES               = rec.SeasonTies;
            this.SEASON_WINS               = rec.SeasonWins;
            this.SEASON_BIGGEST_WIN_MARGIN = rec.SeasonBigWin;
            this.SEASON_WINNING_STREAK     = rec.SeasonWinStreak;
            this.PORTRAIT                  = rec.Coachpic;
            this.COACH_GLASSES             = rec.CoachGlasses;
            this.CTHG                      = rec.Cthg;
            this.CWPL                      = rec.WasPlayer;
            this.CWST                      = rec.Cwst;
            this.CWWS                      = rec.Cwws;
            this.TEAM_ID                   = rec.TeamId;
        }
Пример #2
0
 public Owner()
 {
     ratings = new CoachRatings();
 }
Пример #3
0
        public int TEAM_ID                   = 0;       //  "TGID";

        #endregion
        #endregion

        public Coach()
        {
            ratings = new CoachRatings();
        }