|
VoltMod
C++23 framework for CS2 server plugins
|
#include "Host/LoaderHandoff.hpp"#include <VoltMod/Host/PluginDescriptor.hpp>#include <filesystem>#include <string>#include <string_view>Go to the source code of this file.
Namespaces | |
| namespace | VoltMod |
Functions | |
| VOLTMOD_EXPORT void * | CreateInterface (const char *name, int *returnCode) |
| void * | VoltMod::OpenModule (const std::filesystem::path &path) |
| static void * | VoltMod::FindExport (void *handle, const char *name) |
| static std::string | VoltMod::LastError () |
| std::filesystem::path | VoltMod::OwnPath () |
| InterfaceFactory | VoltMod::FactoryAt (const void *address) |
Variables | |
| constexpr std::string_view | VoltMod::PlatformDir = VOLTMOD_BIN_DIR |
| constexpr std::string_view | VoltMod::HostFile = VOLTMOD_HOST_FILE |
| constexpr std::string_view | VoltMod::ServerFile = "libserver.so" |
| VOLTMOD_EXPORT void * CreateInterface | ( | const char * | name, |
| int * | returnCode | ||
| ) |
The engine loads this module as server_valve and asks it for the game server's interfaces.
Definition at line 207 of file Loader.cpp.
References VoltMod::FindNextFactory(), and VoltMod::Patch.