Home › Engine Lua tables › DirtyComponentsManager

Engine executable. Settings and tools of the game program (CivilizationVI.exe), usable without a mod. Mostly undocumented debug and configuration functionality; descriptions come from analysis of the executable and have not all been tried in the running game.

DirtyComponentsManager

Object type with 6 methods. game scripts call these on m_DirtyComponents; the exe interface is GameCore::Utility::Lua::IDirtyComponentsManager. Registering function 0x1cb320.

Methods are called on a value of this type with a colon (obj:Method(...)).

Method Returns In game scripts Example Status
DirtyComponentsManager:AddComponent(arg1, arg2: integer, arg3: integer, …) — 2 calls, 1 files m_DirtyComponents:AddComponent(playerID, unitID, ComponentType.UNIT) inferred
DirtyComponentsManager:AddEvent(arg1: string, …) — 8 calls, 1 files m_DirtyComponents:AddEvent("UNIT_EMBARK_CHANGED") inferred
DirtyComponentsManager:Clear(…) — 4 calls, 1 files m_DirtyComponents:Clear() inferred
DirtyComponentsManager:GetCount(…) -> number number not called — inferred
DirtyComponentsManager:Members() -> table table 2 calls, 1 files for playerID, unitID in m_DirtyComponents:Members() inferred
DirtyComponentsManager:MembersAux(…) -> number, number, number number, number, number not called — inferred