2022-03-09 20:12:16 -05:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class test_clients final : public module
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
void post_load() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
static void patch_mp();
|
|
|
|
|
|
|
|
static bool can_add();
|
|
|
|
static game::native::gentity_s* sv_add_test_client();
|
2022-04-25 10:26:51 -04:00
|
|
|
static void gscr_add_test_client();
|
|
|
|
static void spawn(int count);
|
2022-03-09 20:12:16 -05:00
|
|
|
|
2022-03-09 20:18:42 -05:00
|
|
|
static void scr_shutdown_system_mp_stub(unsigned char sys);
|
2022-03-09 20:12:16 -05:00
|
|
|
|
|
|
|
static void reset_reliable_mp();
|
|
|
|
|
2022-03-16 16:25:41 -04:00
|
|
|
static bool check_timeouts(const game::native::mp::client_t* client);
|
2022-03-09 20:12:16 -05:00
|
|
|
static void check_timeouts_stub_mp();
|
|
|
|
};
|