47 lines
1.4 KiB
C++
47 lines
1.4 KiB
C++
#pragma once
|
|
|
|
namespace Components
|
|
{
|
|
class QuickPatch : public Component
|
|
{
|
|
public:
|
|
QuickPatch();
|
|
|
|
bool unitTest() override;
|
|
|
|
static void UnlockStats();
|
|
|
|
private:
|
|
static void SelectStringTableEntryInDvarStub();
|
|
|
|
static int SVCanReplaceServerCommand(Game::client_t *client, const char *cmd);
|
|
static int G_GetClientScore();
|
|
|
|
static int MsgReadBitsCompressCheckSV(const char *from, char *to, int size);
|
|
static int MsgReadBitsCompressCheckCL(const char *from, char *to, int size);
|
|
|
|
static long AtolAdjustPlayerLimit(const char* string);
|
|
|
|
static void JavelinResetHookStub();
|
|
|
|
static bool InvalidNameCheck(char* dest, const char* source, int size);
|
|
static void InvalidNameStub();
|
|
|
|
static Dvar::Var r_customAspectRatio;
|
|
static Game::dvar_t* Dvar_RegisterAspectRatioDvar(const char* dvarName, const char** valueList, int defaultIndex, unsigned __int16 flags, const char* description);
|
|
static void SetAspectRatioStub();
|
|
static void SetAspectRatio();
|
|
|
|
static Game::dvar_t* g_antilag;
|
|
static void ClientEventsFireWeaponStub();
|
|
static void ClientEventsFireWeaponMeleeStub();
|
|
|
|
static BOOL IsDynClassnameStub(char* a1);
|
|
|
|
static void CL_KeyEvent_OnEscape();
|
|
static void CL_KeyEvent_ConsoleEscape_Stub();
|
|
|
|
static Game::dvar_t* Dvar_RegisterUIBuildLocation(const char* dvarName, float x, float y, float min, float max, int flags, const char* description);
|
|
};
|
|
}
|