> For the complete documentation index, see [llms.txt](https://pellix-1.gitbook.io/pellix-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pellix-1.gitbook.io/pellix-docs/tables/schema.md). Agents can also search and read this documentation through its [MCP server](https://pellix-1.gitbook.io/pellix-docs/~gitbook/mcp).

# schema

Allows to access internal game structures offsets.

**Functions:**

{% code overflow="wrap" %}

```lua
schema.get([library_name: string = "client.dll", ] class_name: string, field_name: string): number
```

{% endcode %}

Returns schema class field offset in bytes. Library name specified in the following format: `libname.dll`

If library name is not specified, `client.dll` is used.

{% code overflow="wrap" %}

```lua
schema.get_class_size([library_name: string = "client.dll", ] class_name: string): number
```

{% endcode %}

Returns schema class size in bytes.

```lua
schema.get_interface(library_name: string, interface_name: string): number
```

Returns interface address. See <https://github.com/a2x/cs2-dumper/blob/main/output/interfaces.json> for available interfaces.
