2019-03-21 20:18:31 +01:00
|
|
|
#pragma once
|
|
|
|
#include "common.hpp"
|
2022-01-31 18:27:35 +01:00
|
|
|
#include "CNetworkPlayerMgr.hpp"
|
2022-02-18 17:44:32 +01:00
|
|
|
#include "FriendRegistry.hpp"
|
2022-07-05 11:11:16 +02:00
|
|
|
#include "HashTable.hpp"
|
2019-03-21 20:18:31 +01:00
|
|
|
#include "gta/fwddec.hpp"
|
|
|
|
#include "gta/enums.hpp"
|
2021-08-05 23:06:47 +02:00
|
|
|
#include "gta/replay.hpp"
|
2021-11-08 13:05:28 +01:00
|
|
|
#include "gta/script_program.hpp"
|
2019-03-21 20:18:31 +01:00
|
|
|
#include "function_types.hpp"
|
|
|
|
|
|
|
|
namespace big
|
|
|
|
{
|
|
|
|
class pointers
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
explicit pointers();
|
|
|
|
~pointers();
|
|
|
|
public:
|
|
|
|
HWND m_hwnd{};
|
|
|
|
|
|
|
|
eGameState *m_game_state{};
|
|
|
|
bool *m_is_session_started{};
|
|
|
|
|
2022-01-31 18:27:35 +01:00
|
|
|
CPedFactory** m_ped_factory{};
|
|
|
|
CNetworkPlayerMgr** m_network_player_mgr{};
|
2022-01-25 02:55:35 +01:00
|
|
|
CNetworkObjectMgr** m_network_object_mgr{};
|
2019-03-21 20:18:31 +01:00
|
|
|
|
2021-08-05 23:06:47 +02:00
|
|
|
rage::CReplayInterface** m_replay_interface{};
|
|
|
|
functions::ptr_to_handle* m_ptr_to_handle{};
|
|
|
|
|
2019-03-21 20:18:31 +01:00
|
|
|
rage::scrNativeRegistrationTable *m_native_registration_table{};
|
|
|
|
functions::get_native_handler_t m_get_native_handler{};
|
|
|
|
functions::fix_vectors_t m_fix_vectors{};
|
|
|
|
|
|
|
|
rage::atArray<GtaThread*> *m_script_threads{};
|
|
|
|
rage::scrProgramTable *m_script_program_table{};
|
|
|
|
functions::run_script_threads_t m_run_script_threads{};
|
|
|
|
std::int64_t **m_script_globals{};
|
|
|
|
|
|
|
|
CGameScriptHandlerMgr **m_script_handler_mgr{};
|
|
|
|
|
|
|
|
IDXGISwapChain **m_swapchain{};
|
2020-02-22 18:37:42 -05:00
|
|
|
|
2022-03-17 12:08:03 +01:00
|
|
|
int* m_resolution_x;
|
|
|
|
int* m_resolution_y;
|
|
|
|
|
2021-10-15 11:26:52 +02:00
|
|
|
PVOID m_blame_explode;
|
2020-02-22 18:37:42 -05:00
|
|
|
PVOID m_model_spawn_bypass;
|
2021-05-18 23:03:42 +02:00
|
|
|
PVOID m_native_return;
|
2021-12-06 16:39:46 +01:00
|
|
|
PVOID m_is_dlc_present;
|
2022-05-13 18:26:15 +02:00
|
|
|
PVOID m_network_group_override;
|
2022-05-17 15:56:17 +02:00
|
|
|
PUSHORT m_spectator_check;
|
2021-05-19 00:07:13 +02:00
|
|
|
|
2022-02-18 17:44:32 +01:00
|
|
|
FriendRegistry* m_friend_registry{};
|
|
|
|
|
2022-03-09 00:03:14 +01:00
|
|
|
functions::get_screen_coords_for_world_coords* m_get_screen_coords_for_world_coords{};
|
|
|
|
|
2022-07-05 11:11:16 +02:00
|
|
|
HashTable<CBaseModelInfo*>* m_model_table;
|
|
|
|
|
2022-01-21 23:08:00 +01:00
|
|
|
PVOID m_gta_thread_start{};
|
|
|
|
PVOID m_gta_thread_kill{};
|
2021-05-19 16:19:38 +02:00
|
|
|
|
2022-05-28 17:44:05 +02:00
|
|
|
PVOID m_network_player_mgr_init;
|
2022-01-31 18:27:35 +01:00
|
|
|
PVOID m_network_player_mgr_shutdown;
|
2022-03-16 15:55:27 +01:00
|
|
|
PVOID m_net_array_handler;
|
2022-01-31 18:27:35 +01:00
|
|
|
|
2022-01-25 02:55:35 +01:00
|
|
|
PVOID m_player_has_joined{};
|
|
|
|
PVOID m_player_has_left{};
|
|
|
|
|
2022-03-09 00:03:14 +01:00
|
|
|
functions::get_gameplay_cam_coords* m_get_gamplay_cam_coords;
|
|
|
|
|
2022-07-03 00:03:07 +02:00
|
|
|
functions::give_pickup_rewards* m_give_pickup_rewards{};
|
2022-05-08 22:00:55 +02:00
|
|
|
|
2021-05-21 00:59:09 +02:00
|
|
|
functions::trigger_script_event* m_trigger_script_event{};
|
2021-05-25 12:58:33 +02:00
|
|
|
|
|
|
|
// Received Event Signatures START
|
|
|
|
functions::read_bitbuf_array* m_read_bitbuf_array{};
|
|
|
|
functions::read_bitbuf_dword* m_read_bitbuf_dword{};
|
2022-05-08 22:00:55 +02:00
|
|
|
PVOID m_received_event{};
|
2021-05-25 12:58:33 +02:00
|
|
|
functions::send_event_ack* m_send_event_ack{};
|
|
|
|
// Received Event Signatures END
|
2021-05-26 13:33:26 +02:00
|
|
|
|
2022-05-23 00:31:21 +02:00
|
|
|
//Sync Signatures START
|
|
|
|
PVOID m_received_clone_sync;
|
|
|
|
functions::get_sync_tree_for_type* m_get_sync_tree_for_type{};
|
|
|
|
functions::get_sync_type_info* m_get_sync_type_info{};
|
|
|
|
functions::get_net_object* m_get_net_object{};
|
|
|
|
functions::get_net_object_for_player* m_get_net_object_for_player{};
|
|
|
|
//Sync Signatures END
|
|
|
|
|
2021-12-18 19:24:30 +01:00
|
|
|
PVOID m_send_net_info_to_lobby{};
|
2022-05-20 18:17:41 -04:00
|
|
|
|
|
|
|
PVOID m_receive_net_message{};
|
|
|
|
PVOID m_get_network_event_data{};
|
2022-05-23 00:31:21 +02:00
|
|
|
|
2019-03-21 20:18:31 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
inline pointers *g_pointers{};
|
|
|
|
}
|