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

#include <SchemaCheck.hpp>

Public Member Functions

 SchemaCheck (PluginRegistry &registry, ISchemaSystem *schema)
void OnServerStartup ()

Detailed Description

Fills the host's own generated offsets from the live schema, and gives PluginRegistry the lookup each plugin fills its own from.

Definition at line 17 of file SchemaCheck.hpp.

Constructor & Destructor Documentation

◆ SchemaCheck()

VoltMod::SchemaCheck::SchemaCheck ( PluginRegistry & registry,
ISchemaSystem * schema )

Resolve the host's layout and hand registry the lookup. A null schema resolves and dumps nothing.

Definition at line 131 of file SchemaCheck.cpp.

References VoltMod::Schema::FindLiveField().

Member Function Documentation

◆ OnServerStartup()

void VoltMod::SchemaCheck::OnServerStartup ( )

Write the dump once a map's entities exist: at most once per process, never over a dump of this build.

Definition at line 139 of file SchemaCheck.cpp.

References VoltMod::Schema::WriteSchemaDump().


The documentation for this class was generated from the following files: