2017-01-20 08:36:52 -05:00
|
|
|
#pragma once
|
|
|
|
|
2017-01-19 16:23:59 -05:00
|
|
|
namespace Components
|
|
|
|
{
|
|
|
|
class Bots : public Component
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Bots();
|
2022-01-23 14:32:20 -05:00
|
|
|
|
2017-01-19 16:23:59 -05:00
|
|
|
private:
|
|
|
|
static std::vector<std::string> BotNames;
|
|
|
|
|
2022-01-28 06:28:52 -05:00
|
|
|
static int BuildConnectString(char* buffer, const char* connectString, int num, int, int protocol, int checksum, int statVer, int statStuff, int port);
|
2017-04-23 07:31:48 -04:00
|
|
|
|
2022-01-23 14:32:20 -05:00
|
|
|
static void Spawn(unsigned int count);
|
2020-11-14 03:58:05 -05:00
|
|
|
|
|
|
|
static void AddMethods();
|
2022-01-23 21:00:30 -05:00
|
|
|
|
2022-01-24 07:15:33 -05:00
|
|
|
static void BotAiAction(Game::client_t* cl);
|
2022-03-15 18:49:58 -04:00
|
|
|
static void SV_BotUserMove_Hk();
|
2022-03-21 14:55:35 -04:00
|
|
|
|
|
|
|
static void G_SelectWeaponIndex(int clientNum, int iWeaponIndex);
|
|
|
|
static void G_SelectWeaponIndex_Hk();
|
2022-04-14 12:04:34 -04:00
|
|
|
|
|
|
|
static void ClientDisconnect_Hk(int clientNum);
|
2017-01-19 16:23:59 -05:00
|
|
|
};
|
|
|
|
}
|