iw4x-client/src/Components/Modules/Bots.hpp

27 lines
629 B
C++
Raw Normal View History

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
2022-05-05 18:48:33 -04:00
static void GScr_isTestClient(Game::scr_entref_t entref);
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);
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();
2017-01-19 16:23:59 -05:00
};
}