|
VoltMod
C++23 framework for CS2 server plugins
|
Centralized holder for all SDK interface pointers. More...
#include <Interfaces.hpp>
Public Member Functions | |
| Interfaces ()=default | |
Public Attributes | |
| ISource2Server * | ServerGameDLL = nullptr |
| ISource2GameClients * | ServerGameClients = nullptr |
| INetworkServerService * | NetworkServerService = nullptr |
| ISource2GameEntities * | GameEntities = nullptr |
| IVEngineServer2 * | Engine = nullptr |
| IGameEventSystem * | GameEventSystem = nullptr |
| INetworkMessages * | NetworkMessages = nullptr |
| IGameEventManager2 * | GameEventManager = nullptr |
| ISchemaSystem * | SchemaSystem = nullptr |
| CGameEntitySystem * | EntitySystem = nullptr |
| ICvar * | CVar = nullptr |
| IGameResourceService * | GameResourceService = nullptr |
Centralized holder for all SDK interface pointers.
All fields are filled while the runtime starts, from the factories the host hands over.
Every field is a pointer, so this header names the SDK interfaces without including any SDK header. A translation unit that calls through one of them includes the SDK header it needs; the rest of the framework - and every plugin that only holds the runtime - stays clear of the engine headers.
Definition at line 18 of file Interfaces.hpp.
|
default |
| ICvar* VoltMod::Interfaces::CVar = nullptr |
Definition at line 32 of file Interfaces.hpp.
| IVEngineServer2* VoltMod::Interfaces::Engine = nullptr |
Definition at line 26 of file Interfaces.hpp.
| CGameEntitySystem* VoltMod::Interfaces::EntitySystem = nullptr |
Definition at line 31 of file Interfaces.hpp.
| ISource2GameEntities* VoltMod::Interfaces::GameEntities = nullptr |
Definition at line 25 of file Interfaces.hpp.
| IGameEventManager2* VoltMod::Interfaces::GameEventManager = nullptr |
Definition at line 29 of file Interfaces.hpp.
| IGameEventSystem* VoltMod::Interfaces::GameEventSystem = nullptr |
Definition at line 27 of file Interfaces.hpp.
Referenced by VoltMod::PostUserMessage().
| IGameResourceService* VoltMod::Interfaces::GameResourceService = nullptr |
Definition at line 33 of file Interfaces.hpp.
| INetworkMessages* VoltMod::Interfaces::NetworkMessages = nullptr |
Definition at line 28 of file Interfaces.hpp.
Referenced by VoltMod::PostUserMessage().
| INetworkServerService* VoltMod::Interfaces::NetworkServerService = nullptr |
Definition at line 24 of file Interfaces.hpp.
| ISchemaSystem* VoltMod::Interfaces::SchemaSystem = nullptr |
Definition at line 30 of file Interfaces.hpp.
| ISource2GameClients* VoltMod::Interfaces::ServerGameClients = nullptr |
Definition at line 23 of file Interfaces.hpp.
| ISource2Server* VoltMod::Interfaces::ServerGameDLL = nullptr |
Definition at line 22 of file Interfaces.hpp.