iw4x-client/src/Components/Modules/Bots.hpp
2022-05-05 23:48:33 +01:00

29 lines
680 B
C++

#pragma once
namespace Components
{
class Bots : public Component
{
public:
Bots();
private:
static std::vector<std::string> BotNames;
static int BuildConnectString(char* buffer, const char* connectString, int num, int, int protocol, int checksum, int statVer, int statStuff, int port);
static void Spawn(unsigned int count);
static void GScr_isTestClient(Game::scr_entref_t entref);
static void AddMethods();
static void BotAiAction(Game::client_t* cl);
static void SV_BotUserMove_Hk();
static void G_SelectWeaponIndex(int clientNum, int iWeaponIndex);
static void G_SelectWeaponIndex_Hk();
static void ClientDisconnect_Hk(int clientNum);
};
}