This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
YimMenu/src/core/scr_globals.hpp

69 lines
2.2 KiB
C++
Raw Normal View History

2022-11-21 15:42:12 +00:00
#pragma once
#include "script_global.hpp"
namespace big::scr_globals
{
2023-06-14 21:29:25 +00:00
static inline script_global gsbd(2648711);
static inline script_global gsbd_fm(1835504);
2023-06-14 21:29:25 +00:00
static inline script_global gsbd_kicking(1885447);
static inline script_global gsbd_fm_events(1924276);
static inline script_global gsbd_block_c(2652364);
static inline script_global gsbd_property_instances(1944302);
2022-11-21 15:42:12 +00:00
2023-06-14 21:29:25 +00:00
static inline script_global globalplayer_bd(2657704);
static inline script_global gpbd_fm_3(1895156);
static inline script_global gpbd_fm_1(1853988);
2022-11-21 15:42:12 +00:00
2023-06-14 21:29:25 +00:00
static inline script_global launcher_global(2756336);
2022-11-21 15:42:12 +00:00
2023-06-14 21:29:25 +00:00
static inline script_global sp(113810); // check flow_controller
static inline script_global mission_definition(91601); // standard_global_init (66, "agency_heist1", "AH1", 230, 1, 1, -1, -1, 8192)
2022-11-21 15:42:12 +00:00
2023-06-14 21:29:25 +00:00
// creator globals usually remain the same after updates
2022-11-21 15:42:12 +00:00
static inline script_global creator_job_metadata(4718592);
2023-06-14 21:29:25 +00:00
static inline script_global terminate_creator(1574607); // NETWORK::NETWORK_BAIL(1, 0, 0); fm_*_creator
2022-11-21 15:42:12 +00:00
static inline script_global switch_struct(1574632);
static inline script_global mission_creator_radar_follows_camera(2621443);
static inline script_global mission_creator_exited(1574530);
2023-06-14 21:29:25 +00:00
static inline script_global in_multiplayer(78689); // g_bInMultiplayer
static inline script_global transition_state(1574996);
static inline script_global vehicle_global = script_global(1586488);
static inline script_global mechanic_global = script_global(2794162);
2022-11-21 15:42:12 +00:00
2023-06-14 21:29:25 +00:00
static inline script_global spawn_global = script_global(2694613);
2022-11-21 15:42:12 +00:00
2023-06-14 21:29:25 +00:00
static inline script_global offradar_time(2672524);
2022-12-06 16:12:02 +00:00
}
namespace big::scr_locals
{
namespace am_hunt_the_beast
{
2023-06-14 21:29:25 +00:00
constexpr static auto broadcast_idx = 600;
constexpr static auto player_broadcast_idx = 2584;
}
namespace am_criminal_damage
{
2023-06-14 21:29:25 +00:00
constexpr static auto broadcast_idx = 111;
constexpr static auto score_idx = 106;
}
namespace am_cp_collection
{
2023-06-14 21:29:25 +00:00
constexpr static auto broadcast_idx = 816;
constexpr static auto player_broadcast_idx = 3457;
}
namespace am_king_of_the_castle
{
2023-06-14 21:29:25 +00:00
constexpr static auto broadcast_idx = 94;
}
namespace fmmc_launcher
{
2023-06-14 21:29:25 +00:00
constexpr static auto broadcast_idx = 11629;
2022-12-06 16:12:02 +00:00
}
2022-11-21 15:42:12 +00:00
}