BF2Statistics.ScoreSettings.FillFormFields C# (CSharp) Метод

FillFormFields() приватный Метод

Fills the form values
private FillFormFields ( ) : void
Результат void
        private void FillFormFields()
        {
            // Player Global Scoring
            KillScore.Value = Int32.Parse(Scores["SCORE_KILL"][0]);
            TeamKillScore.Value = Int32.Parse(Scores["SCORE_TEAMKILL"][0]);
            SuicideScore.Value = Int32.Parse(Scores["SCORE_SUICIDE"][0]);
            ReviveScore.Value = Int32.Parse(Scores["SCORE_REVIVE"][0]);
            TeamDamage.Value = Int32.Parse(Scores["SCORE_TEAMDAMAGE"][0]);
            TeamVehicleDamage.Value = Int32.Parse(Scores["SCORE_TEAMVEHICLEDAMAGE"][0]);
            DestroyEnemyAsset.Value = Int32.Parse(Scores["SCORE_DESTROYREMOTECONTROLLED"][0]);
            DriverKA.Value = Int32.Parse(Scores["SCORE_KILLASSIST_DRIVER"][0]);
            PassangerKA.Value = Int32.Parse(Scores["SCORE_KILLASSIST_PASSENGER"][0]);
            TargeterKA.Value = Int32.Parse(Scores["SCORE_KILLASSIST_TARGETER"][0]);
            DamageAssist.Value = Int32.Parse(Scores["SCORE_KILLASSIST_DAMAGE"][0]);
            GiveHealth.Value = Int32.Parse(Scores["SCORE_HEAL"][0]);
            GiveAmmo.Value = Int32.Parse(Scores["SCORE_GIVEAMMO"][0]);
            VehicleRepair.Value = Int32.Parse(Scores["SCORE_REPAIR"][0]);

            // Player Conquest Settings
            ConqFlagCapture.Value = Int32.Parse(ConqScores["SCORE_CAPTURE"][0]);
            ConqFlagCaptureAsst.Value = Int32.Parse(ConqScores["SCORE_CAPTUREASSIST"][0]);
            ConqFlagNeutralize.Value = Int32.Parse(ConqScores["SCORE_NEUTRALIZE"][0]);
            ConqFlagNeutralizeAsst.Value = Int32.Parse(ConqScores["SCORE_NEUTRALIZEASSIST"][0]);
            ConqDefendFlag.Value = Int32.Parse(ConqScores["SCORE_DEFEND"][0]);

            // Player Coop Settings
            CoopFlagCapture.Value = Int32.Parse(CoopScores["SCORE_CAPTURE"][0]);
            CoopFlagCaptureAsst.Value = Int32.Parse(CoopScores["SCORE_CAPTUREASSIST"][0]);
            CoopFlagNeutralize.Value = Int32.Parse(CoopScores["SCORE_NEUTRALIZE"][0]);
            CoopFlagNeutralizeAsst.Value = Int32.Parse(CoopScores["SCORE_NEUTRALIZEASSIST"][0]);
            CoopDefendFlag.Value = Int32.Parse(CoopScores["SCORE_DEFEND"][0]);

            // AI Bots Global Scoring
            AiKillScore.Value = Int32.Parse(Scores["AI_SCORE_KILL"][0]);
            AiTeamKillScore.Value = Int32.Parse(Scores["AI_SCORE_TEAMKILL"][0]);
            AiSuicideScore.Value = Int32.Parse(Scores["AI_SCORE_SUICIDE"][0]);
            AiReviveScore.Value = Int32.Parse(Scores["AI_SCORE_REVIVE"][0]);
            AiTeamDamage.Value = Int32.Parse(Scores["AI_SCORE_TEAMDAMAGE"][0]);
            AiTeamVehicleDamage.Value = Int32.Parse(Scores["AI_SCORE_TEAMVEHICLEDAMAGE"][0]);
            AiDestroyEnemyAsset.Value = Int32.Parse(Scores["AI_SCORE_DESTROYREMOTECONTROLLED"][0]);
            AiDriverKA.Value = Int32.Parse(Scores["AI_SCORE_KILLASSIST_DRIVER"][0]);
            AiPassangerKA.Value = Int32.Parse(Scores["AI_SCORE_KILLASSIST_PASSENGER"][0]);
            AiTargeterKA.Value = Int32.Parse(Scores["AI_SCORE_KILLASSIST_TARGETER"][0]);
            AiDamageAssist.Value = Int32.Parse(Scores["AI_SCORE_KILLASSIST_DAMAGE"][0]);
            AiGiveHealth.Value = Int32.Parse(Scores["AI_SCORE_HEAL"][0]);
            AiGiveAmmo.Value = Int32.Parse(Scores["AI_SCORE_GIVEAMMO"][0]);
            AiVehicleRepair.Value = Int32.Parse(Scores["AI_SCORE_REPAIR"][0]);

            // AI Bots Coop Settings
            AiCoopFlagCapture.Value = Int32.Parse(CoopScores["AI_SCORE_CAPTURE"][0]);
            AiCoopFlagCaptureAsst.Value = Int32.Parse(CoopScores["AI_SCORE_CAPTUREASSIST"][0]);
            AiCoopFlagNeutralize.Value = Int32.Parse(CoopScores["AI_SCORE_NEUTRALIZE"][0]);
            AiCoopFlagNeutralizeAsst.Value = Int32.Parse(CoopScores["AI_SCORE_NEUTRALIZEASSIST"][0]);
            AiCoopDefendFlag.Value = Int32.Parse(CoopScores["AI_SCORE_DEFEND"][0]);

            // AI Bots Conquest Settings
            AiCqFlagCapture.Value = Int32.Parse(ConqScores["AI_SCORE_CAPTURE"][0]);
            AiCqFlagCaptureAsst.Value = Int32.Parse(ConqScores["AI_SCORE_CAPTUREASSIST"][0]);
            AiCqFlagNeutralize.Value = Int32.Parse(ConqScores["AI_SCORE_NEUTRALIZE"][0]);
            AiCqFlagNeutralizeAsst.Value = Int32.Parse(ConqScores["AI_SCORE_NEUTRALIZEASSIST"][0]);
            AiCqDefendFlag.Value = Int32.Parse(ConqScores["AI_SCORE_DEFEND"][0]);

            // Replenish Scoring
            RepairPointLimit.Value = Int32.Parse(Scores["REPAIR_POINT_LIMIT"][0]);
            HealPointLimit.Value = Int32.Parse(Scores["HEAL_POINT_LIMIT"][0]);
            AmmoPointLimit.Value = Int32.Parse(Scores["GIVEAMMO_POINT_LIMIT"][0]);
            TeamDamageLimit.Value = Int32.Parse(Scores["TEAMDAMAGE_POINT_LIMIT"][0]);
            TeamVDamageLimit.Value = Int32.Parse(Scores["TEAMVEHICLEDAMAGE_POINT_LIMIT"][0]);
            ReplenishInterval.Value = Int32.Parse(Scores["REPLENISH_POINT_MIN_INTERVAL"][0]);
        }