28 lines
620 B
C++
28 lines
620 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 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);
|
|
};
|
|
}
|