@blamnetwork/blf 1.0.0-alpha.5 → 1.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -7
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/index.d.ts +4 -1
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/index.d.ts.map +1 -1
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/index.js +4 -1
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_actions.d.ts +82 -1
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_actions.d.ts.map +1 -1
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_actions.js +99 -1
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_conditions.d.ts +9 -1
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_conditions.d.ts.map +1 -1
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_conditions.js +10 -1
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_explicit_object.d.ts +26 -0
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_explicit_object.d.ts.map +1 -0
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_explicit_object.js +26 -0
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_explicit_player.d.ts +33 -0
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_explicit_player.d.ts.map +1 -0
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_explicit_player.js +33 -0
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_explicit_team.d.ts +25 -0
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_explicit_team.d.ts.map +1 -0
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_explicit_team.js +25 -0
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_hud_widgets.d.ts +7 -0
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_hud_widgets.d.ts.map +1 -0
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_hud_widgets.js +7 -0
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_references.d.ts +6 -2
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_references.d.ts.map +1 -1
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_references.js +6 -2
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_text.d.ts +1 -1
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_text.d.ts.map +1 -1
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_text.js +1 -1
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_game_engine_custom_variant.d.ts +37 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_game_engine_custom_variant.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_game_engine_custom_variant.js +125 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_game_engine_custom_variant_au1_settings.d.ts +14 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_game_engine_custom_variant_au1_settings.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_game_engine_custom_variant_au1_settings.js +30 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_game_engine_default.d.ts +114 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_game_engine_default.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_game_engine_default.js +292 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_game_engine_survival_variant.d.ts +74 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_game_engine_survival_variant.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_game_engine_survival_variant.js +184 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_game_engine_traits.d.ts +10 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_game_engine_traits.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_game_engine_traits.js +16 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_game_variant.d.ts +28 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_game_variant.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_game_variant.js +109 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_player_traits.d.ts +56 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_player_traits.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_player_traits.js +142 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_string_table.d.ts +27 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_string_table.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_string_table.js +190 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/game_engine_enums.d.ts +45 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/game_engine_enums.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/game_engine_enums.js +60 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/index.d.ts +11 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/index.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/index.js +10 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/c_megalo_game_statistic.d.ts +10 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/c_megalo_game_statistic.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/c_megalo_game_statistic.js +18 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/c_megalogamengine_map_permissions.d.ts +8 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/c_megalogamengine_map_permissions.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/c_megalogamengine_map_permissions.js +18 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/c_object_filter.d.ts +13 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/c_object_filter.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/c_object_filter.js +39 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/c_trigger.d.ts +34 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/c_trigger.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/c_trigger.js +59 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/index.d.ts +18 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/index.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/index.js +17 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_actions.d.ts +478 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_actions.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_actions.js +1696 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_conditions.d.ts +58 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_conditions.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_conditions.js +226 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_explicit_object.d.ts +34 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_explicit_object.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_explicit_object.js +34 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_explicit_player.d.ts +36 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_explicit_player.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_explicit_player.js +36 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_explicit_team.d.ts +31 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_explicit_team.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_explicit_team.js +31 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_hud_widgets.d.ts +7 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_hud_widgets.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_hud_widgets.js +7 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_references.d.ts +85 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_references.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_references.js +502 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_text.d.ts +27 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_text.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_text.js +119 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/s_custom_game_engine_definition.d.ts +29 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/s_custom_game_engine_definition.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/s_custom_game_engine_definition.js +116 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/s_game_engine_player_rating_parameters.d.ts +22 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/s_game_engine_player_rating_parameters.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/s_game_engine_player_rating_parameters.js +54 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/s_user_defined_option.d.ts +22 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/s_user_defined_option.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/s_user_defined_option.js +82 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/s_variable_metadata.d.ts +22 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/s_variable_metadata.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/s_variable_metadata.js +85 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/s_variant_variable.d.ts +13 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/s_variant_variable.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/s_variant_variable.js +75 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/index.d.ts +4 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/index.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/index.js +3 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/saved_games/index.d.ts +2 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/saved_games/index.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/saved_games/index.js +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/saved_games/saved_game_files.d.ts +66 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/saved_games/saved_game_files.d.ts.map +1 -0
- package/dist/blam/haloreach_mcc/v_untracked_25_08_19_1352/saved_games/saved_game_files.js +586 -0
- package/dist/chunks/haloreach/v12065_11_08_24_1738_tu1actual/index.d.ts +2 -2
- package/dist/chunks/haloreach/v12065_11_08_24_1738_tu1actual/index.d.ts.map +1 -1
- package/dist/chunks/haloreach/v12065_11_08_24_1738_tu1actual/index.js +2 -2
- package/dist/chunks/haloreach_mcc/v_untracked_25_08_19_1352/index.d.ts +5 -0
- package/dist/chunks/haloreach_mcc/v_untracked_25_08_19_1352/index.d.ts.map +1 -0
- package/dist/chunks/haloreach_mcc/v_untracked_25_08_19_1352/index.js +4 -0
- package/dist/chunks/haloreach_mcc/v_untracked_25_08_19_1352/s_blf_chunk_game_variant.d.ts +24 -0
- package/dist/chunks/haloreach_mcc/v_untracked_25_08_19_1352/s_blf_chunk_game_variant.d.ts.map +1 -0
- package/dist/chunks/haloreach_mcc/v_untracked_25_08_19_1352/s_blf_chunk_game_variant.js +130 -0
- package/dist/chunks/haloreach_mcc/v_untracked_25_08_19_1352/s_blf_chunk_packed_game_variant.d.ts +15 -0
- package/dist/chunks/haloreach_mcc/v_untracked_25_08_19_1352/s_blf_chunk_packed_game_variant.d.ts.map +1 -0
- package/dist/chunks/haloreach_mcc/v_untracked_25_08_19_1352/s_blf_chunk_packed_game_variant.js +85 -0
- package/dist/chunks/mcc/s_blf_chunk_fileshare_metadata.d.ts +12 -0
- package/dist/chunks/mcc/s_blf_chunk_fileshare_metadata.d.ts.map +1 -0
- package/dist/chunks/mcc/s_blf_chunk_fileshare_metadata.js +107 -0
- package/dist/helpers/convert_reach_gametype.d.ts +17 -0
- package/dist/helpers/convert_reach_gametype.d.ts.map +1 -0
- package/dist/helpers/convert_reach_gametype.js +197 -0
- package/dist/helpers/index.d.ts +2 -0
- package/dist/helpers/index.d.ts.map +1 -0
- package/dist/helpers/index.js +1 -0
- package/dist/versions/haloreach_mcc/v_untracked_25_08_19_1352.d.ts +9 -0
- package/dist/versions/haloreach_mcc/v_untracked_25_08_19_1352.d.ts.map +1 -0
- package/dist/versions/haloreach_mcc/v_untracked_25_08_19_1352.js +8 -0
- package/dist/versions/mcc/v_25_08_16.d.ts +2 -0
- package/dist/versions/mcc/v_25_08_16.d.ts.map +1 -0
- package/dist/versions/mcc/v_25_08_16.js +1 -0
- package/dist-cjs/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/index.js +4 -1
- package/dist-cjs/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_actions.js +142 -42
- package/dist-cjs/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_conditions.js +13 -4
- package/dist-cjs/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_explicit_object.js +29 -0
- package/dist-cjs/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_explicit_player.js +36 -0
- package/dist-cjs/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_explicit_team.js +28 -0
- package/dist-cjs/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_hud_widgets.js +10 -0
- package/dist-cjs/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_references.js +15 -11
- package/dist-cjs/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_text.js +5 -5
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_game_engine_custom_variant.js +129 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_game_engine_custom_variant_au1_settings.js +34 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_game_engine_default.js +305 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_game_engine_survival_variant.js +192 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_game_engine_traits.js +20 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_game_variant.js +113 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_player_traits.js +151 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/c_string_table.js +195 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/game_engine_enums.js +64 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/index.js +26 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/c_megalo_game_statistic.js +22 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/c_megalogamengine_map_permissions.js +22 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/c_object_filter.js +43 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/c_trigger.js +63 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/index.js +33 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_actions.js +1748 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_conditions.js +234 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_explicit_object.js +37 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_explicit_player.js +39 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_explicit_team.js +34 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_hud_widgets.js +10 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_references.js +517 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/megalogamengine_text.js +125 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/s_custom_game_engine_definition.js +120 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/s_game_engine_player_rating_parameters.js +58 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/s_user_defined_option.js +87 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/s_variable_metadata.js +93 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/game/megalogamengine/s_variant_variable.js +79 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/index.js +19 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/saved_games/index.js +17 -0
- package/dist-cjs/blam/haloreach_mcc/v_untracked_25_08_19_1352/saved_games/saved_game_files.js +591 -0
- package/dist-cjs/chunks/haloreach/v12065_11_08_24_1738_tu1actual/index.js +17 -13
- package/dist-cjs/chunks/haloreach_mcc/v_untracked_25_08_19_1352/index.js +23 -0
- package/dist-cjs/chunks/haloreach_mcc/v_untracked_25_08_19_1352/s_blf_chunk_game_variant.js +133 -0
- package/dist-cjs/chunks/haloreach_mcc/v_untracked_25_08_19_1352/s_blf_chunk_packed_game_variant.js +88 -0
- package/dist-cjs/chunks/mcc/s_blf_chunk_fileshare_metadata.js +110 -0
- package/dist-cjs/helpers/convert_reach_gametype.js +200 -0
- package/dist-cjs/helpers/index.js +5 -0
- package/dist-cjs/versions/haloreach_mcc/v_untracked_25_08_19_1352.js +24 -0
- package/dist-cjs/versions/mcc/v_25_08_16.js +17 -0
- package/package.json +35 -4
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_enums.d.ts +0 -170
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_enums.d.ts.map +0 -1
- package/dist/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_enums.js +0 -191
- package/dist-cjs/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/megalogamengine_enums.js +0 -195
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v_25_08_16.d.ts","sourceRoot":"","sources":["../../../src/versions/mcc/v_25_08_16.ts"],"names":[],"mappings":"AAAA,cAAc,iDAAiD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../../chunks/mcc/s_blf_chunk_fileshare_metadata";
|
package/dist-cjs/blam/haloreach/v12065_11_08_24_1738_tu1actual/game/megalogamengine/index.js
CHANGED
|
@@ -20,7 +20,10 @@ __exportStar(require("./c_object_filter"), exports);
|
|
|
20
20
|
__exportStar(require("./c_trigger"), exports);
|
|
21
21
|
__exportStar(require("./megalogamengine_actions"), exports);
|
|
22
22
|
__exportStar(require("./megalogamengine_conditions"), exports);
|
|
23
|
-
__exportStar(require("./
|
|
23
|
+
__exportStar(require("./megalogamengine_explicit_object"), exports);
|
|
24
|
+
__exportStar(require("./megalogamengine_explicit_player"), exports);
|
|
25
|
+
__exportStar(require("./megalogamengine_explicit_team"), exports);
|
|
26
|
+
__exportStar(require("./megalogamengine_hud_widgets"), exports);
|
|
24
27
|
__exportStar(require("./megalogamengine_references"), exports);
|
|
25
28
|
__exportStar(require("./megalogamengine_text"), exports);
|
|
26
29
|
__exportStar(require("./s_custom_game_engine_definition"), exports);
|
|
@@ -1,8 +1,108 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.s_action_object_face_object_parameters = exports.s_action_object_set_orientation_parameters = exports.s_action_player_set_coop_spawning_parameters = exports.s_action_create_tunnel_parameters = exports.s_action_player_get_weapon_parameters = exports.s_action_device_animate_position_parameters = exports.s_action_device_set_position_track_parameters = exports.s_action_set_loadout_palette_parameters = exports.s_action_submit_incident_with_custom_value_parameters = exports.s_action_submit_incident_parameters = exports.s_action_adjust_grenades_parameters = exports.s_action_player_set_requisition_palette_parameters = exports.s_action_object_get_distance_parameters = exports.s_action_vitality_adjustment_parameters = exports.s_action_team_set_coop_spawning_parameters = exports.s_action_player_set_objective_allegiance_icon_parameters = exports.s_action_play_sound_parameters = exports.s_action_hud_widget_set_visibility_parameters = exports.s_action_hud_widget_set_icon_parameters = exports.s_action_hud_widget_set_meter_parameters = exports.c_megalogamengine_hud_meter_input = exports.s_action_hud_widget_text_base = exports.s_action_weapon_set_pickup_priority_parameters = exports.s_action_player_enable_purchases_parameters = exports.s_action_player_adjust_money_parameters = exports.s_action_object_attach_parameters = exports.s_action_object_destroy_parameters = exports.s_action_for_each_parameters = exports.s_action_timer_set_rate_parameters = exports.s_action_hud_post_message_parameters = exports.s_action_set_progress_bar_parameters = exports.s_action_set_fireteam_respawn_filter_parameters = exports.s_action_apply_player_traits_parameters = exports.s_action_set_boundary_parameters = exports.s_action_set_parameters = exports.s_action_navpoint_set_visible_range_parameters = exports.s_action_navpoint_set_timer_parameters = exports.s_action_navpoint_set_priority_parameters = exports.s_action_navpoint_set_icon_parameters = exports.s_action_create_object_parameters = exports.s_action_set_score_parameters = exports.s_team_or_player_target = exports.e_create_object_flags = exports.e_navpoint_priority = exports.e_chud_navpoint_icon_type = exports.e_player_filter_type = exports.e_biped_give_weapon_mode = exports.e_grenade_type = exports.e_math_operation = exports.e_action_team_or_player_target = void 0;
|
|
4
|
+
exports.c_action = exports.s_action_boundary_set_player_color_parameters = exports.s_action_get_random_object_parameters = exports.s_action_biped_drop_weapon_parameters = exports.s_action_biped_give_weapon_parameters = void 0;
|
|
4
5
|
const game_engine_enums_1 = require("../game_engine_enums");
|
|
5
|
-
const
|
|
6
|
+
const megalogamengine_hud_widgets_1 = require("./megalogamengine_hud_widgets");
|
|
7
|
+
/** Matches `e_action_team_or_player_target` in blf_lib `megalogamengine_actions.rs`. */
|
|
8
|
+
var e_action_team_or_player_target;
|
|
9
|
+
(function (e_action_team_or_player_target) {
|
|
10
|
+
e_action_team_or_player_target[e_action_team_or_player_target["team"] = 0] = "team";
|
|
11
|
+
e_action_team_or_player_target[e_action_team_or_player_target["player"] = 1] = "player";
|
|
12
|
+
e_action_team_or_player_target[e_action_team_or_player_target["all_players"] = 2] = "all_players";
|
|
13
|
+
})(e_action_team_or_player_target || (exports.e_action_team_or_player_target = e_action_team_or_player_target = {}));
|
|
14
|
+
/** Matches `e_math_operation` in blf_lib `megalogamengine_actions.rs`. */
|
|
15
|
+
var e_math_operation;
|
|
16
|
+
(function (e_math_operation) {
|
|
17
|
+
e_math_operation[e_math_operation["add"] = 0] = "add";
|
|
18
|
+
e_math_operation[e_math_operation["subtract"] = 1] = "subtract";
|
|
19
|
+
e_math_operation[e_math_operation["multiply_by"] = 2] = "multiply_by";
|
|
20
|
+
e_math_operation[e_math_operation["divide_by"] = 3] = "divide_by";
|
|
21
|
+
e_math_operation[e_math_operation["set_to"] = 4] = "set_to";
|
|
22
|
+
e_math_operation[e_math_operation["modulo_by"] = 5] = "modulo_by";
|
|
23
|
+
e_math_operation[e_math_operation["bitwise_and_with"] = 6] = "bitwise_and_with";
|
|
24
|
+
e_math_operation[e_math_operation["bitwise_or_with"] = 7] = "bitwise_or_with";
|
|
25
|
+
e_math_operation[e_math_operation["bitwise_xor_with"] = 8] = "bitwise_xor_with";
|
|
26
|
+
e_math_operation[e_math_operation["bitwise_not_with"] = 9] = "bitwise_not_with";
|
|
27
|
+
e_math_operation[e_math_operation["set_to_absolute"] = 10] = "set_to_absolute";
|
|
28
|
+
})(e_math_operation || (exports.e_math_operation = e_math_operation = {}));
|
|
29
|
+
var e_grenade_type;
|
|
30
|
+
(function (e_grenade_type) {
|
|
31
|
+
e_grenade_type[e_grenade_type["frag_grenade"] = 0] = "frag_grenade";
|
|
32
|
+
e_grenade_type[e_grenade_type["plasma_grenade"] = 1] = "plasma_grenade";
|
|
33
|
+
})(e_grenade_type || (exports.e_grenade_type = e_grenade_type = {}));
|
|
34
|
+
var e_biped_give_weapon_mode;
|
|
35
|
+
(function (e_biped_give_weapon_mode) {
|
|
36
|
+
e_biped_give_weapon_mode[e_biped_give_weapon_mode["as_primary_weapon"] = 0] = "as_primary_weapon";
|
|
37
|
+
e_biped_give_weapon_mode[e_biped_give_weapon_mode["normally"] = 1] = "normally";
|
|
38
|
+
e_biped_give_weapon_mode[e_biped_give_weapon_mode["silently"] = 2] = "silently";
|
|
39
|
+
})(e_biped_give_weapon_mode || (exports.e_biped_give_weapon_mode = e_biped_give_weapon_mode = {}));
|
|
40
|
+
var e_player_filter_type;
|
|
41
|
+
(function (e_player_filter_type) {
|
|
42
|
+
e_player_filter_type[e_player_filter_type["no_one"] = 0] = "no_one";
|
|
43
|
+
e_player_filter_type[e_player_filter_type["everyone"] = 1] = "everyone";
|
|
44
|
+
e_player_filter_type[e_player_filter_type["allies"] = 2] = "allies";
|
|
45
|
+
e_player_filter_type[e_player_filter_type["enemies"] = 3] = "enemies";
|
|
46
|
+
e_player_filter_type[e_player_filter_type["specific_player"] = 4] = "specific_player";
|
|
47
|
+
e_player_filter_type[e_player_filter_type["normal"] = 5] = "normal";
|
|
48
|
+
})(e_player_filter_type || (exports.e_player_filter_type = e_player_filter_type = {}));
|
|
49
|
+
var e_chud_navpoint_icon_type;
|
|
50
|
+
(function (e_chud_navpoint_icon_type) {
|
|
51
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["speaker"] = 0] = "speaker";
|
|
52
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["dead_teammate_marker"] = 1] = "dead_teammate_marker";
|
|
53
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["lightning_bolt"] = 2] = "lightning_bolt";
|
|
54
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["bullseye"] = 3] = "bullseye";
|
|
55
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["diamond"] = 4] = "diamond";
|
|
56
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["bomb"] = 5] = "bomb";
|
|
57
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["flag"] = 6] = "flag";
|
|
58
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["skull"] = 7] = "skull";
|
|
59
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["crown"] = 8] = "crown";
|
|
60
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["vip"] = 9] = "vip";
|
|
61
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["padlock"] = 10] = "padlock";
|
|
62
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["territory_a"] = 11] = "territory_a";
|
|
63
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["territory_b"] = 12] = "territory_b";
|
|
64
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["territory_c"] = 13] = "territory_c";
|
|
65
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["territory_d"] = 14] = "territory_d";
|
|
66
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["territory_e"] = 15] = "territory_e";
|
|
67
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["territory_f"] = 16] = "territory_f";
|
|
68
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["territory_g"] = 17] = "territory_g";
|
|
69
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["territory_h"] = 18] = "territory_h";
|
|
70
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["territory_i"] = 19] = "territory_i";
|
|
71
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["supply"] = 20] = "supply";
|
|
72
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["supply_health"] = 21] = "supply_health";
|
|
73
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["supply_air_drop"] = 22] = "supply_air_drop";
|
|
74
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["supply_ammo"] = 23] = "supply_ammo";
|
|
75
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["arrow"] = 24] = "arrow";
|
|
76
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["defend"] = 25] = "defend";
|
|
77
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["ordnance"] = 26] = "ordnance";
|
|
78
|
+
e_chud_navpoint_icon_type[e_chud_navpoint_icon_type["inward"] = 27] = "inward";
|
|
79
|
+
})(e_chud_navpoint_icon_type || (exports.e_chud_navpoint_icon_type = e_chud_navpoint_icon_type = {}));
|
|
80
|
+
var e_navpoint_priority;
|
|
81
|
+
(function (e_navpoint_priority) {
|
|
82
|
+
e_navpoint_priority[e_navpoint_priority["low"] = 0] = "low";
|
|
83
|
+
e_navpoint_priority[e_navpoint_priority["normal"] = 1] = "normal";
|
|
84
|
+
e_navpoint_priority[e_navpoint_priority["high"] = 2] = "high";
|
|
85
|
+
e_navpoint_priority[e_navpoint_priority["blink"] = 3] = "blink";
|
|
86
|
+
})(e_navpoint_priority || (exports.e_navpoint_priority = e_navpoint_priority = {}));
|
|
87
|
+
/** Matches `e_create_object_flags` in blf_lib `megalogamengine_actions.rs`. */
|
|
88
|
+
class e_create_object_flags {
|
|
89
|
+
never_garbage_collect = false;
|
|
90
|
+
suppress_effect = false;
|
|
91
|
+
absolute_orientation = false;
|
|
92
|
+
to_raw() {
|
|
93
|
+
return ((this.never_garbage_collect ? 1 : 0) |
|
|
94
|
+
(this.suppress_effect ? 1 << 1 : 0) |
|
|
95
|
+
(this.absolute_orientation ? 1 << 2 : 0));
|
|
96
|
+
}
|
|
97
|
+
static from_raw(raw) {
|
|
98
|
+
const flags = new e_create_object_flags();
|
|
99
|
+
flags.never_garbage_collect = (raw & 1) !== 0;
|
|
100
|
+
flags.suppress_effect = (raw & (1 << 1)) !== 0;
|
|
101
|
+
flags.absolute_orientation = (raw & (1 << 2)) !== 0;
|
|
102
|
+
return flags;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
exports.e_create_object_flags = e_create_object_flags;
|
|
6
106
|
const megalogamengine_references_1 = require("./megalogamengine_references");
|
|
7
107
|
const megalogamengine_text_1 = require("./megalogamengine_text");
|
|
8
108
|
const s_variant_variable_1 = require("./s_variant_variable");
|
|
@@ -15,38 +115,38 @@ var e_boundary_shape;
|
|
|
15
115
|
e_boundary_shape[e_boundary_shape["box"] = 3] = "box";
|
|
16
116
|
})(e_boundary_shape || (e_boundary_shape = {}));
|
|
17
117
|
class s_team_or_player_target {
|
|
18
|
-
m_target =
|
|
118
|
+
m_target = e_action_team_or_player_target.team;
|
|
19
119
|
m_team;
|
|
20
120
|
m_player;
|
|
21
121
|
decode(bitstream) {
|
|
22
|
-
this.m_target = bitstream.read_enum("target", 2,
|
|
122
|
+
this.m_target = bitstream.read_enum("target", 2, e_action_team_or_player_target);
|
|
23
123
|
switch (this.m_target) {
|
|
24
|
-
case
|
|
124
|
+
case e_action_team_or_player_target.team: {
|
|
25
125
|
const team = new megalogamengine_references_1.c_team_reference();
|
|
26
126
|
team.decode(bitstream);
|
|
27
127
|
this.m_team = team;
|
|
28
128
|
break;
|
|
29
129
|
}
|
|
30
|
-
case
|
|
130
|
+
case e_action_team_or_player_target.player: {
|
|
31
131
|
const player = new megalogamengine_references_1.c_player_reference();
|
|
32
132
|
player.decode(bitstream);
|
|
33
133
|
this.m_player = player;
|
|
34
134
|
break;
|
|
35
135
|
}
|
|
36
|
-
case
|
|
136
|
+
case e_action_team_or_player_target.all_players:
|
|
37
137
|
break;
|
|
38
138
|
}
|
|
39
139
|
}
|
|
40
140
|
encode(bitstream) {
|
|
41
141
|
bitstream.write_enum(this.m_target, 2);
|
|
42
142
|
switch (this.m_target) {
|
|
43
|
-
case
|
|
143
|
+
case e_action_team_or_player_target.team:
|
|
44
144
|
this.m_team?.encode(bitstream);
|
|
45
145
|
break;
|
|
46
|
-
case
|
|
146
|
+
case e_action_team_or_player_target.player:
|
|
47
147
|
this.m_player?.encode(bitstream);
|
|
48
148
|
break;
|
|
49
|
-
case
|
|
149
|
+
case e_action_team_or_player_target.all_players:
|
|
50
150
|
break;
|
|
51
151
|
}
|
|
52
152
|
}
|
|
@@ -54,11 +154,11 @@ class s_team_or_player_target {
|
|
|
54
154
|
exports.s_team_or_player_target = s_team_or_player_target;
|
|
55
155
|
class s_action_set_score_parameters {
|
|
56
156
|
m_target = new s_team_or_player_target();
|
|
57
|
-
m_operation =
|
|
157
|
+
m_operation = e_math_operation.add;
|
|
58
158
|
m_variable = new megalogamengine_references_1.c_custom_variable_reference();
|
|
59
159
|
decode(bitstream) {
|
|
60
160
|
this.m_target.decode(bitstream);
|
|
61
|
-
this.m_operation = bitstream.read_enum("operation", 4,
|
|
161
|
+
this.m_operation = bitstream.read_enum("operation", 4, e_math_operation);
|
|
62
162
|
this.m_variable.decode(bitstream);
|
|
63
163
|
}
|
|
64
164
|
encode(bitstream) {
|
|
@@ -73,7 +173,7 @@ class s_action_create_object_parameters {
|
|
|
73
173
|
m_object_reference_1 = new megalogamengine_references_1.c_object_reference();
|
|
74
174
|
m_object_reference_2 = new megalogamengine_references_1.c_object_reference();
|
|
75
175
|
m_filter_index = 0;
|
|
76
|
-
m_flags = new
|
|
176
|
+
m_flags = new e_create_object_flags();
|
|
77
177
|
m_offset = 0;
|
|
78
178
|
m_variant_name_index = 0;
|
|
79
179
|
decode(bitstream) {
|
|
@@ -81,7 +181,7 @@ class s_action_create_object_parameters {
|
|
|
81
181
|
this.m_object_reference_1.decode(bitstream);
|
|
82
182
|
this.m_object_reference_2.decode(bitstream);
|
|
83
183
|
this.m_filter_index = bitstream.read_index("filter_index", 16, 4);
|
|
84
|
-
this.m_flags =
|
|
184
|
+
this.m_flags = e_create_object_flags.from_raw(bitstream.read_integer("flags", 3));
|
|
85
185
|
this.m_offset = bitstream.read_integer("offset", 24);
|
|
86
186
|
this.m_variant_name_index = bitstream.read_integer("variant-name-index", 8);
|
|
87
187
|
}
|
|
@@ -98,12 +198,12 @@ class s_action_create_object_parameters {
|
|
|
98
198
|
exports.s_action_create_object_parameters = s_action_create_object_parameters;
|
|
99
199
|
class s_action_navpoint_set_icon_parameters {
|
|
100
200
|
m_object = new megalogamengine_references_1.c_object_reference();
|
|
101
|
-
m_navpoint_icon =
|
|
201
|
+
m_navpoint_icon = e_chud_navpoint_icon_type.speaker;
|
|
102
202
|
m_variable;
|
|
103
203
|
decode(bitstream) {
|
|
104
204
|
this.m_object.decode(bitstream);
|
|
105
|
-
this.m_navpoint_icon = bitstream.read_enum("navpoint-icon", 5,
|
|
106
|
-
if (this.m_navpoint_icon ===
|
|
205
|
+
this.m_navpoint_icon = bitstream.read_enum("navpoint-icon", 5, e_chud_navpoint_icon_type);
|
|
206
|
+
if (this.m_navpoint_icon === e_chud_navpoint_icon_type.territory_b) {
|
|
107
207
|
const variable = new megalogamengine_references_1.c_custom_variable_reference();
|
|
108
208
|
variable.decode(bitstream);
|
|
109
209
|
this.m_variable = variable;
|
|
@@ -112,7 +212,7 @@ class s_action_navpoint_set_icon_parameters {
|
|
|
112
212
|
encode(bitstream) {
|
|
113
213
|
this.m_object.encode(bitstream);
|
|
114
214
|
bitstream.write_enum(this.m_navpoint_icon, 5);
|
|
115
|
-
if (this.m_navpoint_icon ===
|
|
215
|
+
if (this.m_navpoint_icon === e_chud_navpoint_icon_type.territory_b) {
|
|
116
216
|
this.m_variable.encode(bitstream);
|
|
117
217
|
}
|
|
118
218
|
}
|
|
@@ -120,10 +220,10 @@ class s_action_navpoint_set_icon_parameters {
|
|
|
120
220
|
exports.s_action_navpoint_set_icon_parameters = s_action_navpoint_set_icon_parameters;
|
|
121
221
|
class s_action_navpoint_set_priority_parameters {
|
|
122
222
|
m_object = new megalogamengine_references_1.c_object_reference();
|
|
123
|
-
m_priority =
|
|
223
|
+
m_priority = e_navpoint_priority.low;
|
|
124
224
|
decode(bitstream) {
|
|
125
225
|
this.m_object.decode(bitstream);
|
|
126
|
-
this.m_priority = bitstream.read_enum("priority", 2,
|
|
226
|
+
this.m_priority = bitstream.read_enum("priority", 2, e_navpoint_priority);
|
|
127
227
|
}
|
|
128
228
|
encode(bitstream) {
|
|
129
229
|
this.m_object.encode(bitstream);
|
|
@@ -163,11 +263,11 @@ exports.s_action_navpoint_set_visible_range_parameters = s_action_navpoint_set_v
|
|
|
163
263
|
class s_action_set_parameters {
|
|
164
264
|
m_variable_1 = new s_variant_variable_1.s_variant_variable();
|
|
165
265
|
m_variable_2 = new s_variant_variable_1.s_variant_variable();
|
|
166
|
-
m_operation =
|
|
266
|
+
m_operation = e_math_operation.add;
|
|
167
267
|
decode(bitstream) {
|
|
168
268
|
this.m_variable_1.decode(bitstream);
|
|
169
269
|
this.m_variable_2.decode(bitstream);
|
|
170
|
-
this.m_operation = bitstream.read_enum("operation", 4,
|
|
270
|
+
this.m_operation = bitstream.read_enum("operation", 4, e_math_operation);
|
|
171
271
|
}
|
|
172
272
|
encode(bitstream) {
|
|
173
273
|
this.m_variable_1.encode(bitstream);
|
|
@@ -363,11 +463,11 @@ class s_action_object_attach_parameters {
|
|
|
363
463
|
exports.s_action_object_attach_parameters = s_action_object_attach_parameters;
|
|
364
464
|
class s_action_player_adjust_money_parameters {
|
|
365
465
|
m_player = new megalogamengine_references_1.c_player_reference();
|
|
366
|
-
m_math_operation =
|
|
466
|
+
m_math_operation = e_math_operation.add;
|
|
367
467
|
m_variable = new megalogamengine_references_1.c_custom_variable_reference();
|
|
368
468
|
decode(bitstream) {
|
|
369
469
|
this.m_player.decode(bitstream);
|
|
370
|
-
this.m_math_operation = bitstream.read_enum("math-operation", 4,
|
|
470
|
+
this.m_math_operation = bitstream.read_enum("math-operation", 4, e_math_operation);
|
|
371
471
|
this.m_variable.decode(bitstream);
|
|
372
472
|
}
|
|
373
473
|
encode(bitstream) {
|
|
@@ -420,14 +520,14 @@ class s_action_hud_widget_text_base {
|
|
|
420
520
|
}
|
|
421
521
|
exports.s_action_hud_widget_text_base = s_action_hud_widget_text_base;
|
|
422
522
|
class c_megalogamengine_hud_meter_input {
|
|
423
|
-
m_type =
|
|
523
|
+
m_type = megalogamengine_hud_widgets_1.e_megalogamengine_hud_meter_input_type.none;
|
|
424
524
|
m_variable_1;
|
|
425
525
|
m_variable_2;
|
|
426
526
|
m_timer;
|
|
427
527
|
decode(bitstream) {
|
|
428
|
-
this.m_type = bitstream.read_enum("type", 2,
|
|
528
|
+
this.m_type = bitstream.read_enum("type", 2, megalogamengine_hud_widgets_1.e_megalogamengine_hud_meter_input_type);
|
|
429
529
|
switch (this.m_type) {
|
|
430
|
-
case
|
|
530
|
+
case megalogamengine_hud_widgets_1.e_megalogamengine_hud_meter_input_type.number: {
|
|
431
531
|
const variable1 = new megalogamengine_references_1.c_custom_variable_reference();
|
|
432
532
|
const variable2 = new megalogamengine_references_1.c_custom_variable_reference();
|
|
433
533
|
variable1.decode(bitstream);
|
|
@@ -436,28 +536,28 @@ class c_megalogamengine_hud_meter_input {
|
|
|
436
536
|
this.m_variable_2 = variable2;
|
|
437
537
|
break;
|
|
438
538
|
}
|
|
439
|
-
case
|
|
539
|
+
case megalogamengine_hud_widgets_1.e_megalogamengine_hud_meter_input_type.timer: {
|
|
440
540
|
const timer = new megalogamengine_references_1.c_custom_timer_reference();
|
|
441
541
|
timer.decode(bitstream);
|
|
442
542
|
this.m_timer = timer;
|
|
443
543
|
break;
|
|
444
544
|
}
|
|
445
|
-
case
|
|
545
|
+
case megalogamengine_hud_widgets_1.e_megalogamengine_hud_meter_input_type.none:
|
|
446
546
|
break;
|
|
447
547
|
}
|
|
448
548
|
}
|
|
449
549
|
encode(bitstream) {
|
|
450
550
|
switch (this.m_type) {
|
|
451
|
-
case
|
|
452
|
-
bitstream.write_enum(
|
|
551
|
+
case megalogamengine_hud_widgets_1.e_megalogamengine_hud_meter_input_type.number:
|
|
552
|
+
bitstream.write_enum(megalogamengine_hud_widgets_1.e_megalogamengine_hud_meter_input_type.number, 2);
|
|
453
553
|
this.m_variable_1.encode(bitstream);
|
|
454
554
|
this.m_variable_2.encode(bitstream);
|
|
455
555
|
break;
|
|
456
|
-
case
|
|
457
|
-
bitstream.write_enum(
|
|
556
|
+
case megalogamengine_hud_widgets_1.e_megalogamengine_hud_meter_input_type.timer:
|
|
557
|
+
bitstream.write_enum(megalogamengine_hud_widgets_1.e_megalogamengine_hud_meter_input_type.timer, 2);
|
|
458
558
|
this.m_timer.encode(bitstream);
|
|
459
559
|
break;
|
|
460
|
-
case
|
|
560
|
+
case megalogamengine_hud_widgets_1.e_megalogamengine_hud_meter_input_type.none:
|
|
461
561
|
break;
|
|
462
562
|
}
|
|
463
563
|
}
|
|
@@ -549,11 +649,11 @@ class s_action_team_set_coop_spawning_parameters {
|
|
|
549
649
|
exports.s_action_team_set_coop_spawning_parameters = s_action_team_set_coop_spawning_parameters;
|
|
550
650
|
class s_action_vitality_adjustment_parameters {
|
|
551
651
|
m_object = new megalogamengine_references_1.c_object_reference();
|
|
552
|
-
m_operation =
|
|
652
|
+
m_operation = e_math_operation.add;
|
|
553
653
|
m_variable = new megalogamengine_references_1.c_custom_variable_reference();
|
|
554
654
|
decode(bitstream) {
|
|
555
655
|
this.m_object.decode(bitstream);
|
|
556
|
-
this.m_operation = bitstream.read_enum("operation", 4,
|
|
656
|
+
this.m_operation = bitstream.read_enum("operation", 4, e_math_operation);
|
|
557
657
|
this.m_variable.decode(bitstream);
|
|
558
658
|
}
|
|
559
659
|
encode(bitstream) {
|
|
@@ -594,13 +694,13 @@ class s_action_player_set_requisition_palette_parameters {
|
|
|
594
694
|
exports.s_action_player_set_requisition_palette_parameters = s_action_player_set_requisition_palette_parameters;
|
|
595
695
|
class s_action_adjust_grenades_parameters {
|
|
596
696
|
m_player = new megalogamengine_references_1.c_player_reference();
|
|
597
|
-
m_grenade_type =
|
|
598
|
-
m_math_operation =
|
|
697
|
+
m_grenade_type = e_grenade_type.frag_grenade;
|
|
698
|
+
m_math_operation = e_math_operation.add;
|
|
599
699
|
m_variable = new megalogamengine_references_1.c_custom_variable_reference();
|
|
600
700
|
decode(bitstream) {
|
|
601
701
|
this.m_player.decode(bitstream);
|
|
602
|
-
this.m_grenade_type = bitstream.read_enum("grenade-type", 1,
|
|
603
|
-
this.m_math_operation = bitstream.read_enum("math-operation", 4,
|
|
702
|
+
this.m_grenade_type = bitstream.read_enum("grenade-type", 1, e_grenade_type);
|
|
703
|
+
this.m_math_operation = bitstream.read_enum("math-operation", 4, e_math_operation);
|
|
604
704
|
this.m_variable.decode(bitstream);
|
|
605
705
|
}
|
|
606
706
|
encode(bitstream) {
|
|
@@ -783,11 +883,11 @@ exports.s_action_object_face_object_parameters = s_action_object_face_object_par
|
|
|
783
883
|
class s_action_biped_give_weapon_parameters {
|
|
784
884
|
m_object = new megalogamengine_references_1.c_object_reference();
|
|
785
885
|
m_object_type = new megalogamengine_references_1.c_object_type_reference();
|
|
786
|
-
m_mode =
|
|
886
|
+
m_mode = e_biped_give_weapon_mode.as_primary_weapon;
|
|
787
887
|
decode(bitstream) {
|
|
788
888
|
this.m_object.decode(bitstream);
|
|
789
889
|
this.m_object_type.decode(bitstream);
|
|
790
|
-
this.m_mode = bitstream.read_enum("mode", 2,
|
|
890
|
+
this.m_mode = bitstream.read_enum("mode", 2, e_biped_give_weapon_mode);
|
|
791
891
|
}
|
|
792
892
|
encode(bitstream) {
|
|
793
893
|
this.m_object.encode(bitstream);
|
|
@@ -1,17 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.c_condition = exports.s_condition_object_matches_filter_parameters = exports.s_condition_team_disposition_parameters = exports.s_condition_player_died_parameters = exports.s_condition_if_parameters = void 0;
|
|
4
|
-
|
|
3
|
+
exports.c_condition = exports.s_condition_object_matches_filter_parameters = exports.s_condition_team_disposition_parameters = exports.s_condition_player_died_parameters = exports.s_condition_if_parameters = exports.e_numeric_comparison = void 0;
|
|
4
|
+
/** Matches `e_numeric_comparison` in blf_lib `megalogamengine_conditions.rs`. */
|
|
5
|
+
var e_numeric_comparison;
|
|
6
|
+
(function (e_numeric_comparison) {
|
|
7
|
+
e_numeric_comparison[e_numeric_comparison["less_than"] = 0] = "less_than";
|
|
8
|
+
e_numeric_comparison[e_numeric_comparison["greater_than"] = 1] = "greater_than";
|
|
9
|
+
e_numeric_comparison[e_numeric_comparison["equal_to"] = 2] = "equal_to";
|
|
10
|
+
e_numeric_comparison[e_numeric_comparison["less_than_or_equal_to"] = 3] = "less_than_or_equal_to";
|
|
11
|
+
e_numeric_comparison[e_numeric_comparison["greater_than_or_equal_to"] = 4] = "greater_than_or_equal_to";
|
|
12
|
+
e_numeric_comparison[e_numeric_comparison["not_equal_to"] = 5] = "not_equal_to";
|
|
13
|
+
})(e_numeric_comparison || (exports.e_numeric_comparison = e_numeric_comparison = {}));
|
|
5
14
|
const megalogamengine_references_1 = require("./megalogamengine_references");
|
|
6
15
|
const s_variant_variable_1 = require("./s_variant_variable");
|
|
7
16
|
class s_condition_if_parameters {
|
|
8
17
|
m_left = new s_variant_variable_1.s_variant_variable();
|
|
9
18
|
m_right = new s_variant_variable_1.s_variant_variable();
|
|
10
|
-
m_comparison =
|
|
19
|
+
m_comparison = e_numeric_comparison.less_than;
|
|
11
20
|
decode(bitstream) {
|
|
12
21
|
this.m_left.decode(bitstream);
|
|
13
22
|
this.m_right.decode(bitstream);
|
|
14
|
-
this.m_comparison = bitstream.read_enum("comparison", 3,
|
|
23
|
+
this.m_comparison = bitstream.read_enum("comparison", 3, e_numeric_comparison);
|
|
15
24
|
}
|
|
16
25
|
encode(bitstream) {
|
|
17
26
|
this.m_left.encode(bitstream);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.e_explicit_object_type = void 0;
|
|
4
|
+
/** Matches `e_explicit_object_type` in blf_lib `megalogamengine_explicit_object.rs`. */
|
|
5
|
+
var e_explicit_object_type;
|
|
6
|
+
(function (e_explicit_object_type) {
|
|
7
|
+
e_explicit_object_type[e_explicit_object_type["no_object"] = 0] = "no_object";
|
|
8
|
+
e_explicit_object_type[e_explicit_object_type["global_0"] = 1] = "global_0";
|
|
9
|
+
e_explicit_object_type[e_explicit_object_type["global_1"] = 2] = "global_1";
|
|
10
|
+
e_explicit_object_type[e_explicit_object_type["global_2"] = 3] = "global_2";
|
|
11
|
+
e_explicit_object_type[e_explicit_object_type["global_3"] = 4] = "global_3";
|
|
12
|
+
e_explicit_object_type[e_explicit_object_type["global_4"] = 5] = "global_4";
|
|
13
|
+
e_explicit_object_type[e_explicit_object_type["global_5"] = 6] = "global_5";
|
|
14
|
+
e_explicit_object_type[e_explicit_object_type["global_6"] = 7] = "global_6";
|
|
15
|
+
e_explicit_object_type[e_explicit_object_type["global_7"] = 8] = "global_7";
|
|
16
|
+
e_explicit_object_type[e_explicit_object_type["global_8"] = 9] = "global_8";
|
|
17
|
+
e_explicit_object_type[e_explicit_object_type["global_9"] = 10] = "global_9";
|
|
18
|
+
e_explicit_object_type[e_explicit_object_type["global_10"] = 11] = "global_10";
|
|
19
|
+
e_explicit_object_type[e_explicit_object_type["global_11"] = 12] = "global_11";
|
|
20
|
+
e_explicit_object_type[e_explicit_object_type["global_12"] = 13] = "global_12";
|
|
21
|
+
e_explicit_object_type[e_explicit_object_type["global_13"] = 14] = "global_13";
|
|
22
|
+
e_explicit_object_type[e_explicit_object_type["global_14"] = 15] = "global_14";
|
|
23
|
+
e_explicit_object_type[e_explicit_object_type["global_15"] = 16] = "global_15";
|
|
24
|
+
e_explicit_object_type[e_explicit_object_type["current"] = 17] = "current";
|
|
25
|
+
e_explicit_object_type[e_explicit_object_type["hud_target"] = 18] = "hud_target";
|
|
26
|
+
e_explicit_object_type[e_explicit_object_type["killed"] = 19] = "killed";
|
|
27
|
+
e_explicit_object_type[e_explicit_object_type["killer"] = 20] = "killer";
|
|
28
|
+
e_explicit_object_type[e_explicit_object_type["unknown_21"] = 21] = "unknown_21";
|
|
29
|
+
})(e_explicit_object_type || (exports.e_explicit_object_type = e_explicit_object_type = {}));
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.e_explicit_player_type = void 0;
|
|
4
|
+
/** Matches `e_explicit_player_type` in blf_lib `megalogamengine_explicit_player.rs`. */
|
|
5
|
+
var e_explicit_player_type;
|
|
6
|
+
(function (e_explicit_player_type) {
|
|
7
|
+
e_explicit_player_type[e_explicit_player_type["no_player"] = 0] = "no_player";
|
|
8
|
+
e_explicit_player_type[e_explicit_player_type["player_0"] = 1] = "player_0";
|
|
9
|
+
e_explicit_player_type[e_explicit_player_type["player_1"] = 2] = "player_1";
|
|
10
|
+
e_explicit_player_type[e_explicit_player_type["player_2"] = 3] = "player_2";
|
|
11
|
+
e_explicit_player_type[e_explicit_player_type["player_3"] = 4] = "player_3";
|
|
12
|
+
e_explicit_player_type[e_explicit_player_type["player_4"] = 5] = "player_4";
|
|
13
|
+
e_explicit_player_type[e_explicit_player_type["player_5"] = 6] = "player_5";
|
|
14
|
+
e_explicit_player_type[e_explicit_player_type["player_6"] = 7] = "player_6";
|
|
15
|
+
e_explicit_player_type[e_explicit_player_type["player_7"] = 8] = "player_7";
|
|
16
|
+
e_explicit_player_type[e_explicit_player_type["player_8"] = 9] = "player_8";
|
|
17
|
+
e_explicit_player_type[e_explicit_player_type["player_9"] = 10] = "player_9";
|
|
18
|
+
e_explicit_player_type[e_explicit_player_type["player_10"] = 11] = "player_10";
|
|
19
|
+
e_explicit_player_type[e_explicit_player_type["player_11"] = 12] = "player_11";
|
|
20
|
+
e_explicit_player_type[e_explicit_player_type["player_12"] = 13] = "player_12";
|
|
21
|
+
e_explicit_player_type[e_explicit_player_type["player_13"] = 14] = "player_13";
|
|
22
|
+
e_explicit_player_type[e_explicit_player_type["player_14"] = 15] = "player_14";
|
|
23
|
+
e_explicit_player_type[e_explicit_player_type["player_15"] = 16] = "player_15";
|
|
24
|
+
e_explicit_player_type[e_explicit_player_type["global_0"] = 17] = "global_0";
|
|
25
|
+
e_explicit_player_type[e_explicit_player_type["global_1"] = 18] = "global_1";
|
|
26
|
+
e_explicit_player_type[e_explicit_player_type["global_2"] = 19] = "global_2";
|
|
27
|
+
e_explicit_player_type[e_explicit_player_type["global_3"] = 20] = "global_3";
|
|
28
|
+
e_explicit_player_type[e_explicit_player_type["global_4"] = 21] = "global_4";
|
|
29
|
+
e_explicit_player_type[e_explicit_player_type["global_5"] = 22] = "global_5";
|
|
30
|
+
e_explicit_player_type[e_explicit_player_type["global_6"] = 23] = "global_6";
|
|
31
|
+
e_explicit_player_type[e_explicit_player_type["global_7"] = 24] = "global_7";
|
|
32
|
+
e_explicit_player_type[e_explicit_player_type["current"] = 25] = "current";
|
|
33
|
+
e_explicit_player_type[e_explicit_player_type["hud"] = 26] = "hud";
|
|
34
|
+
e_explicit_player_type[e_explicit_player_type["hud_target"] = 27] = "hud_target";
|
|
35
|
+
e_explicit_player_type[e_explicit_player_type["killer"] = 28] = "killer";
|
|
36
|
+
})(e_explicit_player_type || (exports.e_explicit_player_type = e_explicit_player_type = {}));
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.e_explicit_team_type = void 0;
|
|
4
|
+
/** Matches `e_explicit_team_type` in blf_lib `megalogamengine_explicit_team.rs`. */
|
|
5
|
+
var e_explicit_team_type;
|
|
6
|
+
(function (e_explicit_team_type) {
|
|
7
|
+
e_explicit_team_type[e_explicit_team_type["no_team"] = 0] = "no_team";
|
|
8
|
+
e_explicit_team_type[e_explicit_team_type["team_0"] = 1] = "team_0";
|
|
9
|
+
e_explicit_team_type[e_explicit_team_type["team_1"] = 2] = "team_1";
|
|
10
|
+
e_explicit_team_type[e_explicit_team_type["team_2"] = 3] = "team_2";
|
|
11
|
+
e_explicit_team_type[e_explicit_team_type["team_3"] = 4] = "team_3";
|
|
12
|
+
e_explicit_team_type[e_explicit_team_type["team_4"] = 5] = "team_4";
|
|
13
|
+
e_explicit_team_type[e_explicit_team_type["team_5"] = 6] = "team_5";
|
|
14
|
+
e_explicit_team_type[e_explicit_team_type["team_6"] = 7] = "team_6";
|
|
15
|
+
e_explicit_team_type[e_explicit_team_type["team_7"] = 8] = "team_7";
|
|
16
|
+
e_explicit_team_type[e_explicit_team_type["neutral_team"] = 9] = "neutral_team";
|
|
17
|
+
e_explicit_team_type[e_explicit_team_type["global_0"] = 10] = "global_0";
|
|
18
|
+
e_explicit_team_type[e_explicit_team_type["global_1"] = 11] = "global_1";
|
|
19
|
+
e_explicit_team_type[e_explicit_team_type["global_2"] = 12] = "global_2";
|
|
20
|
+
e_explicit_team_type[e_explicit_team_type["global_3"] = 13] = "global_3";
|
|
21
|
+
e_explicit_team_type[e_explicit_team_type["global_4"] = 14] = "global_4";
|
|
22
|
+
e_explicit_team_type[e_explicit_team_type["global_5"] = 15] = "global_5";
|
|
23
|
+
e_explicit_team_type[e_explicit_team_type["global_6"] = 16] = "global_6";
|
|
24
|
+
e_explicit_team_type[e_explicit_team_type["global_7"] = 17] = "global_7";
|
|
25
|
+
e_explicit_team_type[e_explicit_team_type["current"] = 18] = "current";
|
|
26
|
+
e_explicit_team_type[e_explicit_team_type["hud_player_owner_team"] = 19] = "hud_player_owner_team";
|
|
27
|
+
e_explicit_team_type[e_explicit_team_type["hud_target_player_owner_team"] = 20] = "hud_target_player_owner_team";
|
|
28
|
+
})(e_explicit_team_type || (exports.e_explicit_team_type = e_explicit_team_type = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.e_megalogamengine_hud_meter_input_type = void 0;
|
|
4
|
+
/** Matches `e_megalogamengine_hud_meter_input_type` in blf_lib `megalogamengine_hud_widgets.rs`. */
|
|
5
|
+
var e_megalogamengine_hud_meter_input_type;
|
|
6
|
+
(function (e_megalogamengine_hud_meter_input_type) {
|
|
7
|
+
e_megalogamengine_hud_meter_input_type[e_megalogamengine_hud_meter_input_type["none"] = 0] = "none";
|
|
8
|
+
e_megalogamengine_hud_meter_input_type[e_megalogamengine_hud_meter_input_type["number"] = 1] = "number";
|
|
9
|
+
e_megalogamengine_hud_meter_input_type[e_megalogamengine_hud_meter_input_type["timer"] = 2] = "timer";
|
|
10
|
+
})(e_megalogamengine_hud_meter_input_type || (exports.e_megalogamengine_hud_meter_input_type = e_megalogamengine_hud_meter_input_type = {}));
|
|
@@ -2,11 +2,15 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.c_object_type_reference = exports.c_custom_timer_reference = exports.c_custom_variable_reference = exports.c_team_reference = exports.c_player_reference = exports.c_object_reference = exports.c_explicit_team = exports.c_explicit_object = exports.c_explicit_player = exports.e_custom_timer_type = exports.e_explicit_team_type = exports.e_explicit_player_type = exports.e_explicit_object_type = void 0;
|
|
4
4
|
const error_1 = require("../../../../../error");
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Object.defineProperty(exports, "
|
|
5
|
+
const megalogamengine_explicit_object_1 = require("./megalogamengine_explicit_object");
|
|
6
|
+
const megalogamengine_explicit_player_1 = require("./megalogamengine_explicit_player");
|
|
7
|
+
const megalogamengine_explicit_team_1 = require("./megalogamengine_explicit_team");
|
|
8
|
+
var megalogamengine_explicit_object_2 = require("./megalogamengine_explicit_object");
|
|
9
|
+
Object.defineProperty(exports, "e_explicit_object_type", { enumerable: true, get: function () { return megalogamengine_explicit_object_2.e_explicit_object_type; } });
|
|
10
|
+
var megalogamengine_explicit_player_2 = require("./megalogamengine_explicit_player");
|
|
11
|
+
Object.defineProperty(exports, "e_explicit_player_type", { enumerable: true, get: function () { return megalogamengine_explicit_player_2.e_explicit_player_type; } });
|
|
12
|
+
var megalogamengine_explicit_team_2 = require("./megalogamengine_explicit_team");
|
|
13
|
+
Object.defineProperty(exports, "e_explicit_team_type", { enumerable: true, get: function () { return megalogamengine_explicit_team_2.e_explicit_team_type; } });
|
|
10
14
|
function requireField(value, message) {
|
|
11
15
|
if (value === undefined) {
|
|
12
16
|
throw new error_1.BlfError(message);
|
|
@@ -24,9 +28,9 @@ var e_custom_timer_type;
|
|
|
24
28
|
e_custom_timer_type[e_custom_timer_type["grace_period"] = 6] = "grace_period";
|
|
25
29
|
})(e_custom_timer_type || (exports.e_custom_timer_type = e_custom_timer_type = {}));
|
|
26
30
|
class c_explicit_player {
|
|
27
|
-
m_explicit_player_type =
|
|
31
|
+
m_explicit_player_type = megalogamengine_explicit_player_1.e_explicit_player_type.no_player;
|
|
28
32
|
decode(bitstream) {
|
|
29
|
-
this.m_explicit_player_type = bitstream.read_enum("explicit-player-type", 5,
|
|
33
|
+
this.m_explicit_player_type = bitstream.read_enum("explicit-player-type", 5, megalogamengine_explicit_player_1.e_explicit_player_type);
|
|
30
34
|
}
|
|
31
35
|
encode(bitstream) {
|
|
32
36
|
bitstream.write_enum(this.m_explicit_player_type, 5);
|
|
@@ -34,9 +38,9 @@ class c_explicit_player {
|
|
|
34
38
|
}
|
|
35
39
|
exports.c_explicit_player = c_explicit_player;
|
|
36
40
|
class c_explicit_object {
|
|
37
|
-
m_explicit_object_type =
|
|
41
|
+
m_explicit_object_type = megalogamengine_explicit_object_1.e_explicit_object_type.no_object;
|
|
38
42
|
decode(bitstream) {
|
|
39
|
-
this.m_explicit_object_type = bitstream.read_enum("explicit-object-type", 5,
|
|
43
|
+
this.m_explicit_object_type = bitstream.read_enum("explicit-object-type", 5, megalogamengine_explicit_object_1.e_explicit_object_type);
|
|
40
44
|
}
|
|
41
45
|
encode(bitstream) {
|
|
42
46
|
bitstream.write_enum(this.m_explicit_object_type, 5);
|
|
@@ -44,9 +48,9 @@ class c_explicit_object {
|
|
|
44
48
|
}
|
|
45
49
|
exports.c_explicit_object = c_explicit_object;
|
|
46
50
|
class c_explicit_team {
|
|
47
|
-
m_explicit_team_type =
|
|
51
|
+
m_explicit_team_type = megalogamengine_explicit_team_1.e_explicit_team_type.no_team;
|
|
48
52
|
decode(bitstream) {
|
|
49
|
-
this.m_explicit_team_type = bitstream.read_enum("explicit-team-type", 5,
|
|
53
|
+
this.m_explicit_team_type = bitstream.read_enum("explicit-team-type", 5, megalogamengine_explicit_team_1.e_explicit_team_type);
|
|
50
54
|
}
|
|
51
55
|
encode(bitstream) {
|
|
52
56
|
bitstream.write_enum(this.m_explicit_team_type, 5);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.c_dynamic_string = exports.c_replaceable_token = exports.c_player_filter_modifier = void 0;
|
|
4
4
|
const error_1 = require("../../../../../error");
|
|
5
|
-
const
|
|
5
|
+
const megalogamengine_actions_1 = require("./megalogamengine_actions");
|
|
6
6
|
const megalogamengine_references_1 = require("./megalogamengine_references");
|
|
7
7
|
function requireField(value, message) {
|
|
8
8
|
if (value === undefined) {
|
|
@@ -11,12 +11,12 @@ function requireField(value, message) {
|
|
|
11
11
|
return value;
|
|
12
12
|
}
|
|
13
13
|
class c_player_filter_modifier {
|
|
14
|
-
m_type =
|
|
14
|
+
m_type = megalogamengine_actions_1.e_player_filter_type.no_one;
|
|
15
15
|
m_player;
|
|
16
16
|
m_variable;
|
|
17
17
|
decode(bitstream) {
|
|
18
|
-
this.m_type = bitstream.read_enum("type", 3,
|
|
19
|
-
if (this.m_type ===
|
|
18
|
+
this.m_type = bitstream.read_enum("type", 3, megalogamengine_actions_1.e_player_filter_type);
|
|
19
|
+
if (this.m_type === megalogamengine_actions_1.e_player_filter_type.specific_player) {
|
|
20
20
|
const player = new megalogamengine_references_1.c_player_reference();
|
|
21
21
|
const variable = new megalogamengine_references_1.c_custom_variable_reference();
|
|
22
22
|
player.decode(bitstream);
|
|
@@ -27,7 +27,7 @@ class c_player_filter_modifier {
|
|
|
27
27
|
}
|
|
28
28
|
encode(bitstream) {
|
|
29
29
|
bitstream.write_enum(this.m_type, 3);
|
|
30
|
-
if (this.m_type ===
|
|
30
|
+
if (this.m_type === megalogamengine_actions_1.e_player_filter_type.specific_player) {
|
|
31
31
|
requireField(this.m_player, "m_player does not exist.").encode(bitstream);
|
|
32
32
|
requireField(this.m_variable, "m_variable does not exist.").encode(bitstream);
|
|
33
33
|
}
|