2022-11-21 15:42:12 +00:00
|
|
|
#pragma once
|
|
|
|
#include "script_global.hpp"
|
2023-07-11 23:53:15 +02:00
|
|
|
#include "script_local.hpp"
|
2022-11-21 15:42:12 +00:00
|
|
|
|
|
|
|
namespace big::scr_globals
|
|
|
|
{
|
2023-07-15 00:55:09 +02:00
|
|
|
static inline const script_global gsbd(2648711);
|
|
|
|
static inline const script_global gsbd_fm(1835504);
|
|
|
|
static inline const script_global gsbd_kicking(1885447);
|
|
|
|
static inline const script_global gsbd_fm_events(1924276);
|
|
|
|
static inline const script_global gsbd_block_c(2652364);
|
|
|
|
static inline const script_global gsbd_property_instances(1944302);
|
2022-11-21 15:42:12 +00:00
|
|
|
|
2023-07-15 00:55:09 +02:00
|
|
|
static inline const script_global globalplayer_bd(2657704);
|
|
|
|
static inline const script_global gpbd_fm_3(1895156);
|
|
|
|
static inline const script_global gpbd_fm_1(1853988);
|
2023-08-24 16:06:50 -04:00
|
|
|
static inline const script_global interiors(1950844);
|
2022-11-21 15:42:12 +00:00
|
|
|
|
2023-07-15 00:55:09 +02:00
|
|
|
static inline const script_global launcher_global(2756336);
|
2022-11-21 15:42:12 +00:00
|
|
|
|
2023-07-15 00:55:09 +02:00
|
|
|
static inline const script_global sp(113810); // check flow_controller
|
|
|
|
static inline const 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
|
2023-07-15 00:55:09 +02:00
|
|
|
static inline const script_global creator_job_metadata(4718592);
|
|
|
|
static inline const script_global terminate_creator(1574607); // NETWORK::NETWORK_BAIL(1, 0, 0); fm_*_creator
|
|
|
|
static inline const script_global switch_struct(1574632);
|
|
|
|
static inline const script_global mission_creator_radar_follows_camera(2621443);
|
|
|
|
static inline const script_global mission_creator_exited(1574530);
|
2022-11-21 15:42:12 +00:00
|
|
|
|
2023-07-15 00:55:09 +02:00
|
|
|
static inline const script_global in_multiplayer(78689); // g_bInMultiplayer
|
|
|
|
static inline const script_global transition_state(1574996);
|
2023-07-30 01:08:07 +02:00
|
|
|
static inline const script_global sctv_spectator(2695969); // pausemenu_multiplayer function 0xE49C42EC
|
2023-06-14 21:29:25 +00:00
|
|
|
|
2023-07-15 00:55:09 +02:00
|
|
|
static inline const script_global vehicle_global(1586488);
|
2022-11-21 15:42:12 +00:00
|
|
|
|
2023-08-24 16:06:50 -04:00
|
|
|
static inline const script_global freemode_properties(2672524);
|
|
|
|
static inline const script_global freemode_global(2794162);
|
2022-11-21 15:42:12 +00:00
|
|
|
|
2023-08-24 16:06:50 -04:00
|
|
|
static inline const script_global spawn_global(2694613);
|
2023-08-19 07:02:26 -04:00
|
|
|
|
2023-08-24 16:06:50 -04:00
|
|
|
static inline const script_global dance_state(1950837);
|
|
|
|
|
|
|
|
static inline const script_global mobile(20483);
|
|
|
|
|
|
|
|
static inline const script_global transaction_overlimit(20483);
|
|
|
|
|
|
|
|
static inline const script_global stats(2359296);
|
|
|
|
|
|
|
|
static inline const script_global session(1574589);
|
|
|
|
static inline const script_global session2(1575020);
|
|
|
|
static inline const script_global session3(32284);
|
|
|
|
static inline const script_global session4(1574934);
|
|
|
|
static inline const script_global session5(1574995);
|
|
|
|
static inline const script_global session6(2694534);
|
|
|
|
|
|
|
|
static inline const script_global gooch(1890378);
|
2023-09-16 11:49:18 -04:00
|
|
|
|
|
|
|
static inline const script_global passive(1574582);
|
2023-09-22 17:16:33 -04:00
|
|
|
|
|
|
|
static inline const script_global property_garage(1945123);
|
|
|
|
static inline const script_global property_names(1312228);
|
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;
|
2023-01-22 21:57:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
namespace am_criminal_damage
|
|
|
|
{
|
2023-06-14 21:29:25 +00:00
|
|
|
constexpr static auto broadcast_idx = 111;
|
|
|
|
constexpr static auto score_idx = 106;
|
2023-01-22 21:57:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
2023-01-22 21:57:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
namespace am_king_of_the_castle
|
|
|
|
{
|
2023-06-14 21:29:25 +00:00
|
|
|
constexpr static auto broadcast_idx = 94;
|
2023-01-22 21:57:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
}
|
2023-07-11 23:53:15 +02:00
|
|
|
|
|
|
|
namespace fm_mobile
|
|
|
|
{
|
|
|
|
// first uLocal_ in this function call
|
|
|
|
// func_\d+\((&.Local_\d+(, )?){9}\);
|
|
|
|
inline static script_local mobile(18717);
|
|
|
|
}
|
2022-11-21 15:42:12 +00:00
|
|
|
}
|