CS2-Kit
C++23 library for CS2 Metamod:Source plugin development
Loading...
Searching...
No Matches
CS2Kit::Sdk::SchemaService Class Reference

#include <Schema.hpp>

+ Inheritance diagram for CS2Kit::Sdk::SchemaService:

Public Member Functions

 SchemaService (Token)
 
bool Initialize ()
 
int GetOffset (const char *className, const char *fieldName)
 

Detailed Description

Runtime schema field offset resolution via ISchemaSystem. Provides access to entity field offsets at runtime by querying the engine's schema system. Results are cached for O(1) repeated access.

Definition at line 16 of file Schema.hpp.

Constructor & Destructor Documentation

◆ SchemaService()

CS2Kit::Sdk::SchemaService::SchemaService ( Token  )
inlineexplicit

Definition at line 19 of file Schema.hpp.

Member Function Documentation

◆ GetOffset()

int CS2Kit::Sdk::SchemaService::GetOffset ( const char *  className,
const char *  fieldName 
)

Definition at line 24 of file Schema.cpp.

◆ Initialize()

bool CS2Kit::Sdk::SchemaService::Initialize ( )

Definition at line 12 of file Schema.cpp.


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