TmpMenu/BigBaseV2/src/pointers.hpp

133 lines
3.9 KiB
C++
Raw Normal View History

2019-03-21 20:18:31 +01:00
#pragma once
#include "common.hpp"
#include "base/HashTable.hpp"
#include "function_types.hpp"
2019-03-21 20:18:31 +01:00
#include "gta/fwddec.hpp"
#include "gta/replay.hpp"
#include "network/CNetworkPlayerMgr.hpp"
#include "socialclub/FriendRegistry.hpp"
#include "network/Network.hpp"
2019-03-21 20:18:31 +01:00
namespace big
{
class pointers
{
public:
explicit pointers();
~pointers();
public:
HWND m_hwnd{};
eGameState* m_game_state{};
bool* m_is_session_started{};
2019-03-21 20:18:31 +01:00
CPedFactory** m_ped_factory{};
CNetworkPlayerMgr** m_network_player_mgr{};
CNetworkObjectMgr** m_network_object_mgr{};
rage::CReplayInterface** m_replay_interface{};
functions::ptr_to_handle m_ptr_to_handle{};
functions::get_script_handle_t m_get_script_handle{};
rage::scrNativeRegistrationTable* m_native_registration_table{};
functions::get_native_handler m_get_native_handler{};
functions::fix_vectors m_fix_vectors{};
2019-03-21 20:18:31 +01:00
rage::atArray<GtaThread*>* m_script_threads{};
rage::scrProgramTable* m_script_program_table{};
functions::run_script_threads m_run_script_threads{};
std::int64_t** m_script_globals{};
2019-03-21 20:18:31 +01:00
CGameScriptHandlerMgr** m_script_handler_mgr{};
2019-03-21 20:18:31 +01:00
IDXGISwapChain** m_swapchain{};
int* m_resolution_x;
int* m_resolution_y;
2021-10-15 11:26:52 +02:00
PVOID m_blame_explode;
PVOID m_model_spawn_bypass;
2022-09-20 14:51:43 +02:00
PVOID m_world_model_spawn_bypass;
2021-05-18 23:03:42 +02:00
PVOID m_native_return;
PVOID m_network_group_override;
2022-07-29 14:32:02 +02:00
PVOID m_get_label_text;
functions::multiplayer_chat_filter* m_multiplayer_chat_filter{};
functions::write_player_game_state_data_node m_write_player_game_state_data_node{};
2021-05-19 00:07:13 +02:00
2022-02-18 17:44:32 +01:00
FriendRegistry* m_friend_registry{};
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;
PVOID m_gta_thread_start{};
PVOID m_gta_thread_kill{};
PVOID m_network_player_mgr_init;
PVOID m_network_player_mgr_shutdown;
functions::get_gameplay_cam_coords m_get_gameplay_cam_coords;
functions::give_pickup_rewards m_give_pickup_rewards{};
2022-09-20 14:51:43 +02:00
2022-10-06 13:30:04 +02:00
PVOID m_write_player_gamer_data_node{};
functions::trigger_script_event m_trigger_script_event{};
// Bitbuffer Read/Write START
functions::read_bitbuf_dword m_read_bitbuf_dword{};
functions::read_bitbuf_string m_read_bitbuf_string{};
functions::read_bitbuf_bool m_read_bitbuf_bool{};
functions::read_bitbuf_array m_read_bitbuf_array{};
functions::write_bitbuf_qword m_write_bitbuf_qword{};
functions::write_bitbuf_dword m_write_bitbuf_dword{};
functions::write_bitbuf_int64 m_write_bitbuf_int64{};
functions::write_bitbuf_int32 m_write_bitbuf_int32{};
functions::write_bitbuf_bool m_write_bitbuf_bool{};
functions::write_bitbuf_array m_write_bitbuf_array{};
// Bitbuffer Read/Write END
2022-09-20 14:51:43 +02:00
// Received Event Signatures START
PVOID m_received_event{};
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{};
2022-05-23 00:31:21 +02:00
//Sync Signatures END
PVOID m_send_net_info_to_lobby{};
PVOID m_receive_net_message{};
PVOID m_get_network_event_data{};
PVOID m_assign_physical_index{};
PVOID m_format_metric_for_sending;
2022-10-21 13:37:18 +02:00
Network** m_network;
2022-10-26 14:12:29 +02:00
functions::start_get_session_by_gamer_handle m_start_get_session_by_gamer_handle;
functions::join_session_by_info m_join_session_by_info;
2022-10-26 22:10:19 +02:00
uint8_t* m_bypass_max_count_of_active_sticky_bombs;
functions::reset_network_complaints m_reset_network_complaints{};
functions::fidevice_get_device m_fidevice_get_device{};
uintptr_t m_fidevices{};
uint16_t* m_fidevices_len{};
functions::fipackfile_ctor m_fipackfile_ctor{};
rage::fiPackfile** m_fipackfile_instances{};
functions::fipackfile_open_archive m_fipackfile_open_archive{};
functions::fipackfile_mount m_fipackfile_mount{};
functions::fipackfile_unmount m_fipackfile_unmount{};
const char* m_game_version;
const char* m_online_version;
2019-03-21 20:18:31 +01:00
};
inline pointers* g_pointers{};
2019-03-21 20:18:31 +01:00
}