|
VoltMod
C++23 framework for CS2 server plugins
|
Centralized holder for all HL2SDK interface pointers. More...
#include <Interfaces.hpp>
Public Member Functions | |
| Interfaces ()=default | |
Centralized holder for all HL2SDK 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 eiface.h.
Definition at line 18 of file Interfaces.hpp.
|
default |
Definition at line 32 of file Interfaces.hpp.
Referenced by VoltMod::ConVars::Available(), and VoltMod::Controller::ExecuteCommand().
| IVEngineServer2* VoltMod::Interfaces::Engine = nullptr |
Definition at line 26 of file Interfaces.hpp.
Referenced by VoltMod::Map::ChangeLevel(), VoltMod::Map::Current(), VoltMod::ConVars::ExecuteServerCommand(), VoltMod::NetChannels::GetNetInfo(), VoltMod::NetChannels::GetUserInfoCvar(), VoltMod::Clock::Globals(), VoltMod::Map::IsValid(), and VoltMod::Controller::Kick().
| CGameEntitySystem* VoltMod::Interfaces::EntitySystem = nullptr |
Definition at line 31 of file Interfaces.hpp.
Referenced by VoltMod::EntitySystem::Raw(), and VoltMod::EntitySystem::~EntitySystem().
| 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.
Referenced by VoltMod::GameEvents::Available(), VoltMod::GameEvents::ClientListensTo(), VoltMod::GameEvents::CreateEvent(), VoltMod::GameEvents::FireEvent(), VoltMod::GameEvents::FreeEvent(), VoltMod::GameEvents::GameEvents(), VoltMod::GameEvents::OnServerStartup(), VoltMod::GameEvents::RemoveAllListeners(), and VoltMod::Messages::SendCenterHtml().
| IGameEventSystem* VoltMod::Interfaces::GameEventSystem = nullptr |
Definition at line 27 of file Interfaces.hpp.
Referenced by VoltMod::TextMessages::Available(), and VoltMod::Messages::Available().
| IGameResourceService* VoltMod::Interfaces::GameResourceService = nullptr |
Definition at line 33 of file Interfaces.hpp.
Referenced by VoltMod::EntitySystem::Available(), and VoltMod::EntitySystem::EntitySystem().
| INetworkMessages* VoltMod::Interfaces::NetworkMessages = nullptr |
Definition at line 28 of file Interfaces.hpp.
Referenced by VoltMod::Messages::Available().
| 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.
Referenced by VoltMod::Controller::ExecuteCommand().
| ISource2Server* VoltMod::Interfaces::ServerGameDLL = nullptr |
Definition at line 22 of file Interfaces.hpp.