2020-03-11 00:58:50 +00:00
|
|
|
#include "antibot_data.h"
|
|
|
|
|
2020-05-13 20:27:49 +00:00
|
|
|
static CAntibotCallbackData *g_pCallbacks;
|
2020-03-11 00:58:50 +00:00
|
|
|
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
|
2020-05-13 20:27:49 +00:00
|
|
|
void AntibotInit(CAntibotCallbackData *pData)
|
2020-03-11 00:58:50 +00:00
|
|
|
{
|
2020-05-13 20:27:49 +00:00
|
|
|
g_pCallbacks = pData;
|
|
|
|
if(g_pCallbacks->m_pfnLog)
|
2020-03-11 00:58:50 +00:00
|
|
|
{
|
2020-05-13 20:27:49 +00:00
|
|
|
g_pCallbacks->m_pfnLog("null antibot initialized", g_pCallbacks->m_pUser);
|
2020-03-11 00:58:50 +00:00
|
|
|
}
|
|
|
|
}
|
2020-05-13 20:27:49 +00:00
|
|
|
void AntibotRoundStart(CAntibotRoundData *pRoundData) { };
|
|
|
|
void AntibotRoundEnd(void) { };
|
|
|
|
void AntibotUpdateData(void) { }
|
|
|
|
void AntibotDestroy(void) { g_pCallbacks = 0; }
|
|
|
|
void AntibotDump(void)
|
2020-03-11 00:58:50 +00:00
|
|
|
{
|
2020-05-13 20:27:49 +00:00
|
|
|
if(g_pCallbacks->m_pfnLog)
|
2020-03-11 00:58:50 +00:00
|
|
|
{
|
2020-05-13 20:27:49 +00:00
|
|
|
g_pCallbacks->m_pfnLog("null antibot", g_pCallbacks->m_pUser);
|
2020-03-11 00:58:50 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
void AntibotOnPlayerInit(int ClientID) { (void)ClientID; }
|
|
|
|
void AntibotOnPlayerDestroy(int ClientID) { (void)ClientID; }
|
|
|
|
void AntibotOnSpawn(int ClientID) { (void)ClientID; }
|
|
|
|
void AntibotOnHammerFireReloading(int ClientID) { (void)ClientID; }
|
|
|
|
void AntibotOnHammerFire(int ClientID) { (void)ClientID; }
|
|
|
|
void AntibotOnHammerHit(int ClientID) { (void)ClientID; }
|
|
|
|
void AntibotOnDirectInput(int ClientID) { (void)ClientID; }
|
|
|
|
void AntibotOnTick(int ClientID) { (void)ClientID; }
|
|
|
|
void AntibotOnHookAttach(int ClientID, bool Player) { (void)ClientID; (void)Player; }
|
2020-05-13 20:27:49 +00:00
|
|
|
void AntibotOnEngineClientJoin(int ClientID) { (void)ClientID; }
|
|
|
|
void AntibotOnEngineClientDrop(int ClientID, const char *pReason) { (void)ClientID; (void)pReason; }
|
|
|
|
void AntibotOnEngineClientMessage(int ClientID, const void *pData, int Size, int Flags) { (void)ClientID; (void)pData; (void)Size; (void)Flags; }
|
2020-03-11 00:58:50 +00:00
|
|
|
|
|
|
|
}
|