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

29 lines
776 B
C++
Raw Normal View History

#pragma once
namespace Components
{
class Security : public Component
{
public:
Security();
2023-04-19 04:07:11 -04:00
static int Msg_ReadBitsCompressCheckSV(const unsigned char* from, unsigned char* to, int size);
static int Msg_ReadBitsCompressCheckCL(const unsigned char* from, unsigned char* to, int size);
2022-12-05 13:45:14 -05:00
private:
2023-04-19 04:07:11 -04:00
static int SV_CanReplaceServerCommand_Hk(Game::client_t* client, const char* cmd);
static long AtolAdjustPlayerLimit(const char* string);
2023-04-19 04:07:11 -04:00
static void SelectStringTableEntryInDvar_Stub();
2023-04-19 04:07:11 -04:00
static int G_GetClientScore_Hk();
2023-04-19 04:07:11 -04:00
static void G_LogPrintf_Stub(const char* fmt);
2023-04-19 04:07:11 -04:00
static void NET_DeferPacketToClient_Hk(Game::netadr_t* net_from, Game::msg_t* net_message);
static void SV_ExecuteClientMessage_Stub(Game::client_t* client, Game::msg_t* msg);
};
}