Home › Class layouts › AI › AI::GreatWorkBuildingInfo

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).

AI::GreatWorkBuildingInfo

GameCore::AI::GreatWorkBuildingInfo — structure, size 64 bytes (0x40).

Linux offset Member Type
0x0 BuildingType BuildingTypes
0x4 CityId IDType
0x8 SlotType GreatWorkSlotTypes
0xc Capacity uint
0x10 Index uint
0x14 ThemedByCreator bool
0x15 ThemedByEra bool
0x18 NonUniqueYieldScore FixedPoint
0x1c NonUniqueTourismScore FixedPoint
0x20 ThemedYieldBonus int
0x24 ThemedTourismBonus int
0x28 EmptySlots Types::Vector<int, Types::LinearAlloc::Default<1, 0> >