18 if constexpr (std::is_same_v<T, bool>)
22 else if constexpr (std::is_same_v<T, int>)
26 else if constexpr (std::is_same_v<T, float>)
44 return value ?
"1" :
"0";
50 return std::format(
"{}", value);
56 return std::format(
"{}", value);
std::string ConVarText< std::string >(const std::string &value)
std::string ConVarText< int >(const int &value)
template bool ConVarTypeMatches< float >(ConVarType)
template bool ConVarTypeMatches< std::string >(ConVarType)
template bool ConVarTypeMatches< int >(ConVarType)
template bool ConVarTypeMatches< bool >(ConVarType)
std::string ConVarText< float >(const float &value)
std::string ConVarText< bool >(const bool &value)
bool ConVarTypeMatches(ConVarType type)