Closed jhoogstraat closed 2 years ago
I see you are doing this already here #69.
Updated dump:
{
"mode" : "br",
"modeIds" : [
"br_br_real",
"br_brthquad",
"br_brquads",
"br_jugg_brtriojugr",
"br_brtrios",
"br_brduos",
"br_brsolos",
"br_brsolo",
"br_brtriostim_name2",
"br_truckwar_trwarsquads",
"br_brhwntrios",
"br_jugg_jugpmpkn",
"br_brhwnquad",
"br_zxp_zmbroy",
"br_mini_miniroyale",
"br_brz_brquads",
"br_brz_brtrios",
"br_brz_brduos",
"br_brbbsolo",
"br_brbbduo",
"br_brbbtrio",
"br_brbbquad",
"br_rumble_clash",
"br_dbd_dbd",
"br_gxp_gov",
"br_dbd_iron_trials_duos",
"br_vov_op_flash",
"br_vg_royale_trios",
"br_br_quads",
"br_vg_royale_duos",
"br_vg_royale_quads",
"br_vg_royale_solo",
"br_lep_br_lep_event/ltm_gamemode"
]
}
{
"mode" : "rmbl",
"modeIds" : [
"brtdm_rmbl",
"br_rumble_lua_menu_mp/clash"
]
}
{
"mode" : "plndr",
"modeIds" : [
"br_dmz_plunquad",
"br_dmz_plnbld",
"br_dmz_plndtrios",
"br_dmz_plnduo",
"br_dmz_plntrios",
"br_dmz_vg_pln_trios"
]
}
{
"mode" : "rsg",
"modeIds" : [
"br_rebirth_rbrthquad",
"br_rebirth_rbrthtrios",
"br_rebirth_rbrthduos",
"br_rebirth_shsnp_name3",
"br_rebirth_vg_res_44",
"br_rebirth_cal_res_royale"
]
}
Some more ids can be found on the cod website: https://my.callofduty.com/content/atvi/callofduty/mycod/web/en/data/json/iq-content-xweb.js
{
"game-modes:mw-br_all:1": "All",
"game-modes:mw-br:1": "Battle Royale",
"game-modes:mw-br_dmz:1": "Plunder",
"game-modes:mw-br_dmz_38:1": "Plunder Quads",
"game-modes:mw-br_87:1": "BR Solos",
"game-modes:mw-br_dmz_104:1": "Blood Money",
"game-modes:mw-br_25:1": "BR Trios",
"game-modes:mw-br_89:1": "BR Quads",
"game-modes:mw-br_dmz_76:1": "Plunder Quads",
"game-modes:mw-br_77:1": "BR Scopes & Scatterguns",
"game-modes:mw-br_dmz_85:1": "Plunder Duos",
"game-modes:mw-br_71:1": "BR Solos",
"game-modes:mw-br_74:1": "BR Trios",
"game-modes:mw-br_88:1": "BR Duos",
"game-modes:mw-brtdm_113:1": "Warzone Rumble",
"game-modes:mw-brtdm_rmbl:1": "Warzone Rumble",
"game-modes:mw-br_brsolo:1": "BR Solos",
"game-modes:mw-br_brduos:1": "BR Duos",
"game-modes:mw-br_brtrios:1": "BR Trios",
"game-modes:mw-br_brquads:1": "BR Quads",
"game-modes:mw-br_dmz_plnbld:1": "Blood Money",
"game-modes:mw-br_br_real:1": "Realism Battle Royale",
"game-modes:mw-br_86:1": "Realism Battle Royale",
"game-modes:mw-br_brthquad:1": "BR 200 Quads",
"game-modes:mw-br_jugg_brtriojugr:1": "Juggernaut Royal Trios",
"game-modes:br_dmz_plunquad:1": "Plunder Quads",
"game-modes:br_dmz_bldmnytrio:1": "Blood Money Trios",
"game-modes:mw-br_dmz_plunquad:1": "Plunder Quads",
"game-modes:mw-br_dmz_bldmnytrio:1": "Blood Money Trios",
"game-modes:mw-br_mini_miniroyale:1": "Mini Royale",
"game-modes:br_mini_miniroyale:1": "Mini Royale",
"game-modes:mw-br_brbbsolo:1": "BR Buyback Solos",
"game-modes:mw-br_jugg_brquadjugr:1": "Juggernaut Royal Quads",
"game-modes:mw-br_kingslayer_kingsltrios:1": "King Slayer Trios",
"game-modes:mw-br_truckwar_trwarsquads:1": "Armored Royale Quads",
"game-modes:mw-br_zxp_zmbroy:1": "Zombie Royale",
"game-modes:mw-br_brhwntrios:1": "BR Trick-Or-Trios",
"game-modes:mw-br_brsolohwn:1": "BR Solo Survivor",
"game-modes:mw-br_dmz_plndcndy:1": "Plunder: Candy Collector",
"game-modes:mw-br_jugg_jugpmpkn:1": "Juggourdnaut Royale",
"game-modes:mw-br_rebirth_rbrthtrios:1": "Resurgence Trio",
"game-modes:mw-br_rebirth_rbrthduos:1": "Resurgence Duos",
"game-modes:mw-br_rebirth_rbrthquad:1": "Rebirth Resurgance Quads",
"game-modes:mw-br_dmz_plndtrios:1": "Plunder Trios",
"game-modes:mw-br_rebirth_resurgence_trios:1": "Verdansk Resurgence Trios",
"game-modes:mw-br_mini_rebirth_mini_royale_quads:1": "Rebirth Mini Royale Quads",
"game-modes:mw-br_bodycount_pwergrb:1": "Power Grab",
"game-modes:mw-br_rebirth_resurgence_mini:1": "Verdansk Resurgence Mini",
"game-modes:mw-br_payload_payload:1": "Payload",
"game-modes:mw-br_mini_rebirth_mini_royale_trios:1": "Rebirth Mini Royale Trios",
"game-modes:mw-br_x2_br_reveal_x2_event/event_title_x2:1": "Battle of Verdansk",
"game-modes:mw-br_rumble_clash:1": "Clash",
"game-modes:mw-br_dbd_dbd:1": "Iron Trials '84",
"game-modes:mw-br_gxp_gov:1": "Ghosts of Verdansk",
"game-modes:mw-br_dbd_iron_trials_duos:1": "Iron Trials '84 Duos",
"game-modes:mw-br_vg_royale_quads:1": "Vanguard Royale Quads",
"game-modes:mw-br_vg_royale_duos:1": "Vanguard Royale Duos",
"game-modes:mw-br_vg_royale_solo:1": "Vanguard Royale Solo",
"game-modes:mw-br_rebirth_cal_res_royale:1": "Vanguard Resurgence Quads",
"game-modes:mw-br_vg_royale_trios:1": "Vanguard Royale Trios"
}
Currently the database is expected to contain a list of game modes.
As the data is cached after fetching, it could just as well reside in the code. At least the possible game modes should be documented somewhere.