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, IGameResourceService *resources)
 
void OnServerStartup ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ SchemaCheck()

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().

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 178 of file SchemaCheck.cpp.

References VoltMod::Schema::WriteSchemaDump().


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