Home › Engine events › UIEvent bus

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.

UIEvent bus

Input and debug console events (UIE_DebugConsoleInput is id 15) and UI system updates.

Event (from its data type) Id Data type Handlers in the exe
UIE_SystemUpdateUI 1 UIE_SystemUpdateUIData ForgeUI::ContextBase; ForgeUI::LuaContext; ForgeUI::TextControl; ForgeUI::ToolTipManager
event 2 (no data) 2 none ForgeUI::LineControl; ForgeUI::WorldAnchorControl
InputStruct 5 ForgeUI::InputStruct ForgeUI::ButtonControlBase; ForgeUI::DragControl; ForgeUI::SliderControl
UIE_RadioChanged 8 UIE_RadioChangedData ForgeUI::RadioButtonControl
UIE_ContextLoaded 10 UIE_ContextLoadedData Application console handler; ForgeUI::DebugContext
UIE_ContextVisibilityChanged 12 UIE_ContextVisibilityChangedData Telemetry::Listener
event 13 (no data) 13 none UI::Manager
event 14 (no data) 14 none UI::Manager
UIE_DebugConsoleInput 15 UIE_DebugConsoleInput Application console handler; CameraSystem; Civ6App; Civ6Audio; ColorKeySystem; ForgeUI::DebugContext; GameCoreController; GameViewState; LeaderScreen_Startup; MainMenuState; Minimap_Startup; WorldView (3D map renderer)
UIE_DebugConsoleString 16 UIE_DebugConsoleString Application console handler; ForgeUI::DebugContext
event 17 (no data) 17 none Application console handler; ForgeUI::DebugContext
UIE_PlayEffect 29 UIE_PlayEffectData unnamed system (0x3327e10)
UIE_StopEffect 30 UIE_StopEffectData unnamed system (0x3327e10)