Home › Native functions › All functions (search)
Engine internals. No scripting access today. Listed for contributors and for understanding the game; using it needs a change to the game library.
All functions: searchable index
Every function of the symbol build (43803) with its address in both builds, a category and, where the name matches, the real signature from the Linux build. Use it to look up any function by name or address.
Mapped means the function was found in the current build (33271 of them, 76%); unmapped functions have no current address, mostly because they were compiler-generated or are template instances whose bytes changed.
Rows with ★ have a detailed entry in the native functions section. Search matches the name, the Lua method name, the signature and the addresses (for example 0x68d7f0).
Loading the function index (about 8 MB)…
What the categories mean
| Category |
What it is |
Functions |
Mapped to the current build |
| lua-wrapper |
The C++ side of a Lua method (every method in the Lua API is one of these). |
2281 |
2175 (95%) |
| game-logic |
Game rules and state: players, cities, units, diplomacy, religion, trade and so on. |
10477 |
10104 (96%) |
| ai |
Computer-player logic. |
2033 |
2008 (99%) |
| ui-cache |
The UI-side copy of game state and its event streams. |
2066 |
1985 (96%) |
| database-definitions |
Classes that load rows of the game database (the XML/SQL data). |
659 |
659 (100%) |
| effects |
The modifier system: effect, requirement and collection implementations. |
3539 |
3319 (94%) |
| lua-glue |
Helpers that connect game objects to Lua. |
217 |
217 (100%) |
| template-instance |
Instantiations of C++ templates (containers, serialization, delegates). |
10709 |
7120 (66%) |
| library |
Third-party and standard-library code (Lua VM, XML, SQLite, STL). |
8563 |
4627 (54%) |
| compiler-generated |
Static initializers, destructors and similar code the compiler writes. |
3259 |
1057 (32%) |