Home › Class layouts › City › City::IInstance

Needs the Community Extension. Not available in the unmodified game; works while the Community Extension mod is active (its own functions, or raw memory access with Mem/ObjMem).

City::IInstance

GameCore::City::IInstance — class, size 512 bytes (0x200).

Bases: Interfaces::ICore at 0x0

Linux offset Member Type Windows Lua methods (inferred)
0x8 m_syncArchive FAutoArchiveClassContainer<GameCore::City::IInstance>
0xa0 m_id FAutoVariable<unsigned int, GameCore::City::IInstance>
0xb8 m_kLocation FAutoVariable<GameCore::PlotCoord, GameCore::City::IInstance> reads: City:GetPlot
0xd0 m_eOwner FAutoVariable<GameCore::PlayerTypes, GameCore::City::IInstance> 0xc8 (Windows = Linux − 8; verified)
0xe8 m_eOriginalOwner FAutoVariable<GameCore::PlayerTypes, GameCore::City::IInstance>
0x100 m_kAttributes FAutoVariable<Data::VariantMap, GameCore::City::IInstance>
0x198 m_kProperties FAutoVariable<Data::TypedVariantMap, GameCore::City::IInstance>

The Windows column is filled in only for members that were checked against Windows code. For the rest, use the Linux offset with the rule above.