|
VoltMod
C++23 framework for CS2 server plugins
|
#include <SchemaCheck.hpp>
Public Member Functions | |
| SchemaCheck (PluginRegistry ®istry, ISchemaSystem *schema, IGameResourceService *resources) | |
| void | OnServerStartup () |
Compares the baked schema offsets with the live game once per process. The answer is recorded on PluginRegistry and covers only plugins carrying the same layout stamp.
Definition at line 16 of file SchemaCheck.hpp.
| VoltMod::SchemaCheck::SchemaCheck | ( | PluginRegistry & | registry, |
| ISchemaSystem * | schema, | ||
| IGameResourceService * | resources | ||
| ) |
Compare the layout once and record the answer on registry. Null interfaces check and dump nothing.
Definition at line 165 of file SchemaCheck.cpp.
References VoltMod::EntitySystemOffset, VoltMod::Offset, and VoltMod::ReadFile().
| 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 178 of file SchemaCheck.cpp.
References VoltMod::Schema::WriteSchemaDump().