|
VoltMod
C++23 framework for CS2 server plugins
|
#include <ConVar.hpp>
Public Member Functions | |
| ConVarRawScope (ConVar< T > &cvar, const T &value) | |
| ~ConVarRawScope () | |
| ConVarRawScope (const ConVarRawScope &)=delete | |
| ConVarRawScope & | operator= (const ConVarRawScope &)=delete |
| ConVarRawScope (ConVarRawScope &&other) noexcept | |
| ConVarRawScope & | operator= (ConVarRawScope &&)=delete |
Temporary raw convar value restored on destruction. The handle must outlive the scope.
Definition at line 42 of file ConVar.hpp.
| VoltMod::ConVarRawScope< T >::ConVarRawScope | ( | ConVar< T > & | cvar, |
| const T & | value ) |
Set now and restore the current value on destruction.
Definition at line 160 of file ConVar.cpp.
Referenced by ConVarRawScope(), ConVarRawScope(), operator=(), and operator=().
| VoltMod::ConVarRawScope< T >::~ConVarRawScope | ( | ) |
Definition at line 168 of file ConVar.cpp.
|
delete |
References ConVarRawScope().
|
inlinenoexcept |
Definition at line 52 of file ConVar.hpp.
References ConVarRawScope().
|
delete |
References ConVarRawScope().
|
delete |
References ConVarRawScope().