コード例 #1
0
        public void Initialise()
        {
            Name = NameOffset + _calculator.GetNonF1ChiefMechanicNameId(Id);

            var stepOffset = LocalOffset * Id;

            Ability           = BaseOffset + stepOffset + AbilityOffset;
            Age               = BaseOffset + stepOffset + AgeOffset;
            Salary            = BaseOffset + stepOffset + SalaryOffset;
            RaceBonus         = BaseOffset + stepOffset + RaceBonusOffset;
            ChampionshipBonus = BaseOffset + stepOffset + ChampionshipBonusOffset;
        }