Ejemplo n.º 1
0
        public void Initialise()
        {
            Name = NameOffset + _calculator.GetF1ChiefEngineerNameId(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;
            DriverLoyalty     = BaseOffset + stepOffset + DriverLoyaltyOffset;
            Morale            = BaseOffset + stepOffset + MoraleOffset;
        }