VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
ConVars.cpp File Reference
#include <VoltMod/Core/Files/File.hpp>
#include <VoltMod/Core/Log.hpp>
#include <VoltMod/Core/Slots/Slot.hpp>
#include <VoltMod/Core/Text/Strings.hpp>
#include <VoltMod/Engine/ConVars/ConVar.hpp>
#include <VoltMod/Engine/Interfaces.hpp>
#include <VoltMod/Engine/Net/RecipientFilter.hpp>
#include <eiface.h>
#include <engine/igameeventsystem.h>
#include <format>
#include <icvar.h>
#include <networkbasetypes.pb.h>
#include <networksystem/inetworkmessages.h>
#include <networksystem/netmessage.h>
#include <string>
#include <string_view>
#include <tier1/convar.h>

Go to the source code of this file.

Namespaces

namespace  VoltMod
 

Functions

static std::string_view Text (const char *value)
 
static void GlobalConVarChangeCallback (ConVarRefAbstract *ref, CSplitScreenSlot, const char *newValue, const char *oldValue, void *)
 

Variables

static VoltMod::ConVars * g_changeCallback = nullptr
 

Function Documentation

◆ GlobalConVarChangeCallback()

static void GlobalConVarChangeCallback ( ConVarRefAbstract *  ref,
CSplitScreenSlot  ,
const char *  newValue,
const char *  oldValue,
void *   
)
static

◆ Text()

static std::string_view Text ( const char *  value)
static

Definition at line 22 of file ConVars.cpp.

Referenced by GlobalConVarChangeCallback().

Variable Documentation

◆ g_changeCallback

VoltMod::ConVars* g_changeCallback = nullptr
static

Definition at line 20 of file ConVars.cpp.

Referenced by GlobalConVarChangeCallback().