Files
csgo2_tiny_server_plugin_sy…/csgo2/hooks.h
2023-10-01 04:57:41 +08:00

15 lines
551 B
C++

#pragma once
#include "pch.h"
#include "sdk/gameevent/IGameEvent.h"
#include "sdk/tier1/bufferstring.h"
typedef bool(__fastcall* FireEventServerSide_t)(CGameEventManager*, IGameEvent*, bool);
typedef void(__fastcall* Host_Say_t)(void*, void*, bool, int, const char*);
typedef void(__fastcall* OnClientConnect_t)(void*, CPlayerSlot, const char*, uint64_t, const char*, const char*, bool);
extern FireEventServerSide_t original_FireEventServerSide;
extern Host_Say_t original_Host_Say;
namespace hooks {
auto init() -> bool;
auto unload() -> void;
}