2015-12-09 01:39:54 +03:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the
|
|
|
|
* Free Software Foundation; either version 2 of the License, or (at
|
|
|
|
* your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software Foundation,
|
|
|
|
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*
|
|
|
|
* In addition, as a special exception, the author gives permission to
|
|
|
|
* link the code of this program with the Half-Life Game Engine ("HL
|
|
|
|
* Engine") and Modified Game Libraries ("MODs") developed by Valve,
|
|
|
|
* L.L.C ("Valve"). You must obey the GNU General Public License in all
|
|
|
|
* respects for all of the code used other than the HL Engine and MODs
|
|
|
|
* from Valve. If you modify this file, you may extend this exception
|
|
|
|
* to your version of the file, but you are not obligated to do so. If
|
|
|
|
* you do not wish to do so, delete this exception statement from your
|
|
|
|
* version.
|
|
|
|
*
|
|
|
|
*/
|
2017-10-12 17:50:56 +03:00
|
|
|
|
2015-12-09 01:39:54 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "archtypes.h"
|
|
|
|
#include "regamedll_api.h"
|
2017-10-19 20:12:02 +03:00
|
|
|
|
|
|
|
#ifdef REGAMEDLL_API
|
|
|
|
|
|
|
|
#define __API_HOOK(fname)\
|
|
|
|
fname##_OrigFunc
|
|
|
|
|
|
|
|
#define LINK_HOOK_CLASS_VOID_CHAIN(className, functionName, args, ...)\
|
|
|
|
void className::functionName args {\
|
|
|
|
g_ReGameHookchains.m_##className##_##functionName.callChain(&className::functionName##_OrigFunc, this, __VA_ARGS__);\
|
|
|
|
}
|
|
|
|
#define LINK_HOOK_CLASS_VOID_CHAIN2(className, functionName)\
|
|
|
|
void EXT_FUNC className::functionName() {\
|
|
|
|
g_ReGameHookchains.m_##className##_##functionName.callChain(&className::functionName##_OrigFunc, this);\
|
|
|
|
}
|
|
|
|
|
|
|
|
#define LINK_HOOK_CLASS_CHAIN(ret, className, functionName, args, ...)\
|
|
|
|
ret className::functionName args {\
|
|
|
|
return g_ReGameHookchains.m_##className##_##functionName.callChain(&className::functionName##_OrigFunc, this, __VA_ARGS__);\
|
|
|
|
}
|
|
|
|
#define LINK_HOOK_CLASS_CHAIN2(ret, className, functionName)\
|
|
|
|
ret className::functionName() {\
|
|
|
|
return g_ReGameHookchains.m_##className##_##functionName.callChain(&className::functionName##_OrigFunc, this);\
|
|
|
|
}
|
|
|
|
|
2019-10-27 17:17:12 +03:00
|
|
|
#define LINK_HOOK_CLASS_CHAIN3(ret, className, subClassName, functionName)\
|
|
|
|
ret subClassName::functionName() {\
|
|
|
|
return g_ReGameHookchains.m_##className##_##functionName.callChain(reinterpret_cast<ret (className::*)()>(&subClassName::functionName##_OrigFunc), this);\
|
|
|
|
}
|
|
|
|
|
2017-10-19 20:12:02 +03:00
|
|
|
#define LINK_HOOK_CLASS_VOID_CUSTOM_CHAIN(className, customPrefix, functionName, args, ...)\
|
|
|
|
void className::functionName args {\
|
|
|
|
g_ReGameHookchains.m_##customPrefix##_##functionName.callChain(&className::functionName##_OrigFunc, this, __VA_ARGS__);\
|
|
|
|
}
|
|
|
|
#define LINK_HOOK_CLASS_VOID_CUSTOM_CHAIN2(className, customPrefix, functionName)\
|
|
|
|
void className::functionName() {\
|
|
|
|
g_ReGameHookchains.m_##customPrefix##_##functionName.callChain(&className::functionName##_OrigFunc, this);\
|
|
|
|
}
|
|
|
|
|
ReGameDLL API: Implemented hookchain's CSGameRules::CanPlayerHearPlayer, CBasePlayer::SwitchTeam, CBasePlayer::CanSwitchTeam, CBasePlayer::ThrowGrenade, CWeaponBox::SetModel, CGrenade::DefuseBombStart, CGrenade::DefuseBombEnd, CGrenade::ExplodeHeGrenade, CGrenade::ExplodeFlashbang, CGrenade::ExplodeSmokeGrenade, CGrenade::ExplodeBomb, ThrowHeGrenade, ThrowFlashbang, ThrowSmokeGrenade, PlantBomb
2018-01-27 19:31:30 +03:00
|
|
|
#define LINK_HOOK_CLASS_VOID_CUSTOM2_CHAIN(className, customFuncName, functionName, args, ...)\
|
|
|
|
void className::functionName args {\
|
|
|
|
g_ReGameHookchains.m_##className##_##customFuncName.callChain(&className::functionName##_OrigFunc, this, __VA_ARGS__);\
|
|
|
|
}
|
|
|
|
#define LINK_HOOK_CLASS_VOID_CUSTOM2_CHAIN2(className, customFuncName, functionName)\
|
|
|
|
void className::functionName() {\
|
|
|
|
g_ReGameHookchains.m_##className##_##customFuncName.callChain(&className::functionName##_OrigFunc, this);\
|
|
|
|
}
|
|
|
|
|
2017-10-19 20:12:02 +03:00
|
|
|
#define LINK_HOOK_CLASS_CUSTOM_CHAIN(ret, className, customPrefix, functionName, args, ...)\
|
|
|
|
ret className::functionName args {\
|
|
|
|
return g_ReGameHookchains.m_##customPrefix##_##functionName.callChain(&className::functionName##_OrigFunc, this, __VA_ARGS__);\
|
|
|
|
}
|
|
|
|
#define LINK_HOOK_CLASS_CUSTOM_CHAIN2(ret, className, customPrefix, functionName)\
|
|
|
|
ret className::functionName() {\
|
|
|
|
return g_ReGameHookchains.m_##customPrefix##_##functionName.callChain(&className::functionName##_OrigFunc, this);\
|
|
|
|
}
|
|
|
|
|
ReGameDLL API: Implemented hookchain's CSGameRules::CanPlayerHearPlayer, CBasePlayer::SwitchTeam, CBasePlayer::CanSwitchTeam, CBasePlayer::ThrowGrenade, CWeaponBox::SetModel, CGrenade::DefuseBombStart, CGrenade::DefuseBombEnd, CGrenade::ExplodeHeGrenade, CGrenade::ExplodeFlashbang, CGrenade::ExplodeSmokeGrenade, CGrenade::ExplodeBomb, ThrowHeGrenade, ThrowFlashbang, ThrowSmokeGrenade, PlantBomb
2018-01-27 19:31:30 +03:00
|
|
|
#define LINK_HOOK_CLASS_CUSTOM2_CHAIN(ret, className, customFuncName, functionName, args, ...)\
|
|
|
|
ret className::functionName args {\
|
|
|
|
return g_ReGameHookchains.m_##className##_##customFuncName.callChain(&className::functionName##_OrigFunc, this, __VA_ARGS__);\
|
|
|
|
}
|
|
|
|
#define LINK_HOOK_CLASS_CUSTOM2_CHAIN2(ret, className, customFuncName, functionName)\
|
|
|
|
ret className::functionName() {\
|
|
|
|
return g_ReGameHookchains.m_##className##_##customFuncName.callChain(&className::functionName##_OrigFunc, this);\
|
|
|
|
}
|
|
|
|
|
2017-10-19 20:12:02 +03:00
|
|
|
#define LINK_HOOK_VOID_CHAIN(functionName, args, ...)\
|
|
|
|
void functionName args {\
|
|
|
|
g_ReGameHookchains.m_##functionName.callChain(functionName##_OrigFunc, __VA_ARGS__);\
|
|
|
|
}
|
|
|
|
|
2021-04-12 17:51:51 +03:00
|
|
|
#define LINK_HOOK_VOID_CHAIN2(functionName)\
|
|
|
|
void functionName() {\
|
|
|
|
g_ReGameHookchains.m_##functionName.callChain(functionName##_OrigFunc);\
|
|
|
|
}
|
|
|
|
|
2017-10-19 20:12:02 +03:00
|
|
|
#define LINK_HOOK_CHAIN(ret, functionName, args, ...)\
|
|
|
|
ret functionName args {\
|
|
|
|
return g_ReGameHookchains.m_##functionName.callChain(functionName##_OrigFunc, __VA_ARGS__);\
|
|
|
|
}
|
|
|
|
|
2021-04-12 17:51:51 +03:00
|
|
|
#define LINK_HOOK_CHAIN2(ret, functionName)\
|
|
|
|
ret functionName() {\
|
|
|
|
return g_ReGameHookchains.m_##functionName.callChain(functionName##_OrigFunc);\
|
|
|
|
}
|
|
|
|
|
2020-05-27 05:56:24 +03:00
|
|
|
#define LINK_HOOK_GLOB_CLASS_VOID_CHAIN(className, functionName, args, ...)\
|
|
|
|
void className::functionName args {\
|
|
|
|
g_ReGameHookchains.m_##functionName.callChain(className::functionName##_OrigFunc, __VA_ARGS__);\
|
|
|
|
}
|
|
|
|
|
|
|
|
#define LINK_HOOK_GLOB_CLASS_CHAIN(ret, className, functionName, args, ...)\
|
|
|
|
ret className::functionName args {\
|
|
|
|
return g_ReGameHookchains.m_##functionName.callChain(className::functionName##_OrigFunc, __VA_ARGS__);\
|
|
|
|
}
|
|
|
|
|
ReGameDLL API: Implemented hookchain's CSGameRules::CanPlayerHearPlayer, CBasePlayer::SwitchTeam, CBasePlayer::CanSwitchTeam, CBasePlayer::ThrowGrenade, CWeaponBox::SetModel, CGrenade::DefuseBombStart, CGrenade::DefuseBombEnd, CGrenade::ExplodeHeGrenade, CGrenade::ExplodeFlashbang, CGrenade::ExplodeSmokeGrenade, CGrenade::ExplodeBomb, ThrowHeGrenade, ThrowFlashbang, ThrowSmokeGrenade, PlantBomb
2018-01-27 19:31:30 +03:00
|
|
|
#define LINK_HOOK_CUSTOM2_CHAIN(ret, customFuncName, functionName, args, ...)\
|
|
|
|
ret functionName args {\
|
|
|
|
return g_ReGameHookchains.m_##customFuncName.callChain(functionName##_OrigFunc, __VA_ARGS__);\
|
|
|
|
}
|
|
|
|
|
2021-04-12 17:51:51 +03:00
|
|
|
#else // REGAMEDLL_API
|
2017-10-19 20:12:02 +03:00
|
|
|
|
|
|
|
#define __API_HOOK(fname)\
|
|
|
|
fname
|
|
|
|
|
|
|
|
#define LINK_HOOK_CLASS_VOID_CHAIN(...)
|
|
|
|
#define LINK_HOOK_CLASS_VOID_CHAIN2(...)
|
|
|
|
#define LINK_HOOK_CLASS_CHAIN(...)
|
|
|
|
#define LINK_HOOK_CLASS_CHAIN2(...)
|
2019-10-27 17:17:12 +03:00
|
|
|
#define LINK_HOOK_CLASS_CHAIN3(...)
|
2017-10-19 20:12:02 +03:00
|
|
|
#define LINK_HOOK_CLASS_VOID_CUSTOM_CHAIN(...)
|
|
|
|
#define LINK_HOOK_CLASS_VOID_CUSTOM_CHAIN2(...)
|
2021-04-12 17:51:51 +03:00
|
|
|
#define LINK_HOOK_CLASS_VOID_CUSTOM2_CHAIN(...)
|
|
|
|
#define LINK_HOOK_CLASS_VOID_CUSTOM2_CHAIN2(...)
|
2017-10-19 20:12:02 +03:00
|
|
|
#define LINK_HOOK_CLASS_CUSTOM_CHAIN(...)
|
|
|
|
#define LINK_HOOK_CLASS_CUSTOM_CHAIN2(...)
|
2021-04-12 17:51:51 +03:00
|
|
|
#define LINK_HOOK_CLASS_CUSTOM2_CHAIN(...)
|
|
|
|
#define LINK_HOOK_CLASS_CUSTOM2_CHAIN2(...)
|
2017-10-19 20:12:02 +03:00
|
|
|
#define LINK_HOOK_VOID_CHAIN(...)
|
|
|
|
#define LINK_HOOK_VOID_CHAIN2(...)
|
|
|
|
#define LINK_HOOK_CHAIN(...)
|
|
|
|
#define LINK_HOOK_CHAIN2(...)
|
2020-05-27 05:56:24 +03:00
|
|
|
#define LINK_HOOK_GLOB_CLASS_VOID_CHAIN(...)
|
|
|
|
#define LINK_HOOK_GLOB_CLASS_CHAIN(...)
|
2021-04-12 17:51:51 +03:00
|
|
|
#define LINK_HOOK_CUSTOM2_CHAIN(...)
|
2017-10-19 20:12:02 +03:00
|
|
|
|
|
|
|
#endif // REGAMEDLL_API
|
2015-12-09 01:39:54 +03:00
|
|
|
|
2016-12-06 22:21:52 +03:00
|
|
|
#define GAMEHOOK_REGISTRY(func)\
|
2017-10-12 17:50:56 +03:00
|
|
|
IReGameHookRegistry_##func *CReGameHookchains::func() { return &m_##func; }
|
2016-12-06 22:21:52 +03:00
|
|
|
|
2016-04-05 03:12:05 +03:00
|
|
|
// CBasePlayer::Spawn hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer> CReGameHook_CBasePlayer_Spawn;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer> CReGameHookRegistry_CBasePlayer_Spawn;
|
2016-04-05 03:12:05 +03:00
|
|
|
|
|
|
|
// CBasePlayer::Precache hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer> CReGameHook_CBasePlayer_Precache;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer> CReGameHookRegistry_CBasePlayer_Precache;
|
2016-04-05 03:12:05 +03:00
|
|
|
|
|
|
|
// CBasePlayer::ObjectCaps hook
|
2016-05-30 14:19:56 +03:00
|
|
|
typedef IHookChainClassImpl<int, CBasePlayer> CReGameHook_CBasePlayer_ObjectCaps;
|
2016-04-05 03:12:05 +03:00
|
|
|
typedef IHookChainRegistryClassImpl<int, CBasePlayer> CReGameHookRegistry_CBasePlayer_ObjectCaps;
|
|
|
|
|
|
|
|
// CBasePlayer::Classify hook
|
2016-05-30 14:19:56 +03:00
|
|
|
typedef IHookChainClassImpl<int, CBasePlayer> CReGameHook_CBasePlayer_Classify;
|
2016-04-05 03:12:05 +03:00
|
|
|
typedef IHookChainRegistryClassImpl<int, CBasePlayer> CReGameHookRegistry_CBasePlayer_Classify;
|
|
|
|
|
|
|
|
// CBasePlayer::TraceAttack hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer, entvars_t *, float, Vector &, TraceResult *, int> CReGameHook_CBasePlayer_TraceAttack;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer, entvars_t *, float, Vector &, TraceResult *, int> CReGameHookRegistry_CBasePlayer_TraceAttack;
|
2016-04-05 03:12:05 +03:00
|
|
|
|
|
|
|
// CBasePlayer::TakeDamage hook
|
2016-06-18 17:48:19 +03:00
|
|
|
typedef IHookChainClassImpl<BOOL, CBasePlayer, entvars_t *, entvars_t *, float&, int> CReGameHook_CBasePlayer_TakeDamage;
|
|
|
|
typedef IHookChainRegistryClassImpl<BOOL, CBasePlayer, entvars_t *, entvars_t *, float&, int> CReGameHookRegistry_CBasePlayer_TakeDamage;
|
2016-04-05 03:12:05 +03:00
|
|
|
|
|
|
|
// CBasePlayer::TakeHealth hook
|
2016-06-18 17:48:19 +03:00
|
|
|
typedef IHookChainClassImpl<BOOL, CBasePlayer, float, int> CReGameHook_CBasePlayer_TakeHealth;
|
|
|
|
typedef IHookChainRegistryClassImpl<BOOL, CBasePlayer, float, int> CReGameHookRegistry_CBasePlayer_TakeHealth;
|
2016-04-05 03:12:05 +03:00
|
|
|
|
|
|
|
// CBasePlayer::Killed hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer, entvars_t *, int> CReGameHook_CBasePlayer_Killed;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer, entvars_t *, int> CReGameHookRegistry_CBasePlayer_Killed;
|
2016-04-05 03:12:05 +03:00
|
|
|
|
|
|
|
// CBasePlayer::AddPoints hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer, int, BOOL> CReGameHook_CBasePlayer_AddPoints;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer, int, BOOL> CReGameHookRegistry_CBasePlayer_AddPoints;
|
2016-04-05 03:12:05 +03:00
|
|
|
|
|
|
|
// CBasePlayer::AddPointsToTeam hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer, int, BOOL> CReGameHook_CBasePlayer_AddPointsToTeam;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer, int, BOOL> CReGameHookRegistry_CBasePlayer_AddPointsToTeam;
|
2016-04-05 03:12:05 +03:00
|
|
|
|
|
|
|
// CBasePlayer::AddPlayerItem hook
|
2016-05-30 14:19:56 +03:00
|
|
|
typedef IHookChainClassImpl<BOOL, CBasePlayer, CBasePlayerItem *> CReGameHook_CBasePlayer_AddPlayerItem;
|
2016-04-05 03:12:05 +03:00
|
|
|
typedef IHookChainRegistryClassImpl<BOOL, CBasePlayer, CBasePlayerItem *> CReGameHookRegistry_CBasePlayer_AddPlayerItem;
|
|
|
|
|
|
|
|
// CBasePlayer::RemovePlayerItem hook
|
2016-05-30 14:19:56 +03:00
|
|
|
typedef IHookChainClassImpl<BOOL, CBasePlayer, CBasePlayerItem *> CReGameHook_CBasePlayer_RemovePlayerItem;
|
2016-04-05 03:12:05 +03:00
|
|
|
typedef IHookChainRegistryClassImpl<BOOL, CBasePlayer, CBasePlayerItem *> CReGameHookRegistry_CBasePlayer_RemovePlayerItem;
|
|
|
|
|
|
|
|
// CBasePlayer::GiveAmmo hook
|
2017-07-25 19:51:04 +03:00
|
|
|
typedef IHookChainClassImpl<int, CBasePlayer, int , const char *, int> CReGameHook_CBasePlayer_GiveAmmo;
|
|
|
|
typedef IHookChainRegistryClassImpl<int, CBasePlayer, int , const char *, int> CReGameHookRegistry_CBasePlayer_GiveAmmo;
|
2016-04-05 03:12:05 +03:00
|
|
|
|
|
|
|
// CBasePlayer::ResetMaxSpeed hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer> CReGameHook_CBasePlayer_ResetMaxSpeed;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer> CReGameHookRegistry_CBasePlayer_ResetMaxSpeed;
|
2016-04-05 03:12:05 +03:00
|
|
|
|
|
|
|
// CBasePlayer::Jump hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer> CReGameHook_CBasePlayer_Jump;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer> CReGameHookRegistry_CBasePlayer_Jump;
|
2016-04-05 03:12:05 +03:00
|
|
|
|
|
|
|
// CBasePlayer::Duck hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer> CReGameHook_CBasePlayer_Duck;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer> CReGameHookRegistry_CBasePlayer_Duck;
|
2016-04-05 03:12:05 +03:00
|
|
|
|
|
|
|
// CBasePlayer::PreThink hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer> CReGameHook_CBasePlayer_PreThink;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer> CReGameHookRegistry_CBasePlayer_PreThink;
|
2016-04-05 03:12:05 +03:00
|
|
|
|
|
|
|
// CBasePlayer::PostThink hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer> CReGameHook_CBasePlayer_PostThink;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer> CReGameHookRegistry_CBasePlayer_PostThink;
|
2016-04-05 03:12:05 +03:00
|
|
|
|
|
|
|
// CBasePlayer::UpdateClientData hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer> CReGameHook_CBasePlayer_UpdateClientData;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer> CReGameHookRegistry_CBasePlayer_UpdateClientData;
|
2016-04-05 03:12:05 +03:00
|
|
|
|
|
|
|
// CBasePlayer::ImpulseCommands hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer> CReGameHook_CBasePlayer_ImpulseCommands;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer> CReGameHookRegistry_CBasePlayer_ImpulseCommands;
|
2016-04-05 03:12:05 +03:00
|
|
|
|
|
|
|
// CBasePlayer::RoundRespawn hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer> CReGameHook_CBasePlayer_RoundRespawn;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer> CReGameHookRegistry_CBasePlayer_RoundRespawn;
|
2016-04-05 03:12:05 +03:00
|
|
|
|
|
|
|
// CBasePlayer::Blind hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer, float, float, float, int> CReGameHook_CBasePlayer_Blind;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer, float, float, float, int> CReGameHookRegistry_CBasePlayer_Blind;
|
2016-04-05 03:12:05 +03:00
|
|
|
|
2016-04-07 23:20:45 +03:00
|
|
|
// CBasePlayer::Observer_IsValidTarget hook
|
2016-05-31 17:04:51 +03:00
|
|
|
typedef IHookChainClassImpl<CBasePlayer *, CBasePlayer, int, bool> CReGameHook_CBasePlayer_Observer_IsValidTarget;
|
|
|
|
typedef IHookChainRegistryClassImpl<CBasePlayer *, CBasePlayer, int, bool> CReGameHookRegistry_CBasePlayer_Observer_IsValidTarget;
|
2016-04-07 23:20:45 +03:00
|
|
|
|
|
|
|
// CBasePlayer::SetAnimation hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer, PLAYER_ANIM> CReGameHook_CBasePlayer_SetAnimation;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer, PLAYER_ANIM> CReGameHookRegistry_CBasePlayer_SetAnimation;
|
2016-04-05 03:12:05 +03:00
|
|
|
|
2016-04-07 23:20:45 +03:00
|
|
|
// CBasePlayer::GiveDefaultItems hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer> CReGameHook_CBasePlayer_GiveDefaultItems;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer> CReGameHookRegistry_CBasePlayer_GiveDefaultItems;
|
2016-04-05 03:12:05 +03:00
|
|
|
|
2016-04-07 23:20:45 +03:00
|
|
|
// CBasePlayer::GiveNamedItem hook
|
2016-12-06 22:21:52 +03:00
|
|
|
typedef IHookChainClassImpl<CBaseEntity *, CBasePlayer, const char *> CReGameHook_CBasePlayer_GiveNamedItem;
|
|
|
|
typedef IHookChainRegistryClassImpl<CBaseEntity *, CBasePlayer, const char *> CReGameHookRegistry_CBasePlayer_GiveNamedItem;
|
2016-04-05 03:12:05 +03:00
|
|
|
|
2016-04-07 23:20:45 +03:00
|
|
|
// CBasePlayer::AddAccount hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer, int, RewardType, bool> CReGameHook_CBasePlayer_AddAccount;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer, int, RewardType, bool> CReGameHookRegistry_CBasePlayer_AddAccount;
|
2016-04-05 03:12:05 +03:00
|
|
|
|
2016-05-25 16:56:48 +03:00
|
|
|
// CBasePlayer::GiveShield hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer, bool> CReGameHook_CBasePlayer_GiveShield;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer, bool> CReGameHookRegistry_CBasePlayer_GiveShield;
|
2016-04-05 03:12:05 +03:00
|
|
|
|
2016-05-30 14:19:56 +03:00
|
|
|
// CBasePlayer:SetClientUserInfoModel hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer, char *, char *> CReGameHook_CBasePlayer_SetClientUserInfoModel;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer, char *, char *> CReGameHookRegistry_CBasePlayer_SetClientUserInfoModel;
|
2016-04-07 23:20:45 +03:00
|
|
|
|
2016-06-03 18:32:33 +03:00
|
|
|
// CBasePlayer:SetClientUserInfoName hook
|
2016-12-06 22:21:52 +03:00
|
|
|
typedef IHookChainClassImpl<bool, CBasePlayer, char *, char *> CReGameHook_CBasePlayer_SetClientUserInfoName;
|
|
|
|
typedef IHookChainRegistryClassImpl<bool, CBasePlayer, char *, char *> CReGameHookRegistry_CBasePlayer_SetClientUserInfoName;
|
2016-06-03 18:32:33 +03:00
|
|
|
|
2016-06-20 22:32:02 +03:00
|
|
|
// CBasePlayer::HasRestrictItem hook
|
|
|
|
typedef IHookChainClassImpl<bool, CBasePlayer, ItemID, ItemRestType> CReGameHook_CBasePlayer_HasRestrictItem;
|
|
|
|
typedef IHookChainRegistryClassImpl<bool, CBasePlayer, ItemID, ItemRestType> CReGameHookRegistry_CBasePlayer_HasRestrictItem;
|
|
|
|
|
2016-06-20 13:50:59 +03:00
|
|
|
// CBasePlayer::DropPlayerItem hook
|
2017-10-12 17:50:56 +03:00
|
|
|
typedef IHookChainClassImpl<CBaseEntity *, CBasePlayer, const char *> CReGameHook_CBasePlayer_DropPlayerItem;
|
|
|
|
typedef IHookChainRegistryClassImpl<CBaseEntity *, CBasePlayer, const char *> CReGameHookRegistry_CBasePlayer_DropPlayerItem;
|
2016-06-20 13:50:59 +03:00
|
|
|
|
2016-12-06 22:21:52 +03:00
|
|
|
// CBasePlayer::DropShield hook
|
2017-10-12 17:50:56 +03:00
|
|
|
typedef IHookChainClassImpl<CBaseEntity *, CBasePlayer, bool> CReGameHook_CBasePlayer_DropShield;
|
|
|
|
typedef IHookChainRegistryClassImpl<CBaseEntity *, CBasePlayer, bool> CReGameHookRegistry_CBasePlayer_DropShield;
|
2016-12-06 22:21:52 +03:00
|
|
|
|
|
|
|
// CBasePlayer::OnSpawnEquip hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer, bool, bool> CReGameHook_CBasePlayer_OnSpawnEquip;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer, bool, bool> CReGameHookRegistry_CBasePlayer_OnSpawnEquip;
|
2016-12-06 22:21:52 +03:00
|
|
|
|
|
|
|
// CBasePlayer::Radio hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer, const char *, const char *, short, bool> CReGameHook_CBasePlayer_Radio;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer, const char *, const char *, short, bool> CReGameHookRegistry_CBasePlayer_Radio;
|
2016-12-06 22:21:52 +03:00
|
|
|
|
|
|
|
// CBasePlayer::Disappear hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer> CReGameHook_CBasePlayer_Disappear;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer> CReGameHookRegistry_CBasePlayer_Disappear;
|
2016-12-06 22:21:52 +03:00
|
|
|
|
|
|
|
// CBasePlayer::MakeVIP hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer> CReGameHook_CBasePlayer_MakeVIP;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer> CReGameHookRegistry_CBasePlayer_MakeVIP;
|
2016-12-06 22:21:52 +03:00
|
|
|
|
|
|
|
// CBasePlayer::MakeBomber hook
|
|
|
|
typedef IHookChainClassImpl<bool, CBasePlayer> CReGameHook_CBasePlayer_MakeBomber;
|
|
|
|
typedef IHookChainRegistryClassImpl<bool, CBasePlayer> CReGameHookRegistry_CBasePlayer_MakeBomber;
|
|
|
|
|
|
|
|
// CBasePlayer::StartObserver hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer, Vector &, Vector &> CReGameHook_CBasePlayer_StartObserver;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer, Vector &, Vector &> CReGameHookRegistry_CBasePlayer_StartObserver;
|
2016-12-06 22:21:52 +03:00
|
|
|
|
|
|
|
// CBasePlayer::GetIntoGame hook
|
|
|
|
typedef IHookChainClassImpl<bool, CBasePlayer> CReGameHook_CBasePlayer_GetIntoGame;
|
|
|
|
typedef IHookChainRegistryClassImpl<bool, CBasePlayer> CReGameHookRegistry_CBasePlayer_GetIntoGame;
|
|
|
|
|
2016-04-21 04:00:02 +03:00
|
|
|
// CBaseAnimating::ResetSequenceInfo hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, CBaseAnimating> CReGameHook_CBaseAnimating_ResetSequenceInfo;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBaseAnimating> CReGameHookRegistry_CBaseAnimating_ResetSequenceInfo;
|
2016-04-21 04:00:02 +03:00
|
|
|
|
2016-04-07 23:20:45 +03:00
|
|
|
// GetForceCamera hook
|
2015-12-09 01:39:54 +03:00
|
|
|
typedef IHookChainImpl<int, class CBasePlayer *> CReGameHook_GetForceCamera;
|
|
|
|
typedef IHookChainRegistryImpl<int, class CBasePlayer *> CReGameHookRegistry_GetForceCamera;
|
|
|
|
|
2016-04-07 23:20:45 +03:00
|
|
|
// PlayerBlind hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainImpl<void, CBasePlayer *, entvars_t *, entvars_t *, float, float, int, Vector &> CReGameHook_PlayerBlind;
|
|
|
|
typedef IHookChainRegistryImpl<void, CBasePlayer *, entvars_t *, entvars_t *, float, float, int, Vector &> CReGameHookRegistry_PlayerBlind;
|
2016-04-07 23:20:45 +03:00
|
|
|
|
|
|
|
// RadiusFlash_TraceLine hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainImpl<void, CBasePlayer *, entvars_t *, entvars_t *, Vector &, Vector &, TraceResult *> CReGameHook_RadiusFlash_TraceLine;
|
|
|
|
typedef IHookChainRegistryImpl<void, CBasePlayer *, entvars_t *, entvars_t *, Vector &, Vector &, TraceResult *> CReGameHookRegistry_RadiusFlash_TraceLine;
|
2016-04-07 23:20:45 +03:00
|
|
|
|
2016-05-01 17:33:54 +03:00
|
|
|
// RoundEnd hook
|
2016-04-24 16:52:16 +03:00
|
|
|
typedef IHookChainClassImpl<bool, class CHalfLifeMultiplay, int, ScenarioEventEndRound, float> CReGameHook_RoundEnd;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<bool, class CHalfLifeMultiplay, int, ScenarioEventEndRound, float> CReGameHookRegistry_RoundEnd;
|
|
|
|
|
2016-05-01 20:22:37 +03:00
|
|
|
// InstallGameRules hook
|
|
|
|
typedef IHookChainImpl<CGameRules *> CReGameHook_InstallGameRules;
|
|
|
|
typedef IHookChainRegistryImpl<CGameRules *> CReGameHookRegistry_InstallGameRules;
|
|
|
|
|
2016-05-16 18:30:14 +03:00
|
|
|
// PM_Init hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainImpl<void, struct playermove_s *> CReGameHook_PM_Init;
|
|
|
|
typedef IHookChainRegistryImpl<void, struct playermove_s *> CReGameHookRegistry_PM_Init;
|
2016-05-16 18:30:14 +03:00
|
|
|
|
|
|
|
// PM_Move hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainImpl<void, struct playermove_s *, int> CReGameHook_PM_Move;
|
|
|
|
typedef IHookChainRegistryImpl<void, struct playermove_s *, int> CReGameHookRegistry_PM_Move;
|
2016-05-16 18:30:14 +03:00
|
|
|
|
|
|
|
// PM_AirMove hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainImpl<void, int> CReGameHook_PM_AirMove;
|
|
|
|
typedef IHookChainRegistryImpl<void, int> CReGameHookRegistry_PM_AirMove;
|
2016-05-17 21:01:46 +03:00
|
|
|
|
2016-05-19 12:57:36 +03:00
|
|
|
// HandleMenu_ChooseAppearance hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainImpl<void, CBasePlayer *, int> CReGameHook_HandleMenu_ChooseAppearance;
|
|
|
|
typedef IHookChainRegistryImpl<void, CBasePlayer *, int> CReGameHookRegistry_HandleMenu_ChooseAppearance;
|
2016-05-19 12:57:36 +03:00
|
|
|
|
|
|
|
// HandleMenu_ChooseTeam hook
|
|
|
|
typedef IHookChainImpl<BOOL, CBasePlayer *, int> CReGameHook_HandleMenu_ChooseTeam;
|
|
|
|
typedef IHookChainRegistryImpl<BOOL, CBasePlayer *, int> CReGameHookRegistry_HandleMenu_ChooseTeam;
|
|
|
|
|
2016-05-23 01:51:21 +03:00
|
|
|
// ShowMenu hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainImpl<void, CBasePlayer *, int, int, BOOL, char *> CReGameHook_ShowMenu;
|
|
|
|
typedef IHookChainRegistryImpl<void, CBasePlayer *, int, int, BOOL, char *> CReGameHookRegistry_ShowMenu;
|
2016-05-23 01:51:21 +03:00
|
|
|
|
|
|
|
// ShowVGUIMenu hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainImpl<void, CBasePlayer *, int, int, char *> CReGameHook_ShowVGUIMenu;
|
|
|
|
typedef IHookChainRegistryImpl<void, CBasePlayer *, int, int, char *> CReGameHookRegistry_ShowVGUIMenu;
|
2016-05-23 01:51:21 +03:00
|
|
|
|
2016-12-06 22:21:52 +03:00
|
|
|
// BuyGunAmmo hook
|
|
|
|
typedef IHookChainImpl<bool, CBasePlayer *, CBasePlayerItem *, bool> CReGameHook_BuyGunAmmo;
|
|
|
|
typedef IHookChainRegistryImpl<bool, CBasePlayer *, CBasePlayerItem *, bool> CReGameHookRegistry_BuyGunAmmo;
|
|
|
|
|
|
|
|
// BuyWeaponByWeaponID hook
|
|
|
|
typedef IHookChainImpl<CBaseEntity *, CBasePlayer *, WeaponIdType> CReGameHook_BuyWeaponByWeaponID;
|
|
|
|
typedef IHookChainRegistryImpl<CBaseEntity *, CBasePlayer *, WeaponIdType> CReGameHookRegistry_BuyWeaponByWeaponID;
|
|
|
|
|
|
|
|
// InternalCommand hook
|
2017-01-20 17:52:37 +03:00
|
|
|
typedef IHookChainImpl<void, edict_t *, const char *, const char *> CReGameHook_InternalCommand;
|
|
|
|
typedef IHookChainRegistryImpl<void, edict_t *, const char *, const char *> CReGameHookRegistry_InternalCommand;
|
2016-12-06 22:21:52 +03:00
|
|
|
|
2016-05-17 21:01:46 +03:00
|
|
|
// CHalfLifeMultiplay::FShouldSwitchWeapon hook
|
|
|
|
typedef IHookChainClassImpl<BOOL, class CHalfLifeMultiplay, CBasePlayer *, CBasePlayerItem *> CReGameHook_CSGameRules_FShouldSwitchWeapon;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<BOOL, class CHalfLifeMultiplay, CBasePlayer *, CBasePlayerItem *> CReGameHookRegistry_CSGameRules_FShouldSwitchWeapon;
|
|
|
|
|
|
|
|
// CHalfLifeMultiplay::GetNextBestWeapon hook
|
|
|
|
typedef IHookChainClassImpl<BOOL, class CHalfLifeMultiplay, CBasePlayer *, CBasePlayerItem *> CReGameHook_CSGameRules_GetNextBestWeapon;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<BOOL, class CHalfLifeMultiplay, CBasePlayer *, CBasePlayerItem *> CReGameHookRegistry_CSGameRules_GetNextBestWeapon;
|
|
|
|
|
|
|
|
// CHalfLifeMultiplay::FlPlayerFallDamage hook
|
|
|
|
typedef IHookChainClassImpl<float, class CHalfLifeMultiplay, CBasePlayer *> CReGameHook_CSGameRules_FlPlayerFallDamage;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<float, class CHalfLifeMultiplay, CBasePlayer *> CReGameHookRegistry_CSGameRules_FlPlayerFallDamage;
|
|
|
|
|
|
|
|
// CHalfLifeMultiplay::FPlayerCanTakeDamage hook
|
|
|
|
typedef IHookChainClassImpl<BOOL, class CHalfLifeMultiplay, CBasePlayer *, CBaseEntity *> CReGameHook_CSGameRules_FPlayerCanTakeDamage;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<BOOL, class CHalfLifeMultiplay, CBasePlayer *, CBaseEntity *> CReGameHookRegistry_CSGameRules_FPlayerCanTakeDamage;
|
|
|
|
|
|
|
|
// CHalfLifeMultiplay::PlayerSpawn hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, class CHalfLifeMultiplay, CBasePlayer *> CReGameHook_CSGameRules_PlayerSpawn;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<void, class CHalfLifeMultiplay, CBasePlayer *> CReGameHookRegistry_CSGameRules_PlayerSpawn;
|
2016-05-17 21:01:46 +03:00
|
|
|
|
|
|
|
// CHalfLifeMultiplay::FPlayerCanRespawn hook
|
|
|
|
typedef IHookChainClassImpl<BOOL, class CHalfLifeMultiplay, CBasePlayer *> CReGameHook_CSGameRules_FPlayerCanRespawn;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<BOOL, class CHalfLifeMultiplay, CBasePlayer *> CReGameHookRegistry_CSGameRules_FPlayerCanRespawn;
|
|
|
|
|
|
|
|
// CHalfLifeMultiplay::GetPlayerSpawnSpot hook
|
|
|
|
typedef IHookChainClassImpl<edict_t *, class CHalfLifeMultiplay, CBasePlayer *> CReGameHook_CSGameRules_GetPlayerSpawnSpot;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<edict_t *, class CHalfLifeMultiplay, CBasePlayer *> CReGameHookRegistry_CSGameRules_GetPlayerSpawnSpot;
|
|
|
|
|
|
|
|
// CHalfLifeMultiplay::ClientUserInfoChanged hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, class CHalfLifeMultiplay, CBasePlayer *, char *> CReGameHook_CSGameRules_ClientUserInfoChanged;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<void, class CHalfLifeMultiplay, CBasePlayer *, char *> CReGameHookRegistry_CSGameRules_ClientUserInfoChanged;
|
2016-05-17 21:01:46 +03:00
|
|
|
|
|
|
|
// CHalfLifeMultiplay::PlayerKilled hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, class CHalfLifeMultiplay, CBasePlayer *, entvars_t *, entvars_t *> CReGameHook_CSGameRules_PlayerKilled;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<void, class CHalfLifeMultiplay, CBasePlayer *, entvars_t *, entvars_t *> CReGameHookRegistry_CSGameRules_PlayerKilled;
|
2016-05-17 21:01:46 +03:00
|
|
|
|
|
|
|
// CHalfLifeMultiplay::DeathNotice hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, class CHalfLifeMultiplay, CBasePlayer *, entvars_t *, entvars_t *> CReGameHook_CSGameRules_DeathNotice;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<void, class CHalfLifeMultiplay, CBasePlayer *, entvars_t *, entvars_t *> CReGameHookRegistry_CSGameRules_DeathNotice;
|
2016-05-17 21:01:46 +03:00
|
|
|
|
|
|
|
// CHalfLifeMultiplay::CanHavePlayerItem hook
|
|
|
|
typedef IHookChainClassImpl<BOOL, class CHalfLifeMultiplay, CBasePlayer *, CBasePlayerItem *> CReGameHook_CSGameRules_CanHavePlayerItem;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<BOOL, class CHalfLifeMultiplay, CBasePlayer *, CBasePlayerItem *> CReGameHookRegistry_CSGameRules_CanHavePlayerItem;
|
|
|
|
|
|
|
|
// CHalfLifeMultiplay::DeadPlayerWeapons hook
|
|
|
|
typedef IHookChainClassImpl<int, class CHalfLifeMultiplay, CBasePlayer *> CReGameHook_CSGameRules_DeadPlayerWeapons;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<int, class CHalfLifeMultiplay, CBasePlayer *> CReGameHookRegistry_CSGameRules_DeadPlayerWeapons;
|
|
|
|
|
|
|
|
// CHalfLifeMultiplay::ServerDeactivate hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, class CHalfLifeMultiplay> CReGameHook_CSGameRules_ServerDeactivate;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<void, class CHalfLifeMultiplay> CReGameHookRegistry_CSGameRules_ServerDeactivate;
|
2016-05-17 21:01:46 +03:00
|
|
|
|
|
|
|
// CHalfLifeMultiplay::CheckMapConditions hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, class CHalfLifeMultiplay> CReGameHook_CSGameRules_CheckMapConditions;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<void, class CHalfLifeMultiplay> CReGameHookRegistry_CSGameRules_CheckMapConditions;
|
2016-05-17 21:01:46 +03:00
|
|
|
|
|
|
|
// CHalfLifeMultiplay::CleanUpMap hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, class CHalfLifeMultiplay> CReGameHook_CSGameRules_CleanUpMap;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<void, class CHalfLifeMultiplay> CReGameHookRegistry_CSGameRules_CleanUpMap;
|
2016-05-17 21:01:46 +03:00
|
|
|
|
|
|
|
// CHalfLifeMultiplay::RestartRound hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, class CHalfLifeMultiplay> CReGameHook_CSGameRules_RestartRound;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<void, class CHalfLifeMultiplay> CReGameHookRegistry_CSGameRules_RestartRound;
|
2016-05-17 21:01:46 +03:00
|
|
|
|
|
|
|
// CHalfLifeMultiplay::CheckWinConditions hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, class CHalfLifeMultiplay> CReGameHook_CSGameRules_CheckWinConditions;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<void, class CHalfLifeMultiplay> CReGameHookRegistry_CSGameRules_CheckWinConditions;
|
2016-05-17 21:01:46 +03:00
|
|
|
|
|
|
|
// CHalfLifeMultiplay::RemoveGuns hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, class CHalfLifeMultiplay> CReGameHook_CSGameRules_RemoveGuns;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<void, class CHalfLifeMultiplay> CReGameHookRegistry_CSGameRules_RemoveGuns;
|
2016-05-17 21:01:46 +03:00
|
|
|
|
|
|
|
// CHalfLifeMultiplay::GiveC4 hook
|
2023-10-08 16:59:45 +03:00
|
|
|
typedef IHookChainClassImpl<CBasePlayer *, class CHalfLifeMultiplay> CReGameHook_CSGameRules_GiveC4;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<CBasePlayer *, class CHalfLifeMultiplay> CReGameHookRegistry_CSGameRules_GiveC4;
|
2016-05-17 21:01:46 +03:00
|
|
|
|
|
|
|
// CHalfLifeMultiplay::ChangeLevel hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, class CHalfLifeMultiplay> CReGameHook_CSGameRules_ChangeLevel;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<void, class CHalfLifeMultiplay> CReGameHookRegistry_CSGameRules_ChangeLevel;
|
2016-05-17 21:01:46 +03:00
|
|
|
|
|
|
|
// CHalfLifeMultiplay::GoToIntermission hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, class CHalfLifeMultiplay> CReGameHook_CSGameRules_GoToIntermission;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<void, class CHalfLifeMultiplay> CReGameHookRegistry_CSGameRules_GoToIntermission;
|
2016-05-17 21:01:46 +03:00
|
|
|
|
|
|
|
// CHalfLifeMultiplay::BalanceTeams hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, class CHalfLifeMultiplay> CReGameHook_CSGameRules_BalanceTeams;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<void, class CHalfLifeMultiplay> CReGameHookRegistry_CSGameRules_BalanceTeams;
|
2016-05-16 18:30:14 +03:00
|
|
|
|
2016-12-06 22:21:52 +03:00
|
|
|
// CHalfLifeMultiplay::OnRoundFreezeEnd hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainClassImpl<void, class CHalfLifeMultiplay> CReGameHook_CSGameRules_OnRoundFreezeEnd;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<void, class CHalfLifeMultiplay> CReGameHookRegistry_CSGameRules_OnRoundFreezeEnd;
|
2016-12-06 22:21:52 +03:00
|
|
|
|
ReGameDLL API: Implemented hookchain's CSGameRules::CanPlayerHearPlayer, CBasePlayer::SwitchTeam, CBasePlayer::CanSwitchTeam, CBasePlayer::ThrowGrenade, CWeaponBox::SetModel, CGrenade::DefuseBombStart, CGrenade::DefuseBombEnd, CGrenade::ExplodeHeGrenade, CGrenade::ExplodeFlashbang, CGrenade::ExplodeSmokeGrenade, CGrenade::ExplodeBomb, ThrowHeGrenade, ThrowFlashbang, ThrowSmokeGrenade, PlantBomb
2018-01-27 19:31:30 +03:00
|
|
|
// CSGameRules::CanPlayerHearPlayer hook
|
|
|
|
typedef IHookChainClassImpl<bool, CCStrikeGameMgrHelper, CBasePlayer *, CBasePlayer *> CReGameHook_CSGameRules_CanPlayerHearPlayer;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<bool, CCStrikeGameMgrHelper, CBasePlayer *, CBasePlayer *> CReGameHookRegistry_CSGameRules_CanPlayerHearPlayer;
|
|
|
|
|
2017-01-04 00:52:03 +03:00
|
|
|
// PM_UpdateStepSound hook
|
2017-01-31 23:03:48 +03:00
|
|
|
typedef IHookChainImpl<void> CReGameHook_PM_UpdateStepSound;
|
|
|
|
typedef IHookChainRegistryImpl<void> CReGameHookRegistry_PM_UpdateStepSound;
|
2017-01-04 00:52:03 +03:00
|
|
|
|
2017-06-25 16:21:38 +03:00
|
|
|
// CBasePlayer::StartDeathCam hook
|
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer> CReGameHook_CBasePlayer_StartDeathCam;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer> CReGameHookRegistry_CBasePlayer_StartDeathCam;
|
|
|
|
|
ReGameDLL API: Implemented hookchain's CSGameRules::CanPlayerHearPlayer, CBasePlayer::SwitchTeam, CBasePlayer::CanSwitchTeam, CBasePlayer::ThrowGrenade, CWeaponBox::SetModel, CGrenade::DefuseBombStart, CGrenade::DefuseBombEnd, CGrenade::ExplodeHeGrenade, CGrenade::ExplodeFlashbang, CGrenade::ExplodeSmokeGrenade, CGrenade::ExplodeBomb, ThrowHeGrenade, ThrowFlashbang, ThrowSmokeGrenade, PlantBomb
2018-01-27 19:31:30 +03:00
|
|
|
// CBasePlayer::SwitchTeam hook
|
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer> CReGameHook_CBasePlayer_SwitchTeam;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer> CReGameHookRegistry_CBasePlayer_SwitchTeam;
|
|
|
|
|
|
|
|
// CBasePlayer::CanSwitchTeam hook
|
|
|
|
typedef IHookChainClassImpl<bool, CBasePlayer, TeamName> CReGameHook_CBasePlayer_CanSwitchTeam;
|
|
|
|
typedef IHookChainRegistryClassImpl<bool, CBasePlayer, TeamName> CReGameHookRegistry_CBasePlayer_CanSwitchTeam;
|
|
|
|
|
|
|
|
// CBasePlayer::ThrowGrenade hook
|
|
|
|
typedef IHookChainClassImpl<CGrenade *, CBasePlayer, CBasePlayerWeapon *, Vector &, Vector &, float, unsigned short> CReGameHook_CBasePlayer_ThrowGrenade;
|
|
|
|
typedef IHookChainRegistryClassImpl<CGrenade *, CBasePlayer, CBasePlayerWeapon *, Vector &, Vector &, float, unsigned short> CReGameHookRegistry_CBasePlayer_ThrowGrenade;
|
|
|
|
|
|
|
|
// CWeaponBox::SetModel hook
|
|
|
|
typedef IHookChainClassImpl<void, CWeaponBox, const char *> CReGameHook_CWeaponBox_SetModel;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CWeaponBox, const char *> CReGameHookRegistry_CWeaponBox_SetModel;
|
|
|
|
|
|
|
|
// CGrenade::DefuseBombStart hook
|
|
|
|
typedef IHookChainClassImpl<void, CGrenade, CBasePlayer *> CReGameHook_CGrenade_DefuseBombStart;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CGrenade, CBasePlayer *> CReGameHookRegistry_CGrenade_DefuseBombStart;
|
|
|
|
|
|
|
|
// CGrenade::DefuseBombEnd hook
|
|
|
|
typedef IHookChainClassImpl<void, CGrenade, CBasePlayer *, bool> CReGameHook_CGrenade_DefuseBombEnd;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CGrenade, CBasePlayer *, bool> CReGameHookRegistry_CGrenade_DefuseBombEnd;
|
|
|
|
|
|
|
|
// CGrenade::ExplodeHeGrenade hook
|
|
|
|
typedef IHookChainClassImpl<void, CGrenade, TraceResult *, int> CReGameHook_CGrenade_ExplodeHeGrenade;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CGrenade, TraceResult *, int> CReGameHookRegistry_CGrenade_ExplodeHeGrenade;
|
|
|
|
|
|
|
|
// CGrenade::ExplodeFlashbang hook
|
|
|
|
typedef IHookChainClassImpl<void, CGrenade, TraceResult *, int> CReGameHook_CGrenade_ExplodeFlashbang;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CGrenade, TraceResult *, int> CReGameHookRegistry_CGrenade_ExplodeFlashbang;
|
|
|
|
|
|
|
|
// CGrenade::ExplodeSmokeGrenade hook
|
|
|
|
typedef IHookChainClassImpl<void, CGrenade> CReGameHook_CGrenade_ExplodeSmokeGrenade;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CGrenade> CReGameHookRegistry_CGrenade_ExplodeSmokeGrenade;
|
|
|
|
|
|
|
|
// CGrenade::ExplodeBomb hook
|
|
|
|
typedef IHookChainClassImpl<void, CGrenade, TraceResult *, int> CReGameHook_CGrenade_ExplodeBomb;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CGrenade, TraceResult *, int> CReGameHookRegistry_CGrenade_ExplodeBomb;
|
|
|
|
|
|
|
|
// ThrowHeGrenade hook
|
|
|
|
typedef IHookChainImpl<CGrenade *, entvars_t *, Vector &, Vector &, float, int, unsigned short> CReGameHook_ThrowHeGrenade;
|
|
|
|
typedef IHookChainRegistryImpl<CGrenade *, entvars_t *, Vector &, Vector &, float, int, unsigned short> CReGameHookRegistry_ThrowHeGrenade;
|
|
|
|
|
|
|
|
// ThrowFlashbang hook
|
|
|
|
typedef IHookChainImpl<CGrenade *, entvars_t *, Vector &, Vector &, float> CReGameHook_ThrowFlashbang;
|
|
|
|
typedef IHookChainRegistryImpl<CGrenade *, entvars_t *, Vector &, Vector &, float> CReGameHookRegistry_ThrowFlashbang;
|
|
|
|
|
|
|
|
// ThrowSmokeGrenade hook
|
|
|
|
typedef IHookChainImpl<CGrenade *, entvars_t *, Vector &, Vector &, float, unsigned short> CReGameHook_ThrowSmokeGrenade;
|
|
|
|
typedef IHookChainRegistryImpl<CGrenade *, entvars_t *, Vector &, Vector &, float, unsigned short> CReGameHookRegistry_ThrowSmokeGrenade;
|
|
|
|
|
|
|
|
// PlantBomb hook
|
|
|
|
typedef IHookChainImpl<CGrenade *, entvars_t *, Vector &, Vector &> CReGameHook_PlantBomb;
|
|
|
|
typedef IHookChainRegistryImpl<CGrenade *, entvars_t *, Vector &, Vector &> CReGameHookRegistry_PlantBomb;
|
|
|
|
|
2018-02-18 14:31:24 +03:00
|
|
|
// CBasePlayer::SetSpawnProtection hook
|
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer, float> CReGameHook_CBasePlayer_SetSpawnProtection;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer, float> CReGameHookRegistry_CBasePlayer_SetSpawnProtection;
|
|
|
|
|
|
|
|
// CBasePlayer::RemoveSpawnProtection hook
|
|
|
|
typedef IHookChainImpl<void, CBasePlayer> CReGameHook_CBasePlayer_RemoveSpawnProtection;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer> CReGameHookRegistry_CBasePlayer_RemoveSpawnProtection;
|
|
|
|
|
2018-04-09 03:28:14 +03:00
|
|
|
// IsPenetrableEntity hook
|
|
|
|
typedef IHookChainImpl<bool, Vector &, Vector &, entvars_t *, edict_t *> CReGameHook_IsPenetrableEntity;
|
|
|
|
typedef IHookChainRegistryImpl<bool, Vector &, Vector &, entvars_t *, edict_t *> CReGameHookRegistry_IsPenetrableEntity;
|
|
|
|
|
2019-06-05 22:57:40 +03:00
|
|
|
// CBasePlayer::HintMessage hook
|
|
|
|
typedef IHookChainClassImpl<bool, CBasePlayer, const char *, float, bool, bool> CReGameHook_CBasePlayer_HintMessageEx;
|
|
|
|
typedef IHookChainRegistryClassImpl<bool, CBasePlayer, const char *, float, bool, bool> CReGameHookRegistry_CBasePlayer_HintMessageEx;
|
|
|
|
|
2019-08-29 16:34:22 +03:00
|
|
|
// CBasePlayer::UseEmpty hook
|
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer> CReGameHook_CBasePlayer_UseEmpty;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer> CReGameHookRegistry_CBasePlayer_UseEmpty;
|
|
|
|
|
2019-10-27 17:17:12 +03:00
|
|
|
// CBasePlayerWeapon::CanDeploy hook
|
|
|
|
typedef IHookChainClassImpl<BOOL, CBasePlayerWeapon> CReGameHook_CBasePlayerWeapon_CanDeploy;
|
|
|
|
typedef IHookChainRegistryClassImpl<BOOL, CBasePlayerWeapon> CReGameHookRegistry_CBasePlayerWeapon_CanDeploy;
|
|
|
|
|
|
|
|
// CBasePlayerWeapon::DefaultDeploy hook
|
|
|
|
typedef IHookChainClassImpl<BOOL, CBasePlayerWeapon, char *, char *, int, char *, int> CReGameHook_CBasePlayerWeapon_DefaultDeploy;
|
|
|
|
typedef IHookChainRegistryClassImpl<BOOL, CBasePlayerWeapon, char *, char *, int, char *, int> CReGameHookRegistry_CBasePlayerWeapon_DefaultDeploy;
|
|
|
|
|
|
|
|
// CBasePlayerWeapon::DefaultReload hook
|
|
|
|
typedef IHookChainClassImpl<int, CBasePlayerWeapon, int, int, float> CReGameHook_CBasePlayerWeapon_DefaultReload;
|
|
|
|
typedef IHookChainRegistryClassImpl<int, CBasePlayerWeapon, int, int, float> CReGameHookRegistry_CBasePlayerWeapon_DefaultReload;
|
|
|
|
|
|
|
|
// CBasePlayerWeapon::DefaultShotgunReload hook
|
|
|
|
typedef IHookChainClassImpl<bool, CBasePlayerWeapon, int, int, float, float, const char *, const char *> CReGameHook_CBasePlayerWeapon_DefaultShotgunReload;
|
|
|
|
typedef IHookChainRegistryClassImpl<bool, CBasePlayerWeapon, int, int, float, float, const char *, const char *> CReGameHookRegistry_CBasePlayerWeapon_DefaultShotgunReload;
|
|
|
|
|
2019-11-02 11:48:23 +03:00
|
|
|
// CBasePlayer::DropIdlePlayer hook
|
2020-05-27 05:56:24 +03:00
|
|
|
typedef IHookChainClassImpl<void, class CBasePlayer, const char *> CReGameHook_CBasePlayer_DropIdlePlayer;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, class CBasePlayer, const char *> CReGameHookRegistry_CBasePlayer_DropIdlePlayer;
|
2019-11-02 11:48:23 +03:00
|
|
|
|
2020-03-27 05:17:41 +03:00
|
|
|
// CreateWeaponBox hook
|
2020-04-02 13:39:29 +03:00
|
|
|
typedef IHookChainImpl<CWeaponBox *, CBasePlayerItem *, CBasePlayer *, const char *, Vector &, Vector &, Vector &, float, bool> CReGameHook_CreateWeaponBox;
|
|
|
|
typedef IHookChainRegistryImpl<CWeaponBox *, CBasePlayerItem *, CBasePlayer *, const char *, Vector &, Vector &, Vector &, float, bool> CReGameHookRegistry_CreateWeaponBox;
|
2020-03-27 05:17:41 +03:00
|
|
|
|
2020-05-27 05:56:24 +03:00
|
|
|
// SpawnHeadGib hook
|
|
|
|
typedef IHookChainImpl<class CGib *, entvars_t *> CReGameHook_SpawnHeadGib;
|
|
|
|
typedef IHookChainRegistryImpl<class CGib *, entvars_t *> CReGameHookRegistry_SpawnHeadGib;
|
|
|
|
|
|
|
|
// SpawnRandomGibs hook
|
|
|
|
typedef IHookChainImpl<void, entvars_t *, int, int> CReGameHook_SpawnRandomGibs;
|
|
|
|
typedef IHookChainRegistryImpl<void, entvars_t *, int, int> CReGameHookRegistry_SpawnRandomGibs;
|
|
|
|
|
|
|
|
// CGib::Spawn hook
|
|
|
|
typedef IHookChainClassImpl<void, class CGib, const char *> CReGameHook_CGib_Spawn;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, class CGib, const char *> CReGameHookRegistry_CGib_Spawn;
|
|
|
|
|
|
|
|
// CGib::BounceGibTouch hook
|
|
|
|
typedef IHookChainClassImpl<void, class CGib, CBaseEntity *> CReGameHook_CGib_BounceGibTouch;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, class CGib, CBaseEntity *> CReGameHookRegistry_CGib_BounceGibTouch;
|
|
|
|
|
|
|
|
// CGib::WaitTillLand hook
|
|
|
|
typedef IHookChainClassImpl<void, class CGib> CReGameHook_CGib_WaitTillLand;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, class CGib> CReGameHookRegistry_CGib_WaitTillLand;
|
|
|
|
|
2020-11-28 01:55:14 +03:00
|
|
|
// CBaseEntity::FireBullets hook
|
|
|
|
typedef IHookChainClassImpl<void, class CBaseEntity, ULONG, Vector &, Vector &, Vector &, float, int, int, int, entvars_t *> CReGameHook_CBaseEntity_FireBullets;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, class CBaseEntity, ULONG, Vector &, Vector &, Vector &, float, int, int, int, entvars_t *> CReGameHookRegistry_CBaseEntity_FireBullets;
|
|
|
|
|
|
|
|
// CBaseEntity::FireBuckshots hook
|
|
|
|
typedef IHookChainClassImpl<void, class CBaseEntity, ULONG, Vector &, Vector &, Vector &, float, int, int, entvars_t *> CReGameHook_CBaseEntity_FireBuckshots;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, class CBaseEntity, ULONG, Vector &, Vector &, Vector &, float, int, int, entvars_t *> CReGameHookRegistry_CBaseEntity_FireBuckshots;
|
|
|
|
|
|
|
|
// CBaseEntity::FireBullets3 hook
|
|
|
|
typedef IHookChainClassImpl<Vector &, class CBaseEntity, Vector &, Vector &, float, float, int, int, int, float, entvars_t *, bool, int> CReGameHook_CBaseEntity_FireBullets3;
|
|
|
|
typedef IHookChainRegistryClassImpl<Vector &, class CBaseEntity, Vector &, Vector &, float, float, int, int, int, float, entvars_t *, bool, int> CReGameHookRegistry_CBaseEntity_FireBullets3;
|
|
|
|
|
2021-08-31 15:07:21 +03:00
|
|
|
// CBasePlayer::Observer_SetMode hook
|
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer, int> CReGameHook_CBasePlayer_Observer_SetMode;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer, int> CReGameHookRegistry_CBasePlayer_Observer_SetMode;
|
|
|
|
|
2021-08-31 22:04:32 +03:00
|
|
|
// CBasePlayer::Observer_FindNextPlayer hook
|
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer, bool, const char *> CReGameHook_CBasePlayer_Observer_FindNextPlayer;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer, bool, const char *> CReGameHookRegistry_CBasePlayer_Observer_FindNextPlayer;
|
|
|
|
|
2021-08-29 07:12:25 +03:00
|
|
|
// CBasePlayer::Pain hook
|
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer, int, bool> CReGameHook_CBasePlayer_Pain;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer, int, bool> CReGameHookRegistry_CBasePlayer_Pain;
|
|
|
|
|
|
|
|
// CBasePlayer::DeathSound hook
|
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer> CReGameHook_CBasePlayer_DeathSound;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer> CReGameHookRegistry_CBasePlayer_DeathSound;
|
|
|
|
|
|
|
|
// CBasePlayer::JoiningThink hook
|
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer> CReGameHook_CBasePlayer_JoiningThink;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer> CReGameHookRegistry_CBasePlayer_JoiningThink;
|
|
|
|
|
2023-03-12 22:33:15 +03:00
|
|
|
// FreeGameRules hook
|
|
|
|
typedef IHookChainImpl<void, CGameRules **> CReGameHook_FreeGameRules;
|
|
|
|
typedef IHookChainRegistryImpl<void, CGameRules **> CReGameHookRegistry_FreeGameRules;
|
|
|
|
|
2023-09-05 06:43:40 +03:00
|
|
|
// PM_LadderMove hook
|
|
|
|
typedef IHookChainImpl<void, struct physent_s *> CReGameHook_PM_LadderMove;
|
|
|
|
typedef IHookChainRegistryImpl<void, struct physent_s *> CReGameHookRegistry_PM_LadderMove;
|
|
|
|
|
|
|
|
// PM_WaterJump hook
|
|
|
|
typedef IHookChainImpl<void> CReGameHook_PM_WaterJump;
|
|
|
|
typedef IHookChainRegistryImpl<void> CReGameHookRegistry_PM_WaterJump;
|
|
|
|
|
|
|
|
// PM_CheckWaterJump hook
|
|
|
|
typedef IHookChainImpl<void> CReGameHook_PM_CheckWaterJump;
|
|
|
|
typedef IHookChainRegistryImpl<void> CReGameHookRegistry_PM_CheckWaterJump;
|
|
|
|
|
|
|
|
// PM_Jump hook
|
|
|
|
typedef IHookChainImpl<void> CReGameHook_PM_Jump;
|
|
|
|
typedef IHookChainRegistryImpl<void> CReGameHookRegistry_PM_Jump;
|
|
|
|
|
|
|
|
// PM_Duck hook
|
|
|
|
typedef IHookChainImpl<void> CReGameHook_PM_Duck;
|
|
|
|
typedef IHookChainRegistryImpl<void> CReGameHookRegistry_PM_Duck;
|
|
|
|
|
|
|
|
// PM_UnDuck hook
|
|
|
|
typedef IHookChainImpl<void> CReGameHook_PM_UnDuck;
|
|
|
|
typedef IHookChainRegistryImpl<void> CReGameHookRegistry_PM_UnDuck;
|
|
|
|
|
|
|
|
// PM_PlayStepSound hook
|
|
|
|
typedef IHookChainImpl<void, int, float> CReGameHook_PM_PlayStepSound;
|
|
|
|
typedef IHookChainRegistryImpl<void, int, float> CReGameHookRegistry_PM_PlayStepSound;
|
|
|
|
|
|
|
|
// PM_AirAccelerate hook
|
|
|
|
typedef IHookChainImpl<void, vec_t *, float, float> CReGameHook_PM_AirAccelerate;
|
|
|
|
typedef IHookChainRegistryImpl<void, vec_t *, float, float> CReGameHookRegistry_PM_AirAccelerate;
|
|
|
|
|
|
|
|
// ClearMultiDamage hook
|
|
|
|
typedef IHookChainImpl<void> CReGameHook_ClearMultiDamage;
|
|
|
|
typedef IHookChainRegistryImpl<void> CReGameHookRegistry_ClearMultiDamage;
|
|
|
|
|
|
|
|
// AddMultiDamage hook
|
|
|
|
typedef IHookChainImpl<void, entvars_t *, CBaseEntity *, float, int> CReGameHook_AddMultiDamage;
|
|
|
|
typedef IHookChainRegistryImpl<void, entvars_t *, CBaseEntity *, float, int> CReGameHookRegistry_AddMultiDamage;
|
|
|
|
|
|
|
|
// ApplyMultiDamage hook
|
|
|
|
typedef IHookChainImpl<void, entvars_t *, entvars_t *> CReGameHook_ApplyMultiDamage;
|
|
|
|
typedef IHookChainRegistryImpl<void, entvars_t *, entvars_t *> CReGameHookRegistry_ApplyMultiDamage;
|
|
|
|
|
|
|
|
// BuyItem hook
|
|
|
|
typedef IHookChainImpl<void, CBasePlayer *, int> CReGameHook_BuyItem;
|
|
|
|
typedef IHookChainRegistryImpl<void, CBasePlayer *, int> CReGameHookRegistry_BuyItem;
|
|
|
|
|
|
|
|
// CHalfLifeMultiplay::Think hook
|
|
|
|
typedef IHookChainClassImpl<void, class CHalfLifeMultiplay> CReGameHook_CSGameRules_Think;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<void, class CHalfLifeMultiplay> CReGameHookRegistry_CSGameRules_Think;
|
|
|
|
|
|
|
|
// CHalfLifeMultiplay::TeamFull hook
|
|
|
|
typedef IHookChainClassImpl<BOOL, class CHalfLifeMultiplay, int> CReGameHook_CSGameRules_TeamFull;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<BOOL, class CHalfLifeMultiplay, int> CReGameHookRegistry_CSGameRules_TeamFull;
|
|
|
|
|
|
|
|
// CHalfLifeMultiplay::TeamStacked hook
|
|
|
|
typedef IHookChainClassImpl<BOOL, class CHalfLifeMultiplay, int, int> CReGameHook_CSGameRules_TeamStacked;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<BOOL, class CHalfLifeMultiplay, int, int> CReGameHookRegistry_CSGameRules_TeamStacked;
|
|
|
|
|
|
|
|
// CHalfLifeMultiplay::PlayerGotWeapon hook
|
|
|
|
typedef IHookChainClassImpl<void, class CHalfLifeMultiplay, CBasePlayer *, CBasePlayerItem *> CReGameHook_CSGameRules_PlayerGotWeapon;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<void, class CHalfLifeMultiplay, CBasePlayer *, CBasePlayerItem *> CReGameHookRegistry_CSGameRules_PlayerGotWeapon;
|
|
|
|
|
2023-09-28 12:18:15 +03:00
|
|
|
// CHalfLifeMultiplay::SendDeathMessage hook
|
|
|
|
typedef IHookChainClassImpl<void, class CHalfLifeMultiplay, CBaseEntity *, CBasePlayer *, CBasePlayer *, entvars_t *, const char *, int, int> CReGameHook_CSGameRules_SendDeathMessage;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<void, class CHalfLifeMultiplay, CBaseEntity *, CBasePlayer *, CBasePlayer *, entvars_t *, const char *, int, int> CReGameHookRegistry_CSGameRules_SendDeathMessage;
|
|
|
|
|
2023-09-05 06:43:40 +03:00
|
|
|
// CBotManager::OnEvent hook
|
|
|
|
typedef IHookChainClassImpl<void, CBotManager, GameEventType, CBaseEntity *, CBaseEntity *> CReGameHook_CBotManager_OnEvent;
|
|
|
|
typedef IHookChainRegistryClassEmptyImpl<void, CBotManager, GameEventType, CBaseEntity*, CBaseEntity*> CReGameHookRegistry_CBotManager_OnEvent;
|
|
|
|
|
|
|
|
// CBasePlayer::CheckTimeBasedDamage hook
|
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer> CReGameHook_CBasePlayer_CheckTimeBasedDamage;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer> CReGameHookRegistry_CBasePlayer_CheckTimeBasedDamage;
|
|
|
|
|
|
|
|
// CBasePlayer::EntSelectSpawnPoint hook
|
|
|
|
typedef IHookChainClassImpl<edict_t *, CBasePlayer> CReGameHook_CBasePlayer_EntSelectSpawnPoint;
|
|
|
|
typedef IHookChainRegistryClassImpl<edict_t *, CBasePlayer> CReGameHookRegistry_CBasePlayer_EntSelectSpawnPoint;
|
|
|
|
|
|
|
|
// CBasePlayerWeapon::ItemPostFrame hook
|
|
|
|
typedef IHookChainClassImpl<void, CBasePlayerWeapon> CReGameHook_CBasePlayerWeapon_ItemPostFrame;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayerWeapon> CReGameHookRegistry_CBasePlayerWeapon_ItemPostFrame;
|
|
|
|
|
|
|
|
// CBasePlayerWeapon::KickBack hook
|
|
|
|
typedef IHookChainClassImpl<void, CBasePlayerWeapon, float, float, float, float, float, float, int> CReGameHook_CBasePlayerWeapon_KickBack;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayerWeapon, float, float, float, float, float, float, int> CReGameHookRegistry_CBasePlayerWeapon_KickBack;
|
|
|
|
|
|
|
|
// CBasePlayerWeapon::SendWeaponAnim hook
|
|
|
|
typedef IHookChainClassImpl<void, CBasePlayerWeapon, int, int> CReGameHook_CBasePlayerWeapon_SendWeaponAnim;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayerWeapon, int, int> CReGameHookRegistry_CBasePlayerWeapon_SendWeaponAnim;
|
|
|
|
|
2023-11-08 17:18:01 +03:00
|
|
|
// CBasePlayer::PlayerDeathThink hook
|
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer> CReGameHook_CBasePlayer_PlayerDeathThink;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer> CReGameHookRegistry_CBasePlayer_PlayerDeathThink;
|
|
|
|
|
2023-11-26 07:27:09 +03:00
|
|
|
// CBasePlayer::Observer_Think hook
|
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer> CReGameHook_CBasePlayer_Observer_Think;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer> CReGameHookRegistry_CBasePlayer_Observer_Think;
|
|
|
|
|
2024-05-08 10:50:53 +03:00
|
|
|
// CBasePlayer::RemoveAllItems hook
|
|
|
|
typedef IHookChainClassImpl<void, CBasePlayer, BOOL> CReGameHook_CBasePlayer_RemoveAllItems;
|
|
|
|
typedef IHookChainRegistryClassImpl<void, CBasePlayer, BOOL> CReGameHookRegistry_CBasePlayer_RemoveAllItems;
|
|
|
|
|
2016-04-05 03:12:05 +03:00
|
|
|
class CReGameHookchains: public IReGameHookchains {
|
2015-12-09 01:39:54 +03:00
|
|
|
public:
|
2016-04-05 03:12:05 +03:00
|
|
|
// CBasePlayer virtual
|
|
|
|
CReGameHookRegistry_CBasePlayer_Spawn m_CBasePlayer_Spawn;
|
|
|
|
CReGameHookRegistry_CBasePlayer_Precache m_CBasePlayer_Precache;
|
|
|
|
CReGameHookRegistry_CBasePlayer_ObjectCaps m_CBasePlayer_ObjectCaps;
|
|
|
|
CReGameHookRegistry_CBasePlayer_Classify m_CBasePlayer_Classify;
|
|
|
|
CReGameHookRegistry_CBasePlayer_TraceAttack m_CBasePlayer_TraceAttack;
|
|
|
|
CReGameHookRegistry_CBasePlayer_TakeDamage m_CBasePlayer_TakeDamage;
|
|
|
|
CReGameHookRegistry_CBasePlayer_TakeHealth m_CBasePlayer_TakeHealth;
|
|
|
|
CReGameHookRegistry_CBasePlayer_Killed m_CBasePlayer_Killed;
|
|
|
|
CReGameHookRegistry_CBasePlayer_AddPoints m_CBasePlayer_AddPoints;
|
|
|
|
CReGameHookRegistry_CBasePlayer_AddPointsToTeam m_CBasePlayer_AddPointsToTeam;
|
|
|
|
CReGameHookRegistry_CBasePlayer_AddPlayerItem m_CBasePlayer_AddPlayerItem;
|
|
|
|
CReGameHookRegistry_CBasePlayer_RemovePlayerItem m_CBasePlayer_RemovePlayerItem;
|
|
|
|
CReGameHookRegistry_CBasePlayer_GiveAmmo m_CBasePlayer_GiveAmmo;
|
|
|
|
CReGameHookRegistry_CBasePlayer_ResetMaxSpeed m_CBasePlayer_ResetMaxSpeed;
|
|
|
|
CReGameHookRegistry_CBasePlayer_Jump m_CBasePlayer_Jump;
|
|
|
|
CReGameHookRegistry_CBasePlayer_Duck m_CBasePlayer_Duck;
|
|
|
|
CReGameHookRegistry_CBasePlayer_PreThink m_CBasePlayer_PreThink;
|
|
|
|
CReGameHookRegistry_CBasePlayer_PostThink m_CBasePlayer_PostThink;
|
|
|
|
CReGameHookRegistry_CBasePlayer_UpdateClientData m_CBasePlayer_UpdateClientData;
|
|
|
|
CReGameHookRegistry_CBasePlayer_ImpulseCommands m_CBasePlayer_ImpulseCommands;
|
|
|
|
CReGameHookRegistry_CBasePlayer_RoundRespawn m_CBasePlayer_RoundRespawn;
|
|
|
|
CReGameHookRegistry_CBasePlayer_Blind m_CBasePlayer_Blind;
|
|
|
|
|
2016-04-07 23:20:45 +03:00
|
|
|
CReGameHookRegistry_CBasePlayer_Observer_IsValidTarget m_CBasePlayer_Observer_IsValidTarget;
|
|
|
|
CReGameHookRegistry_CBasePlayer_SetAnimation m_CBasePlayer_SetAnimation;
|
|
|
|
CReGameHookRegistry_CBasePlayer_GiveDefaultItems m_CBasePlayer_GiveDefaultItems;
|
|
|
|
CReGameHookRegistry_CBasePlayer_GiveNamedItem m_CBasePlayer_GiveNamedItem;
|
|
|
|
CReGameHookRegistry_CBasePlayer_AddAccount m_CBasePlayer_AddAccount;
|
|
|
|
CReGameHookRegistry_CBasePlayer_GiveShield m_CBasePlayer_GiveShield;
|
2016-05-30 14:19:56 +03:00
|
|
|
CReGameHookRegistry_CBasePlayer_SetClientUserInfoModel m_CBasePlayer_SetClientUserInfoModel;
|
2016-06-08 00:41:07 +03:00
|
|
|
CReGameHookRegistry_CBasePlayer_SetClientUserInfoName m_CBasePlayer_SetClientUserInfoName;
|
2016-06-20 22:32:02 +03:00
|
|
|
CReGameHookRegistry_CBasePlayer_HasRestrictItem m_CBasePlayer_HasRestrictItem;
|
|
|
|
CReGameHookRegistry_CBasePlayer_DropPlayerItem m_CBasePlayer_DropPlayerItem;
|
2016-12-06 22:21:52 +03:00
|
|
|
CReGameHookRegistry_CBasePlayer_DropShield m_CBasePlayer_DropShield;
|
|
|
|
CReGameHookRegistry_CBasePlayer_OnSpawnEquip m_CBasePlayer_OnSpawnEquip;
|
|
|
|
CReGameHookRegistry_CBasePlayer_Radio m_CBasePlayer_Radio;
|
|
|
|
CReGameHookRegistry_CBasePlayer_Disappear m_CBasePlayer_Disappear;
|
|
|
|
CReGameHookRegistry_CBasePlayer_MakeVIP m_CBasePlayer_MakeVIP;
|
|
|
|
CReGameHookRegistry_CBasePlayer_MakeBomber m_CBasePlayer_MakeBomber;
|
|
|
|
CReGameHookRegistry_CBasePlayer_StartObserver m_CBasePlayer_StartObserver;
|
|
|
|
CReGameHookRegistry_CBasePlayer_GetIntoGame m_CBasePlayer_GetIntoGame;
|
|
|
|
|
2016-04-21 04:00:02 +03:00
|
|
|
CReGameHookRegistry_CBaseAnimating_ResetSequenceInfo m_CBaseAnimating_ResetSequenceInfo;
|
|
|
|
|
2015-12-09 01:39:54 +03:00
|
|
|
CReGameHookRegistry_GetForceCamera m_GetForceCamera;
|
2016-04-07 23:20:45 +03:00
|
|
|
CReGameHookRegistry_PlayerBlind m_PlayerBlind;
|
|
|
|
CReGameHookRegistry_RadiusFlash_TraceLine m_RadiusFlash_TraceLine;
|
2016-04-24 16:52:16 +03:00
|
|
|
CReGameHookRegistry_RoundEnd m_RoundEnd;
|
2016-05-01 20:22:37 +03:00
|
|
|
CReGameHookRegistry_InstallGameRules m_InstallGameRules;
|
2016-05-16 18:30:14 +03:00
|
|
|
CReGameHookRegistry_PM_Init m_PM_Init;
|
|
|
|
CReGameHookRegistry_PM_Move m_PM_Move;
|
|
|
|
CReGameHookRegistry_PM_AirMove m_PM_AirMove;
|
2016-05-19 12:57:36 +03:00
|
|
|
CReGameHookRegistry_HandleMenu_ChooseAppearance m_HandleMenu_ChooseAppearance;
|
|
|
|
CReGameHookRegistry_HandleMenu_ChooseTeam m_HandleMenu_ChooseTeam;
|
2016-05-23 01:51:21 +03:00
|
|
|
CReGameHookRegistry_ShowMenu m_ShowMenu;
|
|
|
|
CReGameHookRegistry_ShowVGUIMenu m_ShowVGUIMenu;
|
2016-12-06 22:21:52 +03:00
|
|
|
CReGameHookRegistry_BuyGunAmmo m_BuyGunAmmo;
|
|
|
|
CReGameHookRegistry_BuyWeaponByWeaponID m_BuyWeaponByWeaponID;
|
|
|
|
CReGameHookRegistry_InternalCommand m_InternalCommand;
|
2015-12-09 01:39:54 +03:00
|
|
|
|
2016-05-17 21:01:46 +03:00
|
|
|
CReGameHookRegistry_CSGameRules_FShouldSwitchWeapon m_CSGameRules_FShouldSwitchWeapon;
|
|
|
|
CReGameHookRegistry_CSGameRules_GetNextBestWeapon m_CSGameRules_GetNextBestWeapon;
|
|
|
|
CReGameHookRegistry_CSGameRules_FlPlayerFallDamage m_CSGameRules_FlPlayerFallDamage;
|
|
|
|
CReGameHookRegistry_CSGameRules_FPlayerCanTakeDamage m_CSGameRules_FPlayerCanTakeDamage;
|
|
|
|
CReGameHookRegistry_CSGameRules_PlayerSpawn m_CSGameRules_PlayerSpawn;
|
|
|
|
CReGameHookRegistry_CSGameRules_FPlayerCanRespawn m_CSGameRules_FPlayerCanRespawn;
|
|
|
|
CReGameHookRegistry_CSGameRules_GetPlayerSpawnSpot m_CSGameRules_GetPlayerSpawnSpot;
|
|
|
|
CReGameHookRegistry_CSGameRules_ClientUserInfoChanged m_CSGameRules_ClientUserInfoChanged;
|
|
|
|
CReGameHookRegistry_CSGameRules_PlayerKilled m_CSGameRules_PlayerKilled;
|
|
|
|
CReGameHookRegistry_CSGameRules_DeathNotice m_CSGameRules_DeathNotice;
|
|
|
|
CReGameHookRegistry_CSGameRules_CanHavePlayerItem m_CSGameRules_CanHavePlayerItem;
|
|
|
|
CReGameHookRegistry_CSGameRules_DeadPlayerWeapons m_CSGameRules_DeadPlayerWeapons;
|
|
|
|
CReGameHookRegistry_CSGameRules_ServerDeactivate m_CSGameRules_ServerDeactivate;
|
|
|
|
CReGameHookRegistry_CSGameRules_CheckMapConditions m_CSGameRules_CheckMapConditions;
|
|
|
|
CReGameHookRegistry_CSGameRules_CleanUpMap m_CSGameRules_CleanUpMap;
|
|
|
|
CReGameHookRegistry_CSGameRules_RestartRound m_CSGameRules_RestartRound;
|
|
|
|
CReGameHookRegistry_CSGameRules_CheckWinConditions m_CSGameRules_CheckWinConditions;
|
|
|
|
CReGameHookRegistry_CSGameRules_RemoveGuns m_CSGameRules_RemoveGuns;
|
|
|
|
CReGameHookRegistry_CSGameRules_GiveC4 m_CSGameRules_GiveC4;
|
|
|
|
CReGameHookRegistry_CSGameRules_ChangeLevel m_CSGameRules_ChangeLevel;
|
|
|
|
CReGameHookRegistry_CSGameRules_GoToIntermission m_CSGameRules_GoToIntermission;
|
|
|
|
CReGameHookRegistry_CSGameRules_BalanceTeams m_CSGameRules_BalanceTeams;
|
2016-12-06 22:21:52 +03:00
|
|
|
CReGameHookRegistry_CSGameRules_OnRoundFreezeEnd m_CSGameRules_OnRoundFreezeEnd;
|
2017-01-04 00:52:03 +03:00
|
|
|
CReGameHookRegistry_PM_UpdateStepSound m_PM_UpdateStepSound;
|
2017-06-25 16:21:38 +03:00
|
|
|
CReGameHookRegistry_CBasePlayer_StartDeathCam m_CBasePlayer_StartDeathCam;
|
ReGameDLL API: Implemented hookchain's CSGameRules::CanPlayerHearPlayer, CBasePlayer::SwitchTeam, CBasePlayer::CanSwitchTeam, CBasePlayer::ThrowGrenade, CWeaponBox::SetModel, CGrenade::DefuseBombStart, CGrenade::DefuseBombEnd, CGrenade::ExplodeHeGrenade, CGrenade::ExplodeFlashbang, CGrenade::ExplodeSmokeGrenade, CGrenade::ExplodeBomb, ThrowHeGrenade, ThrowFlashbang, ThrowSmokeGrenade, PlantBomb
2018-01-27 19:31:30 +03:00
|
|
|
CReGameHookRegistry_CBasePlayer_SwitchTeam m_CBasePlayer_SwitchTeam;
|
|
|
|
CReGameHookRegistry_CBasePlayer_CanSwitchTeam m_CBasePlayer_CanSwitchTeam;
|
|
|
|
CReGameHookRegistry_CBasePlayer_ThrowGrenade m_CBasePlayer_ThrowGrenade;
|
|
|
|
|
|
|
|
CReGameHookRegistry_CSGameRules_CanPlayerHearPlayer m_CSGameRules_CanPlayerHearPlayer;
|
|
|
|
CReGameHookRegistry_CWeaponBox_SetModel m_CWeaponBox_SetModel;
|
|
|
|
CReGameHookRegistry_CGrenade_DefuseBombStart m_CGrenade_DefuseBombStart;
|
|
|
|
CReGameHookRegistry_CGrenade_DefuseBombEnd m_CGrenade_DefuseBombEnd;
|
|
|
|
CReGameHookRegistry_CGrenade_ExplodeHeGrenade m_CGrenade_ExplodeHeGrenade;
|
|
|
|
CReGameHookRegistry_CGrenade_ExplodeFlashbang m_CGrenade_ExplodeFlashbang;
|
|
|
|
CReGameHookRegistry_CGrenade_ExplodeSmokeGrenade m_CGrenade_ExplodeSmokeGrenade;
|
|
|
|
CReGameHookRegistry_CGrenade_ExplodeBomb m_CGrenade_ExplodeBomb;
|
|
|
|
CReGameHookRegistry_ThrowHeGrenade m_ThrowHeGrenade;
|
|
|
|
CReGameHookRegistry_ThrowFlashbang m_ThrowFlashbang;
|
|
|
|
CReGameHookRegistry_ThrowSmokeGrenade m_ThrowSmokeGrenade;
|
|
|
|
CReGameHookRegistry_PlantBomb m_PlantBomb;
|
2018-02-18 14:31:24 +03:00
|
|
|
CReGameHookRegistry_CBasePlayer_SetSpawnProtection m_CBasePlayer_SetSpawnProtection;
|
|
|
|
CReGameHookRegistry_CBasePlayer_RemoveSpawnProtection m_CBasePlayer_RemoveSpawnProtection;
|
2018-04-09 03:28:14 +03:00
|
|
|
CReGameHookRegistry_IsPenetrableEntity m_IsPenetrableEntity;
|
2019-06-05 22:57:40 +03:00
|
|
|
CReGameHookRegistry_CBasePlayer_HintMessageEx m_CBasePlayer_HintMessageEx;
|
2019-08-29 16:34:22 +03:00
|
|
|
CReGameHookRegistry_CBasePlayer_UseEmpty m_CBasePlayer_UseEmpty;
|
2019-10-27 17:17:12 +03:00
|
|
|
CReGameHookRegistry_CBasePlayerWeapon_CanDeploy m_CBasePlayerWeapon_CanDeploy;
|
|
|
|
CReGameHookRegistry_CBasePlayerWeapon_DefaultDeploy m_CBasePlayerWeapon_DefaultDeploy;
|
|
|
|
CReGameHookRegistry_CBasePlayerWeapon_DefaultReload m_CBasePlayerWeapon_DefaultReload;
|
|
|
|
CReGameHookRegistry_CBasePlayerWeapon_DefaultShotgunReload m_CBasePlayerWeapon_DefaultShotgunReload;
|
2019-11-02 11:48:23 +03:00
|
|
|
CReGameHookRegistry_CBasePlayer_DropIdlePlayer m_CBasePlayer_DropIdlePlayer;
|
2020-03-27 05:17:41 +03:00
|
|
|
CReGameHookRegistry_CreateWeaponBox m_CreateWeaponBox;
|
2019-06-05 22:57:40 +03:00
|
|
|
|
2020-05-27 05:56:24 +03:00
|
|
|
CReGameHookRegistry_SpawnHeadGib m_SpawnHeadGib;
|
|
|
|
CReGameHookRegistry_SpawnRandomGibs m_SpawnRandomGibs;
|
|
|
|
CReGameHookRegistry_CGib_Spawn m_CGib_Spawn;
|
|
|
|
CReGameHookRegistry_CGib_BounceGibTouch m_CGib_BounceGibTouch;
|
|
|
|
CReGameHookRegistry_CGib_WaitTillLand m_CGib_WaitTillLand;
|
|
|
|
|
2020-11-28 01:55:14 +03:00
|
|
|
CReGameHookRegistry_CBaseEntity_FireBullets m_CBaseEntity_FireBullets;
|
|
|
|
CReGameHookRegistry_CBaseEntity_FireBuckshots m_CBaseEntity_FireBuckshots;
|
|
|
|
CReGameHookRegistry_CBaseEntity_FireBullets3 m_CBaseEntity_FireBullets3;
|
2021-08-31 15:07:21 +03:00
|
|
|
|
|
|
|
CReGameHookRegistry_CBasePlayer_Observer_SetMode m_CBasePlayer_Observer_SetMode;
|
2021-08-31 22:04:32 +03:00
|
|
|
CReGameHookRegistry_CBasePlayer_Observer_FindNextPlayer m_CBasePlayer_Observer_FindNextPlayer;
|
2021-08-31 15:07:21 +03:00
|
|
|
|
2021-08-29 07:12:25 +03:00
|
|
|
CReGameHookRegistry_CBasePlayer_Pain m_CBasePlayer_Pain;
|
|
|
|
CReGameHookRegistry_CBasePlayer_DeathSound m_CBasePlayer_DeathSound;
|
|
|
|
CReGameHookRegistry_CBasePlayer_JoiningThink m_CBasePlayer_JoiningThink;
|
2023-09-28 12:18:15 +03:00
|
|
|
|
2023-03-12 22:33:15 +03:00
|
|
|
CReGameHookRegistry_FreeGameRules m_FreeGameRules;
|
2023-09-05 06:43:40 +03:00
|
|
|
CReGameHookRegistry_PM_LadderMove m_PM_LadderMove;
|
|
|
|
CReGameHookRegistry_PM_WaterJump m_PM_WaterJump;
|
|
|
|
CReGameHookRegistry_PM_CheckWaterJump m_PM_CheckWaterJump;
|
|
|
|
CReGameHookRegistry_PM_Jump m_PM_Jump;
|
|
|
|
CReGameHookRegistry_PM_Duck m_PM_Duck;
|
|
|
|
CReGameHookRegistry_PM_UnDuck m_PM_UnDuck;
|
|
|
|
CReGameHookRegistry_PM_PlayStepSound m_PM_PlayStepSound;
|
|
|
|
CReGameHookRegistry_PM_AirAccelerate m_PM_AirAccelerate;
|
|
|
|
CReGameHookRegistry_ClearMultiDamage m_ClearMultiDamage;
|
|
|
|
CReGameHookRegistry_AddMultiDamage m_AddMultiDamage;
|
|
|
|
CReGameHookRegistry_ApplyMultiDamage m_ApplyMultiDamage;
|
|
|
|
CReGameHookRegistry_BuyItem m_BuyItem;
|
|
|
|
CReGameHookRegistry_CSGameRules_Think m_CSGameRules_Think;
|
|
|
|
CReGameHookRegistry_CSGameRules_TeamFull m_CSGameRules_TeamFull;
|
|
|
|
CReGameHookRegistry_CSGameRules_TeamStacked m_CSGameRules_TeamStacked;
|
|
|
|
CReGameHookRegistry_CSGameRules_PlayerGotWeapon m_CSGameRules_PlayerGotWeapon;
|
|
|
|
CReGameHookRegistry_CBotManager_OnEvent m_CBotManager_OnEvent;
|
|
|
|
CReGameHookRegistry_CBasePlayer_CheckTimeBasedDamage m_CBasePlayer_CheckTimeBasedDamage;
|
|
|
|
CReGameHookRegistry_CBasePlayer_EntSelectSpawnPoint m_CBasePlayer_EntSelectSpawnPoint;
|
|
|
|
CReGameHookRegistry_CBasePlayerWeapon_ItemPostFrame m_CBasePlayerWeapon_ItemPostFrame;
|
|
|
|
CReGameHookRegistry_CBasePlayerWeapon_KickBack m_CBasePlayerWeapon_KickBack;
|
|
|
|
CReGameHookRegistry_CBasePlayerWeapon_SendWeaponAnim m_CBasePlayerWeapon_SendWeaponAnim;
|
2023-09-28 12:18:15 +03:00
|
|
|
CReGameHookRegistry_CSGameRules_SendDeathMessage m_CSGameRules_SendDeathMessage;
|
2023-03-12 22:33:15 +03:00
|
|
|
|
2023-11-08 17:18:01 +03:00
|
|
|
CReGameHookRegistry_CBasePlayer_PlayerDeathThink m_CBasePlayer_PlayerDeathThink;
|
2023-11-26 07:27:09 +03:00
|
|
|
CReGameHookRegistry_CBasePlayer_Observer_Think m_CBasePlayer_Observer_Think;
|
2024-05-08 10:50:53 +03:00
|
|
|
CReGameHookRegistry_CBasePlayer_RemoveAllItems m_CBasePlayer_RemoveAllItems;
|
2023-11-08 17:18:01 +03:00
|
|
|
|
2015-12-09 01:39:54 +03:00
|
|
|
public:
|
2017-10-12 17:50:56 +03:00
|
|
|
virtual IReGameHookRegistry_CBasePlayer_Spawn *CBasePlayer_Spawn();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_Precache *CBasePlayer_Precache();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_ObjectCaps *CBasePlayer_ObjectCaps();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_Classify *CBasePlayer_Classify();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_TraceAttack *CBasePlayer_TraceAttack();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_TakeDamage *CBasePlayer_TakeDamage();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_TakeHealth *CBasePlayer_TakeHealth();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_Killed *CBasePlayer_Killed();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_AddPoints *CBasePlayer_AddPoints();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_AddPointsToTeam *CBasePlayer_AddPointsToTeam();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_AddPlayerItem *CBasePlayer_AddPlayerItem();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_RemovePlayerItem *CBasePlayer_RemovePlayerItem();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_GiveAmmo *CBasePlayer_GiveAmmo();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_ResetMaxSpeed *CBasePlayer_ResetMaxSpeed();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_Jump *CBasePlayer_Jump();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_Duck *CBasePlayer_Duck();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_PreThink *CBasePlayer_PreThink();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_PostThink *CBasePlayer_PostThink();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_UpdateClientData *CBasePlayer_UpdateClientData();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_ImpulseCommands *CBasePlayer_ImpulseCommands();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_RoundRespawn *CBasePlayer_RoundRespawn();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_Blind *CBasePlayer_Blind();
|
|
|
|
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_Observer_IsValidTarget *CBasePlayer_Observer_IsValidTarget();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_SetAnimation *CBasePlayer_SetAnimation();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_GiveDefaultItems *CBasePlayer_GiveDefaultItems();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_GiveNamedItem *CBasePlayer_GiveNamedItem();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_AddAccount *CBasePlayer_AddAccount();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_GiveShield *CBasePlayer_GiveShield();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_SetClientUserInfoModel *CBasePlayer_SetClientUserInfoModel();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_SetClientUserInfoName *CBasePlayer_SetClientUserInfoName();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_HasRestrictItem *CBasePlayer_HasRestrictItem();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_DropPlayerItem *CBasePlayer_DropPlayerItem();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_DropShield *CBasePlayer_DropShield();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_OnSpawnEquip *CBasePlayer_OnSpawnEquip();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_Radio *CBasePlayer_Radio();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_Disappear *CBasePlayer_Disappear();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_MakeVIP *CBasePlayer_MakeVIP();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_MakeBomber *CBasePlayer_MakeBomber();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_StartObserver *CBasePlayer_StartObserver();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_GetIntoGame *CBasePlayer_GetIntoGame();
|
|
|
|
|
|
|
|
virtual IReGameHookRegistry_CBaseAnimating_ResetSequenceInfo *CBaseAnimating_ResetSequenceInfo();
|
|
|
|
|
|
|
|
virtual IReGameHookRegistry_GetForceCamera *GetForceCamera();
|
|
|
|
virtual IReGameHookRegistry_PlayerBlind *PlayerBlind();
|
|
|
|
virtual IReGameHookRegistry_RadiusFlash_TraceLine *RadiusFlash_TraceLine();
|
|
|
|
virtual IReGameHookRegistry_RoundEnd *RoundEnd();
|
|
|
|
virtual IReGameHookRegistry_InstallGameRules *InstallGameRules();
|
|
|
|
virtual IReGameHookRegistry_PM_Init *PM_Init();
|
|
|
|
virtual IReGameHookRegistry_PM_Move *PM_Move();
|
|
|
|
virtual IReGameHookRegistry_PM_AirMove *PM_AirMove();
|
|
|
|
virtual IReGameHookRegistry_HandleMenu_ChooseAppearance *HandleMenu_ChooseAppearance();
|
|
|
|
virtual IReGameHookRegistry_HandleMenu_ChooseTeam *HandleMenu_ChooseTeam();
|
|
|
|
virtual IReGameHookRegistry_ShowMenu *ShowMenu();
|
|
|
|
virtual IReGameHookRegistry_ShowVGUIMenu *ShowVGUIMenu();
|
|
|
|
virtual IReGameHookRegistry_BuyGunAmmo *BuyGunAmmo();
|
|
|
|
virtual IReGameHookRegistry_BuyWeaponByWeaponID *BuyWeaponByWeaponID();
|
|
|
|
virtual IReGameHookRegistry_InternalCommand *InternalCommand();
|
2019-06-05 22:57:40 +03:00
|
|
|
|
2017-10-12 17:50:56 +03:00
|
|
|
virtual IReGameHookRegistry_CSGameRules_FShouldSwitchWeapon *CSGameRules_FShouldSwitchWeapon();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_GetNextBestWeapon *CSGameRules_GetNextBestWeapon();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_FlPlayerFallDamage *CSGameRules_FlPlayerFallDamage();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_FPlayerCanTakeDamage *CSGameRules_FPlayerCanTakeDamage();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_PlayerSpawn *CSGameRules_PlayerSpawn();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_FPlayerCanRespawn *CSGameRules_FPlayerCanRespawn();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_GetPlayerSpawnSpot *CSGameRules_GetPlayerSpawnSpot();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_ClientUserInfoChanged *CSGameRules_ClientUserInfoChanged();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_PlayerKilled *CSGameRules_PlayerKilled();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_DeathNotice *CSGameRules_DeathNotice();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_CanHavePlayerItem *CSGameRules_CanHavePlayerItem();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_DeadPlayerWeapons *CSGameRules_DeadPlayerWeapons();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_ServerDeactivate *CSGameRules_ServerDeactivate();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_CheckMapConditions *CSGameRules_CheckMapConditions();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_CleanUpMap *CSGameRules_CleanUpMap();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_RestartRound *CSGameRules_RestartRound();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_CheckWinConditions *CSGameRules_CheckWinConditions();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_RemoveGuns *CSGameRules_RemoveGuns();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_GiveC4 *CSGameRules_GiveC4();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_ChangeLevel *CSGameRules_ChangeLevel();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_GoToIntermission *CSGameRules_GoToIntermission();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_BalanceTeams *CSGameRules_BalanceTeams();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_OnRoundFreezeEnd *CSGameRules_OnRoundFreezeEnd();
|
|
|
|
virtual IReGameHookRegistry_PM_UpdateStepSound *PM_UpdateStepSound();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_StartDeathCam *CBasePlayer_StartDeathCam();
|
ReGameDLL API: Implemented hookchain's CSGameRules::CanPlayerHearPlayer, CBasePlayer::SwitchTeam, CBasePlayer::CanSwitchTeam, CBasePlayer::ThrowGrenade, CWeaponBox::SetModel, CGrenade::DefuseBombStart, CGrenade::DefuseBombEnd, CGrenade::ExplodeHeGrenade, CGrenade::ExplodeFlashbang, CGrenade::ExplodeSmokeGrenade, CGrenade::ExplodeBomb, ThrowHeGrenade, ThrowFlashbang, ThrowSmokeGrenade, PlantBomb
2018-01-27 19:31:30 +03:00
|
|
|
virtual IReGameHookRegistry_CBasePlayer_SwitchTeam *CBasePlayer_SwitchTeam();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_CanSwitchTeam *CBasePlayer_CanSwitchTeam();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_ThrowGrenade *CBasePlayer_ThrowGrenade();
|
|
|
|
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_CanPlayerHearPlayer *CSGameRules_CanPlayerHearPlayer();
|
|
|
|
virtual IReGameHookRegistry_CWeaponBox_SetModel *CWeaponBox_SetModel();
|
|
|
|
virtual IReGameHookRegistry_CGrenade_DefuseBombStart *CGrenade_DefuseBombStart();
|
|
|
|
virtual IReGameHookRegistry_CGrenade_DefuseBombEnd *CGrenade_DefuseBombEnd();
|
|
|
|
virtual IReGameHookRegistry_CGrenade_ExplodeHeGrenade *CGrenade_ExplodeHeGrenade();
|
|
|
|
virtual IReGameHookRegistry_CGrenade_ExplodeFlashbang *CGrenade_ExplodeFlashbang();
|
|
|
|
virtual IReGameHookRegistry_CGrenade_ExplodeSmokeGrenade *CGrenade_ExplodeSmokeGrenade();
|
|
|
|
virtual IReGameHookRegistry_CGrenade_ExplodeBomb *CGrenade_ExplodeBomb();
|
|
|
|
virtual IReGameHookRegistry_ThrowHeGrenade *ThrowHeGrenade();
|
|
|
|
virtual IReGameHookRegistry_ThrowFlashbang *ThrowFlashbang();
|
|
|
|
virtual IReGameHookRegistry_ThrowSmokeGrenade *ThrowSmokeGrenade();
|
|
|
|
virtual IReGameHookRegistry_PlantBomb *PlantBomb();
|
2018-02-18 14:31:24 +03:00
|
|
|
virtual IReGameHookRegistry_CBasePlayer_SetSpawnProtection *CBasePlayer_SetSpawnProtection();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_RemoveSpawnProtection *CBasePlayer_RemoveSpawnProtection();
|
2018-04-09 03:28:14 +03:00
|
|
|
virtual IReGameHookRegistry_IsPenetrableEntity *IsPenetrableEntity();
|
2019-06-05 22:57:40 +03:00
|
|
|
virtual IReGameHookRegistry_CBasePlayer_HintMessageEx *CBasePlayer_HintMessageEx();
|
2019-08-29 16:34:22 +03:00
|
|
|
virtual IReGameHookRegistry_CBasePlayer_UseEmpty *CBasePlayer_UseEmpty();
|
2019-10-27 17:17:12 +03:00
|
|
|
virtual IReGameHookRegistry_CBasePlayerWeapon_CanDeploy *CBasePlayerWeapon_CanDeploy();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayerWeapon_DefaultDeploy *CBasePlayerWeapon_DefaultDeploy();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayerWeapon_DefaultReload *CBasePlayerWeapon_DefaultReload();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayerWeapon_DefaultShotgunReload *CBasePlayerWeapon_DefaultShotgunReload();
|
2019-11-02 11:48:23 +03:00
|
|
|
virtual IReGameHookRegistry_CBasePlayer_DropIdlePlayer *CBasePlayer_DropIdlePlayer();
|
2020-03-27 05:17:41 +03:00
|
|
|
virtual IReGameHookRegistry_CreateWeaponBox *CreateWeaponBox();
|
2020-05-27 05:56:24 +03:00
|
|
|
|
|
|
|
virtual IReGameHookRegistry_SpawnHeadGib *SpawnHeadGib();
|
|
|
|
virtual IReGameHookRegistry_SpawnRandomGibs *SpawnRandomGibs();
|
|
|
|
virtual IReGameHookRegistry_CGib_Spawn *CGib_Spawn();
|
|
|
|
virtual IReGameHookRegistry_CGib_BounceGibTouch *CGib_BounceGibTouch();
|
|
|
|
virtual IReGameHookRegistry_CGib_WaitTillLand *CGib_WaitTillLand();
|
2020-11-28 01:55:14 +03:00
|
|
|
|
|
|
|
virtual IReGameHookRegistry_CBaseEntity_FireBullets *CBaseEntity_FireBullets();
|
|
|
|
virtual IReGameHookRegistry_CBaseEntity_FireBuckshots *CBaseEntity_FireBuckshots();
|
|
|
|
virtual IReGameHookRegistry_CBaseEntity_FireBullets3 *CBaseEntity_FireBullets3();
|
2021-08-31 15:07:21 +03:00
|
|
|
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_Observer_SetMode *CBasePlayer_Observer_SetMode();
|
2021-08-31 22:04:32 +03:00
|
|
|
virtual IReGameHookRegistry_CBasePlayer_Observer_FindNextPlayer *CBasePlayer_Observer_FindNextPlayer();
|
2021-08-31 15:07:21 +03:00
|
|
|
|
2021-08-29 07:12:25 +03:00
|
|
|
virtual IReGameHookRegistry_CBasePlayer_Pain *CBasePlayer_Pain();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_DeathSound *CBasePlayer_DeathSound();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_JoiningThink *CBasePlayer_JoiningThink();
|
2023-03-12 22:33:15 +03:00
|
|
|
|
|
|
|
virtual IReGameHookRegistry_FreeGameRules *FreeGameRules();
|
2023-07-15 23:48:44 +03:00
|
|
|
virtual IReGameHookRegistry_PM_LadderMove *PM_LadderMove();
|
2023-09-05 06:43:40 +03:00
|
|
|
virtual IReGameHookRegistry_PM_WaterJump *PM_WaterJump();
|
|
|
|
virtual IReGameHookRegistry_PM_CheckWaterJump *PM_CheckWaterJump();
|
|
|
|
virtual IReGameHookRegistry_PM_Jump *PM_Jump();
|
|
|
|
virtual IReGameHookRegistry_PM_Duck *PM_Duck();
|
|
|
|
virtual IReGameHookRegistry_PM_UnDuck *PM_UnDuck();
|
|
|
|
virtual IReGameHookRegistry_PM_PlayStepSound *PM_PlayStepSound();
|
|
|
|
virtual IReGameHookRegistry_PM_AirAccelerate *PM_AirAccelerate();
|
|
|
|
virtual IReGameHookRegistry_ClearMultiDamage *ClearMultiDamage();
|
|
|
|
virtual IReGameHookRegistry_AddMultiDamage *AddMultiDamage();
|
|
|
|
virtual IReGameHookRegistry_ApplyMultiDamage *ApplyMultiDamage();
|
|
|
|
virtual IReGameHookRegistry_BuyItem *BuyItem();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_Think *CSGameRules_Think();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_TeamFull *CSGameRules_TeamFull();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_TeamStacked *CSGameRules_TeamStacked();
|
|
|
|
virtual IReGameHookRegistry_CSGameRules_PlayerGotWeapon *CSGameRules_PlayerGotWeapon();
|
|
|
|
virtual IReGameHookRegistry_CBotManager_OnEvent *CBotManager_OnEvent();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_CheckTimeBasedDamage *CBasePlayer_CheckTimeBasedDamage();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_EntSelectSpawnPoint *CBasePlayer_EntSelectSpawnPoint();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayerWeapon_ItemPostFrame *CBasePlayerWeapon_ItemPostFrame();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayerWeapon_KickBack *CBasePlayerWeapon_KickBack();
|
|
|
|
virtual IReGameHookRegistry_CBasePlayerWeapon_SendWeaponAnim *CBasePlayerWeapon_SendWeaponAnim();
|
2023-09-28 12:18:15 +03:00
|
|
|
virtual IReGameHookRegistry_CSGameRules_SendDeathMessage *CSGameRules_SendDeathMessage();
|
2023-11-08 17:18:01 +03:00
|
|
|
|
|
|
|
virtual IReGameHookRegistry_CBasePlayer_PlayerDeathThink *CBasePlayer_PlayerDeathThink();
|
2023-11-26 07:27:09 +03:00
|
|
|
virtual IReGameHookRegistry_CBasePlayer_Observer_Think *CBasePlayer_Observer_Think();
|
2024-05-08 10:50:53 +03:00
|
|
|
virtual IReGameHookRegistry_CBasePlayer_RemoveAllItems *CBasePlayer_RemoveAllItems();
|
2015-12-09 01:39:54 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
extern CReGameHookchains g_ReGameHookchains;
|
|
|
|
extern ReGameFuncs_t g_ReGameApiFuncs;
|
|
|
|
|
2016-04-05 03:12:05 +03:00
|
|
|
class CReGameApi: public IReGameApi {
|
2015-12-09 01:39:54 +03:00
|
|
|
public:
|
2017-10-19 20:12:02 +03:00
|
|
|
EXT_FUNC virtual int GetMajorVersion();
|
|
|
|
EXT_FUNC virtual int GetMinorVersion();
|
|
|
|
|
|
|
|
EXT_FUNC virtual const ReGameFuncs_t *GetFuncs();
|
|
|
|
EXT_FUNC virtual IReGameHookchains *GetHookchains();
|
|
|
|
|
|
|
|
EXT_FUNC virtual CGameRules *GetGameRules();
|
|
|
|
EXT_FUNC virtual WeaponInfoStruct *GetWeaponInfo(int weaponID);
|
|
|
|
EXT_FUNC virtual WeaponInfoStruct *GetWeaponInfo(const char *weaponName);
|
|
|
|
EXT_FUNC virtual playermove_t *GetPlayerMove();
|
|
|
|
EXT_FUNC virtual WeaponSlotInfo *GetWeaponSlot(WeaponIdType weaponID);
|
|
|
|
EXT_FUNC virtual WeaponSlotInfo *GetWeaponSlot(const char *weaponName);
|
|
|
|
EXT_FUNC virtual ItemInfo *GetItemInfo(WeaponIdType weaponID);
|
|
|
|
EXT_FUNC virtual AmmoInfo *GetAmmoInfo(AmmoType ammoID);
|
|
|
|
EXT_FUNC virtual AmmoInfoStruct *GetAmmoInfoEx(AmmoType ammoID);
|
|
|
|
EXT_FUNC virtual AmmoInfoStruct *GetAmmoInfoEx(const char *ammoName);
|
2019-08-29 19:08:24 +03:00
|
|
|
EXT_FUNC virtual bool BGetICSEntity(const char *pchVersion) const;
|
|
|
|
EXT_FUNC virtual bool BGetIGameRules(const char *pchVersion) const;
|
2015-12-09 01:39:54 +03:00
|
|
|
};
|