iw4x-client/src/Components/Modules/Bots.hpp
2020-11-14 02:58:05 -06:00

23 lines
488 B
C++

#pragma once
namespace Components
{
class Bots : public Component
{
public:
Bots();
~Bots();
static unsigned int GetClientNum(Game::client_s*);
static bool IsValidClientNum(unsigned int);
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);
static void Spawn(unsigned int count);
static void AddMethods();
};
}