TmpMenu/BigBaseV2/src/common.hpp
maybegreat48 ab54473371 Add improved desync kick protection (#443)
Update GTAV-Classes vendor
2022-09-12 20:44:47 +02:00

83 lines
1.3 KiB
C++

#pragma once
#include <SDKDDKVer.h>
#include <Windows.h>
#include <D3D11.h>
#include <wrl/client.h>
#include <cinttypes>
#include <cstddef>
#include <cstdint>
#include <chrono>
#include <ctime>
#include <filesystem>
#include <fstream>
#include <iostream>
#include <iomanip>
#include <atomic>
#include <mutex>
#include <thread>
#include <memory>
#include <new>
#include <sstream>
#include <string>
#include <string_view>
#include <algorithm>
#include <functional>
#include <utility>
#include <stack>
#include <vector>
#include <typeinfo>
#include <type_traits>
#include <exception>
#include <stdexcept>
#include <any>
#include <optional>
#include <variant>
#define FMT_HEADER_ONLY
#include <fmt/format.h>
#include <nlohmann/json.hpp>
#include "logger.hpp"
#include "core/globals.hpp"
#include "gta/natives.hpp"
#include "ped/CPed.hpp"
#include "services/notifications/notification_service.hpp"
namespace big
{
using namespace std::chrono_literals;
template <typename T>
using comptr = Microsoft::WRL::ComPtr<T>;
inline HMODULE g_hmodule{};
inline HANDLE g_main_thread{};
inline DWORD g_main_thread_id{};
inline std::atomic_bool g_running{ false };
inline bool g_is_steam{ false };
inline CPed* g_local_player;
}
namespace self
{
inline Ped ped;
inline Player id;
inline Vector3 pos;
inline Vehicle veh;
}