mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-13 03:28:19 +00:00
36 lines
992 B
C++
36 lines
992 B
C++
|
#include "antibot_data.h"
|
||
|
|
||
|
static CAntibotData *g_pAntibot;
|
||
|
|
||
|
extern "C"
|
||
|
{
|
||
|
|
||
|
void AntibotInit(CAntibotData *pData)
|
||
|
{
|
||
|
g_pAntibot = pData;
|
||
|
if(g_pAntibot->m_pfnLog)
|
||
|
{
|
||
|
g_pAntibot->m_pfnLog("null antibot initialized", g_pAntibot->m_pUser);
|
||
|
}
|
||
|
}
|
||
|
void AntibotUpdateData() { }
|
||
|
void AntibotDestroy() { g_pAntibot = 0; }
|
||
|
void AntibotDump()
|
||
|
{
|
||
|
if(g_pAntibot->m_pfnLog)
|
||
|
{
|
||
|
g_pAntibot->m_pfnLog("null antibot", g_pAntibot->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 AntibotOnTick(int ClientID) { (void)ClientID; }
|
||
|
void AntibotOnHookAttach(int ClientID, bool Player) { (void)ClientID; (void)Player; }
|
||
|
|
||
|
}
|