Home › Native functions
Engine internals. No scripting access today. Listed for contributors and for understanding the game; using it needs a change to the game library.
Engine functions with no Lua access
Functions inside GameCore that the unmodified game does not expose to Lua, and that a mod could only reach through a change to the game library (for example by adding them to the Community Extension).
Nothing here can be called from a script today. The list is a selection, not the whole library: 367 functions chosen because they change game state and have no Lua wrapper (333), because they were analysed in detail (17) or because the Community Extension already wraps them (17).
The complete function inventory (all 43803 functions of the symbol build) is searchable on the All functions page.
How to read an entry: the signature is the Linux build's (real parameter names and types; STL types differ on Windows). Addresses are function addresses (RVA) in the symbol build and the current build.
From Lua says whether any Lua route reaches the function: no, only indirectly (a Lua method reaches it as a side effect, for example a city transfer), or via the Community Extension.
Entries marked ★ have notes from reading the decompiled code, each labelled verified or inferred.