2020-03-11 00:58:50 +00:00
|
|
|
#ifndef ANTIBOT_ANTIBOT_INTERFACE_H
|
|
|
|
#define ANTIBOT_ANTIBOT_INTERFACE_H
|
|
|
|
|
2021-06-22 20:51:49 +00:00
|
|
|
#include <base/dynamic.h>
|
|
|
|
|
|
|
|
#ifndef ANTIBOTAPI
|
|
|
|
#define ANTIBOTAPI DYNAMIC_IMPORT
|
|
|
|
#endif
|
|
|
|
|
2020-03-11 00:58:50 +00:00
|
|
|
#include "antibot_data.h"
|
2020-09-26 19:41:58 +00:00
|
|
|
extern "C" {
|
2020-03-11 00:58:50 +00:00
|
|
|
|
2021-06-22 20:51:49 +00:00
|
|
|
ANTIBOTAPI int AntibotAbiVersion();
|
|
|
|
ANTIBOTAPI void AntibotInit(CAntibotData *pCallbackData);
|
|
|
|
ANTIBOTAPI void AntibotRoundStart(CAntibotRoundData *pRoundData);
|
|
|
|
ANTIBOTAPI void AntibotRoundEnd(void);
|
|
|
|
ANTIBOTAPI void AntibotUpdateData(void);
|
|
|
|
ANTIBOTAPI void AntibotDestroy(void);
|
|
|
|
ANTIBOTAPI void AntibotDump(void);
|
|
|
|
ANTIBOTAPI void AntibotOnPlayerInit(int ClientID);
|
|
|
|
ANTIBOTAPI void AntibotOnPlayerDestroy(int ClientID);
|
|
|
|
ANTIBOTAPI void AntibotOnSpawn(int ClientID);
|
|
|
|
ANTIBOTAPI void AntibotOnHammerFireReloading(int ClientID);
|
|
|
|
ANTIBOTAPI void AntibotOnHammerFire(int ClientID);
|
2021-07-21 20:28:59 +00:00
|
|
|
ANTIBOTAPI void AntibotOnHammerHit(int ClientID, int TargetID);
|
2021-06-22 20:51:49 +00:00
|
|
|
ANTIBOTAPI void AntibotOnDirectInput(int ClientID);
|
|
|
|
ANTIBOTAPI void AntibotOnCharacterTick(int ClientID);
|
|
|
|
ANTIBOTAPI void AntibotOnHookAttach(int ClientID, bool Player);
|
|
|
|
ANTIBOTAPI void AntibotOnEngineTick(void);
|
|
|
|
ANTIBOTAPI void AntibotOnEngineClientJoin(int ClientID, bool Sixup);
|
|
|
|
ANTIBOTAPI void AntibotOnEngineClientDrop(int ClientID, const char *pReason);
|
2021-06-24 18:32:41 +00:00
|
|
|
// Returns true if the message shouldn't be processed by the server.
|
|
|
|
ANTIBOTAPI bool AntibotOnEngineClientMessage(int ClientID, const void *pData, int Size, int Flags);
|
|
|
|
ANTIBOTAPI bool AntibotOnEngineServerMessage(int ClientID, const void *pData, int Size, int Flags);
|
|
|
|
// Returns true if the server should simulate receiving a client message.
|
|
|
|
ANTIBOTAPI bool AntibotOnEngineSimulateClientMessage(int *pClientID, void *pBuffer, int BufferSize, int *pOutSize, int *pFlags);
|
2020-03-11 00:58:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif // ANTIBOT_ANTIBOT_INTERFACE_H
|