Home › Lua API › CityCulture

Available out of the box. Usable from Lua in the unmodified game.

CityCulture

7 methods. Symbol/current columns are function addresses (RVA) of the native wrapper.

Community reference for this object: CityCulture (Sukrit Tan, external).

Signatures are recovered from the game code. ⚠ = partly understood (arguments may be missing or approximate). ? after a name = optional argument. Types: integer/number are Lua numbers, enum-typed arguments show the C++ type in brackets. Two signatures mean the method is registered separately for the UI and the gameplay state and each wrapper was decoded on its own. "same code as" in the Symbol column means the compiler merged identical functions: those methods share one wrapper and cannot be told apart by address.

Method Signature Where Reference Symbol Current
GetCity CityCulture:GetCity() → City
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x68dd70 0x68e350
GetCultureYield CityCulture:GetCultureYield() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x68ddb0 0x68e390
GetCurrentCulture CityCulture:GetCurrentCulture() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x68de20 0x68e400
GetNextPlot CityCulture:GetNextPlot() → number
✓ exists at runtime (not called)
returns: Plot index: the scripts pass the result to Map.GetPlotByIndex.
ui-cache yes ↗ 0x68de90 0x68e470
GetNextPlotCultureCost CityCulture:GetNextPlotCultureCost() → number
✓ exists at runtime (not called)
ui-cache yes ↗ 0x68dee0 0x68e4c0
GetTourism CityCulture:GetTourism() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x68df30 0x68e510
GetTurnsUntilExpansion CityCulture:GetTurnsUntilExpansion() → number
✓ called in the game: 1 value(s) as documented
ui-cache yes ↗ 0x68df80 0x68e560