VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
Interfaces.hpp
Go to the documentation of this file.
1#pragma once
2
4
5namespace VoltMod
6{
7
8/**
9 * @brief Centralized holder for all HL2SDK interface pointers.
10 *
11 * All fields are filled while the runtime starts, from the factories the host hands over.
12 *
13 * Every field is a pointer, so this header names the SDK interfaces without including
14 * any SDK header. A translation unit that calls through one of them includes the SDK
15 * header it needs; the rest of the framework - and every plugin that only holds the
16 * runtime - stays clear of eiface.h.
17 */
35
36} // namespace VoltMod
runtime.Entities: finds and creates entities. Everything it returns is valid for this frame only; see...
static std::string ReadFile(const std::filesystem::path &path)
Definition Loader.cpp:56
Centralized holder for all HL2SDK interface pointers.
ISource2Server * ServerGameDLL
ISchemaSystem * SchemaSystem
INetworkServerService * NetworkServerService
ISource2GameEntities * GameEntities
IGameResourceService * GameResourceService
IVEngineServer2 * Engine
IGameEventSystem * GameEventSystem
INetworkMessages * NetworkMessages
IGameEventManager2 * GameEventManager
ISource2GameClients * ServerGameClients