ddnet/src/antibot/antibot_null.cpp

38 lines
1.2 KiB
C++
Raw Normal View History

#include "antibot_data.h"
2020-05-15 16:29:34 +00:00
static CAntibotData *g_pData;
extern "C" {
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-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);
}
void AntibotRoundStart(CAntibotRoundData *pRoundData){};
void AntibotRoundEnd(void){};
void AntibotUpdateData(void) {}
2020-05-15 16:29:34 +00:00
void AntibotDestroy(void) { g_pData = 0; }
void AntibotDump(void)
{
2020-05-15 22:39:17 +00:00
g_pData->m_pfnLog("null antibot", g_pData->m_pUser);
}
void AntibotOnPlayerInit(int /*ClientID*/) {}
void AntibotOnPlayerDestroy(int /*ClientID*/) {}
void AntibotOnSpawn(int /*ClientID*/) {}
void AntibotOnHammerFireReloading(int /*ClientID*/) {}
void AntibotOnHammerFire(int /*ClientID*/) {}
void AntibotOnHammerHit(int /*ClientID*/) {}
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*/) {}
void AntibotOnEngineClientMessage(int /*ClientID*/, const void * /*pData*/, int /*Size*/, int /*Flags*/) {}
}