mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-13 03:28:19 +00:00
40 lines
1.4 KiB
C++
40 lines
1.4 KiB
C++
#include "antibot_data.h"
|
|
|
|
static CAntibotData *g_pData;
|
|
|
|
extern "C"
|
|
{
|
|
|
|
int AntibotAbiVersion()
|
|
{
|
|
return ANTIBOT_ABI_VERSION;
|
|
}
|
|
void AntibotInit(CAntibotData *pData)
|
|
{
|
|
g_pData = pData;
|
|
g_pData->m_pfnLog("null antibot initialized", g_pData->m_pUser);
|
|
}
|
|
void AntibotRoundStart(CAntibotRoundData *pRoundData) { };
|
|
void AntibotRoundEnd(void) { };
|
|
void AntibotUpdateData(void) { }
|
|
void AntibotDestroy(void) { g_pData = 0; }
|
|
void AntibotDump(void)
|
|
{
|
|
g_pData->m_pfnLog("null antibot", g_pData->m_pUser);
|
|
}
|
|
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 AntibotOnCharacterTick(int ClientID) { (void)ClientID; }
|
|
void AntibotOnHookAttach(int ClientID, bool Player) { (void)ClientID; (void)Player; }
|
|
void AntibotOnEngineTick(void) { }
|
|
void AntibotOnEngineClientJoin(int ClientID, bool Sixup) { (void)ClientID; (void)Sixup; }
|
|
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; }
|
|
|
|
}
|