VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::LoaderHandoff Struct Reference

#include <LoaderHandoff.hpp>

Public Attributes

InterfaceFactory EngineFactory = nullptr
 
InterfaceFactory ServerFactory = nullptr
 the game's own server library, never a loader in front of it
 
KHook::IKHook * HookDispatcher = nullptr
 the loader's KHook, which every module's hooks go through
 
const char * GameDir = nullptr
 the absolute csgo directory
 

Detailed Description

What the loader hands the host. They ship together, so no version; every pointer lives for the process.

Definition at line 13 of file LoaderHandoff.hpp.

Member Data Documentation

◆ EngineFactory

InterfaceFactory VoltMod::LoaderHandoff::EngineFactory = nullptr

◆ GameDir

const char* VoltMod::LoaderHandoff::GameDir = nullptr

the absolute csgo directory

Definition at line 18 of file LoaderHandoff.hpp.

Referenced by VoltMod::PluginContext::BaseDir(), and VoltMod::LoadNextServer().

◆ HookDispatcher

KHook::IKHook* VoltMod::LoaderHandoff::HookDispatcher = nullptr

the loader's KHook, which every module's hooks go through

Definition at line 17 of file LoaderHandoff.hpp.

Referenced by VoltMod::PluginContext::HookDispatcher().

◆ ServerFactory

InterfaceFactory VoltMod::LoaderHandoff::ServerFactory = nullptr

the game's own server library, never a loader in front of it

Definition at line 16 of file LoaderHandoff.hpp.

Referenced by VoltMod::Patch(), VoltMod::PluginContext::ServerInterface(), and VoltMod::StartHost().


The documentation for this struct was generated from the following file: