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();
|
|
|
|
~Bots();
|
2020-11-14 03:58:05 -05:00
|
|
|
static unsigned int GetClientNum(Game::client_s*);
|
|
|
|
static bool IsValidClientNum(unsigned int);
|
2017-01-19 16:23:59 -05:00
|
|
|
|
|
|
|
private:
|
|
|
|
static std::vector<std::string> BotNames;
|
|
|
|
|
|
|
|
static void 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
|
|
|
|
2017-04-24 15:14:08 -04:00
|
|
|
static void Spawn(unsigned int count);
|
2020-11-14 03:58:05 -05:00
|
|
|
|
|
|
|
static void AddMethods();
|
2017-01-19 16:23:59 -05:00
|
|
|
};
|
|
|
|
}
|