t8-mod/source/proxy-dll/component/dvars.hpp
project-bo4 2358dcf30b developer console
+ added in-game developer console
+ added dvar definitions and helping class
+ list of known game dvars can be found inside variables.cpp
+ adjusted logger component
+ re-enabled com_frame hook
+ some minor code formatting
2023-09-06 05:08:38 -07:00

14 lines
387 B
C++

#pragma once
#include "definitions\game.hpp"
namespace dvars
{
std::string get_value_string(const game::dvar_t* dvar, game::DvarValue* value);
std::string get_domain_string(const game::dvarType_t type, const game::DvarLimits& domain);
game::dvar_t* find_dvar(uint64_t hashRef);
game::dvar_t* find_dvar(const char* nameRef);
game::dvar_t* find_dvar(const std::string& nameRef);
}