VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
Host.cpp File Reference

Go to the source code of this file.

Classes

class  VoltMod::Host

Namespaces

namespace  KHook
namespace  VoltMod

Functions

VOLTMOD_EXPORT bool VoltMod_HostStart (const VoltMod::LoaderHandoff *start, char *error, size_t errorSize)
VOLTMOD_EXPORT void VoltMod_HostStop ()

Variables

static constexpr std::string_view VoltMod::GameDataPath = "addons/voltmod/gamedata/gamedata.jsonc"
static Host VoltMod::g_host

Function Documentation

◆ VoltMod_HostStart()

VOLTMOD_EXPORT bool VoltMod_HostStart ( const VoltMod::LoaderHandoff * start,
char * error,
size_t errorSize )

Definition at line 135 of file Host.cpp.

References VoltMod::Strings::CopyToBuffer(), VoltMod::g_host, and VOLTMOD_EXPORT.

◆ VoltMod_HostStop()

VOLTMOD_EXPORT void VoltMod_HostStop ( )

Definition at line 145 of file Host.cpp.

References VoltMod::g_host, and VOLTMOD_EXPORT.