Game API
Game API
Every class, struct, enum and global function the game exposes to scripts and native plugins, read from the game's own type data (RTTI). Signatures are shown in redscript syntax. Hover a linked type to see its native name.
10,271ClassesScript-facing reference types, the IScriptable tree
2,548StructsValue types
3,011Native classesEngine types outside the IScriptable tree
1,549Enums and bitfieldsNamed constants
4,141Global functionsFree functions
About this data
| Item | Value |
|---|---|
| Game version | 2.31 |
| Scope | Base game only. Dumped with no mods loaded except RED4ext and REDnode, so no mod adds types or methods here. |
| Dumped by | REDnode 0.2.0 on 2026-10-11 |
| Totals | 43,391 properties, 47,953 methods |
The type data carries names, types and flags only. Descriptions come from REDnode's own notes in gameapi/notes/. Types with notes: 5.
Flags
| Flag | Meaning |
|---|---|
| native | Implemented in the game's C++ code |
| scripted | Defined in the game's redscript code |
| importOnly | A native type that scripts may use but not subclass |
cb func | An event callback (flag event). The game calls it |
| exec | A console command |
| quest | Callable from quest scripts |
The split into classes, native classes and structs is inferred from the inheritance tree: IScriptable descendants are classes, other ISerializable descendants are native classes, and the rest are structs. It is unverified for edge cases.