2022-04-19 09:26:29 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace Components
|
|
|
|
{
|
|
|
|
class Security : public Component
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Security();
|
|
|
|
|
2022-12-05 13:45:14 -05:00
|
|
|
static int MsgReadBitsCompressCheckSV(const unsigned char* from, unsigned char* to, int size);
|
|
|
|
static int MsgReadBitsCompressCheckCL(const unsigned char* from, unsigned char* to, int size);
|
2022-04-19 09:26:29 -04:00
|
|
|
|
2022-12-05 13:45:14 -05:00
|
|
|
private:
|
2022-04-19 09:26:29 -04:00
|
|
|
static int SVCanReplaceServerCommand(Game::client_t* client, const char* cmd);
|
|
|
|
|
|
|
|
static long AtolAdjustPlayerLimit(const char* string);
|
|
|
|
|
|
|
|
static void SelectStringTableEntryInDvarStub();
|
|
|
|
|
|
|
|
static int G_GetClientScore();
|
|
|
|
|
|
|
|
static void G_LogPrintfStub(const char* fmt);
|
2022-05-11 11:24:19 -04:00
|
|
|
|
|
|
|
static void NET_DeferPacketToClientStub(Game::netadr_t* net_from, Game::msg_t* net_message);
|
2022-04-19 09:26:29 -04:00
|
|
|
};
|
|
|
|
}
|