use crate::summary::RuntimeSummary;

use super::PackedEventSummaryFields;

pub(super) fn apply_packed_event_summary_fields(
    summary: &mut RuntimeSummary,
    fields: PackedEventSummaryFields,
) {
    let PackedEventSummaryFields {
        packed_event_collection_present,
        packed_event_record_count,
        packed_event_decoded_record_count,
        packed_event_imported_runtime_record_count,
        packed_event_parity_only_record_count,
        packed_event_unsupported_record_count,
        packed_event_blocked_missing_company_context_count,
        packed_event_blocked_missing_selection_context_count,
        packed_event_blocked_missing_company_role_context_count,
        packed_event_blocked_missing_player_context_count,
        packed_event_blocked_missing_player_selection_context_count,
        packed_event_blocked_missing_player_role_context_count,
        packed_event_blocked_missing_chairman_context_count,
        packed_event_blocked_chairman_target_scope_count,
        packed_event_blocked_missing_condition_context_count,
        packed_event_blocked_missing_player_condition_context_count,
        packed_event_blocked_company_condition_scope_disabled_count,
        packed_event_blocked_player_condition_scope_count,
        packed_event_blocked_territory_condition_scope_count,
        packed_event_blocked_missing_territory_context_count,
        packed_event_blocked_named_territory_binding_count,
        packed_event_blocked_unmapped_ordinary_condition_count,
        packed_event_blocked_unmapped_world_condition_count,
        packed_event_blocked_missing_compact_control_count,
        packed_event_blocked_shell_owned_descriptor_count,
        packed_event_blocked_evidence_blocked_descriptor_count,
        packed_event_blocked_variant_or_scope_blocked_descriptor_count,
        packed_event_blocked_unmapped_real_descriptor_count,
        packed_event_blocked_unmapped_world_descriptor_count,
        packed_event_blocked_territory_access_variant_count,
        packed_event_blocked_territory_access_scope_count,
        packed_event_blocked_missing_train_context_count,
        packed_event_blocked_missing_train_territory_context_count,
        packed_event_blocked_missing_locomotive_catalog_context_count,
        packed_event_blocked_confiscation_variant_count,
        packed_event_blocked_retire_train_variant_count,
        packed_event_blocked_retire_train_scope_count,
        packed_event_blocked_structural_only_count,
    } = fields;

    summary.packed_event_collection_present = packed_event_collection_present;
    summary.packed_event_record_count = packed_event_record_count;
    summary.packed_event_decoded_record_count = packed_event_decoded_record_count;
    summary.packed_event_imported_runtime_record_count = packed_event_imported_runtime_record_count;
    summary.packed_event_parity_only_record_count = packed_event_parity_only_record_count;
    summary.packed_event_unsupported_record_count = packed_event_unsupported_record_count;
    summary.packed_event_blocked_missing_company_context_count =
        packed_event_blocked_missing_company_context_count;
    summary.packed_event_blocked_missing_selection_context_count =
        packed_event_blocked_missing_selection_context_count;
    summary.packed_event_blocked_missing_company_role_context_count =
        packed_event_blocked_missing_company_role_context_count;
    summary.packed_event_blocked_missing_player_context_count =
        packed_event_blocked_missing_player_context_count;
    summary.packed_event_blocked_missing_player_selection_context_count =
        packed_event_blocked_missing_player_selection_context_count;
    summary.packed_event_blocked_missing_player_role_context_count =
        packed_event_blocked_missing_player_role_context_count;
    summary.packed_event_blocked_missing_chairman_context_count =
        packed_event_blocked_missing_chairman_context_count;
    summary.packed_event_blocked_chairman_target_scope_count =
        packed_event_blocked_chairman_target_scope_count;
    summary.packed_event_blocked_missing_condition_context_count =
        packed_event_blocked_missing_condition_context_count;
    summary.packed_event_blocked_missing_player_condition_context_count =
        packed_event_blocked_missing_player_condition_context_count;
    summary.packed_event_blocked_company_condition_scope_disabled_count =
        packed_event_blocked_company_condition_scope_disabled_count;
    summary.packed_event_blocked_player_condition_scope_count =
        packed_event_blocked_player_condition_scope_count;
    summary.packed_event_blocked_territory_condition_scope_count =
        packed_event_blocked_territory_condition_scope_count;
    summary.packed_event_blocked_missing_territory_context_count =
        packed_event_blocked_missing_territory_context_count;
    summary.packed_event_blocked_named_territory_binding_count =
        packed_event_blocked_named_territory_binding_count;
    summary.packed_event_blocked_unmapped_ordinary_condition_count =
        packed_event_blocked_unmapped_ordinary_condition_count;
    summary.packed_event_blocked_unmapped_world_condition_count =
        packed_event_blocked_unmapped_world_condition_count;
    summary.packed_event_blocked_missing_compact_control_count =
        packed_event_blocked_missing_compact_control_count;
    summary.packed_event_blocked_shell_owned_descriptor_count =
        packed_event_blocked_shell_owned_descriptor_count;
    summary.packed_event_blocked_evidence_blocked_descriptor_count =
        packed_event_blocked_evidence_blocked_descriptor_count;
    summary.packed_event_blocked_variant_or_scope_blocked_descriptor_count =
        packed_event_blocked_variant_or_scope_blocked_descriptor_count;
    summary.packed_event_blocked_unmapped_real_descriptor_count =
        packed_event_blocked_unmapped_real_descriptor_count;
    summary.packed_event_blocked_unmapped_world_descriptor_count =
        packed_event_blocked_unmapped_world_descriptor_count;
    summary.packed_event_blocked_territory_access_variant_count =
        packed_event_blocked_territory_access_variant_count;
    summary.packed_event_blocked_territory_access_scope_count =
        packed_event_blocked_territory_access_scope_count;
    summary.packed_event_blocked_missing_train_context_count =
        packed_event_blocked_missing_train_context_count;
    summary.packed_event_blocked_missing_train_territory_context_count =
        packed_event_blocked_missing_train_territory_context_count;
    summary.packed_event_blocked_missing_locomotive_catalog_context_count =
        packed_event_blocked_missing_locomotive_catalog_context_count;
    summary.packed_event_blocked_confiscation_variant_count =
        packed_event_blocked_confiscation_variant_count;
    summary.packed_event_blocked_retire_train_variant_count =
        packed_event_blocked_retire_train_variant_count;
    summary.packed_event_blocked_retire_train_scope_count =
        packed_event_blocked_retire_train_scope_count;
    summary.packed_event_blocked_structural_only_count = packed_event_blocked_structural_only_count;
}
