2021-06-22 20:51:49 +00:00
|
|
|
#define ANTIBOTAPI DYNAMIC_EXPORT
|
|
|
|
|
2021-10-05 15:38:58 +00:00
|
|
|
#include "antibot_interface.h"
|
2020-03-11 00:58:50 +00:00
|
|
|
|
2020-05-15 16:29:34 +00:00
|
|
|
static CAntibotData *g_pData;
|
2020-03-11 00:58:50 +00:00
|
|
|
|
2020-09-26 19:41:58 +00:00
|
|
|
extern "C" {
|
2020-03-11 00:58:50 +00:00
|
|
|
|
2020-05-15 22:39:17 +00:00
|
|
|
int AntibotAbiVersion()
|
|
|
|
{
|
|
|
|
return ANTIBOT_ABI_VERSION;
|
|
|
|
}
|
2020-05-15 16:29:34 +00:00
|
|
|
void AntibotInit(CAntibotData *pData)
|
2020-03-11 00:58:50 +00:00
|
|
|
{
|
2020-05-15 16:29:34 +00:00
|
|
|
g_pData = pData;
|
2020-05-15 22:39:17 +00:00
|
|
|
g_pData->m_pfnLog("null antibot initialized", g_pData->m_pUser);
|
2020-03-11 00:58:50 +00:00
|
|
|
}
|
2020-09-26 19:41:58 +00:00
|
|
|
void AntibotRoundStart(CAntibotRoundData *pRoundData){};
|
|
|
|
void AntibotRoundEnd(void){};
|
|
|
|
void AntibotUpdateData(void) {}
|
2020-05-15 16:29:34 +00:00
|
|
|
void AntibotDestroy(void) { g_pData = 0; }
|
2020-05-13 20:27:49 +00:00
|
|
|
void AntibotDump(void)
|
2020-03-11 00:58:50 +00:00
|
|
|
{
|
2020-05-15 22:39:17 +00:00
|
|
|
g_pData->m_pfnLog("null antibot", g_pData->m_pUser);
|
2020-03-11 00:58:50 +00:00
|
|
|
}
|
2020-09-25 16:11:59 +00:00
|
|
|
void AntibotOnPlayerInit(int /*ClientID*/) {}
|
|
|
|
void AntibotOnPlayerDestroy(int /*ClientID*/) {}
|
|
|
|
void AntibotOnSpawn(int /*ClientID*/) {}
|
|
|
|
void AntibotOnHammerFireReloading(int /*ClientID*/) {}
|
|
|
|
void AntibotOnHammerFire(int /*ClientID*/) {}
|
2021-07-21 20:28:59 +00:00
|
|
|
void AntibotOnHammerHit(int /*ClientID*/, int /*TargetID*/) {}
|
2020-09-25 16:11:59 +00:00
|
|
|
void AntibotOnDirectInput(int /*ClientID*/) {}
|
|
|
|
void AntibotOnCharacterTick(int /*ClientID*/) {}
|
|
|
|
void AntibotOnHookAttach(int /*ClientID*/, bool /*Player*/) {}
|
|
|
|
void AntibotOnEngineTick(void) {}
|
|
|
|
void AntibotOnEngineClientJoin(int /*ClientID*/, bool /*Sixup*/) {}
|
|
|
|
void AntibotOnEngineClientDrop(int /*ClientID*/, const char * /*pReason*/) {}
|
2021-06-24 18:32:41 +00:00
|
|
|
bool AntibotOnEngineClientMessage(int /*ClientID*/, const void * /*pData*/, int /*Size*/, int /*Flags*/) { return false; }
|
|
|
|
bool AntibotOnEngineServerMessage(int /*ClientID*/, const void * /*pData*/, int /*Size*/, int /*Flags*/) { return false; }
|
|
|
|
bool AntibotOnEngineSimulateClientMessage(int * /*pClientID*/, void * /*pBuffer*/, int /*BufferSize*/, int * /*pOutSize*/, int * /*pFlags*/) { return false; }
|
2020-03-11 00:58:50 +00:00
|
|
|
}
|