Home › Engine functions › GameState

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.

GameState

Game state objects of the application layer.

106 functions in this category, 26 with a Windows address (20 high or medium confidence or exported, 6 low). The rest are in the full search.

Function Windows RVA Confidence How mapped Notes Linux address Size
GameViewState::Begin() 0x7bb30 medium string anchor 0x2fbc300 656
GameViewState::End() 0x7c870 medium string anchor 0x2fbc720 688
GameViewState::LoadUI() 0x7d490 medium string anchor 0x2fb9d50 528
GameViewState::OnConsoleMessage(Events::EventTemplate<15u, UIE_DebugConsoleInput, Events::LinearEventDispatcher, UIEventContainer, Events::NullEventC… 0x7d780 high string anchor handles UIEvent event 15 (UIE_DebugConsoleInput); console: wrap; console: toggl… 0x2fba1f0 2432
GameViewState::OnShowLeaderScreen(Events::EventTemplate<12u, ShowLeaderScreenData, Events::LinearEventDispatcher, LocalMachineContainer, Events::Null… 0x7e4a0 medium string anchor handles LocalMachine event 12 (ShowLeaderScreenData) 0x2fbc590 160
GameViewState::SetFromCommandLine(int, char**) 0x7ec80 medium string anchor 0x2fba050 128
GameViewState::ShutdownGame() 0x7ee30 medium string anchor 0x2fbbcc0 1120
GameViewState::StartupGame(unsigned int, unsigned int) 0x7f670 high string anchor 0x2fbab70 2640
GameViewState::Tick(GameStateTickArgs const&, Platform::Job*) 0x802c0 medium string anchor 0x2fbd330 1328
GameViewState::UpdateGameCore(float) 0x81160 medium call-graph propagation 0x2fbca10 976
LoadGameViewState::InitAsyncJob::InitAsyncJob() 0x836b0 medium string anchor 0x2fd0d50 112
LoadGameViewState::Begin() 0x83a40 medium string anchor 0x2fd14c0 624
LoadGameViewState::End() 0x83d50 medium string anchor 0x2fd1760 608
LoadGameViewState::InitializeNewGameLinuxPre() 0x840e0 medium string anchor 0x2fd62f0 528
LoadGameViewState::LaunchNextStage(unsigned int) 0x84870 high string anchor 0x2fd2180 16528
LoadGameViewState::LoadUI() 0x89690 medium string anchor 0x2fd0fe0 640
LoadGameViewState::Tick(GameStateTickArgs const&) 0x89ac0 high string anchor 0x2fd19d0 1536
LoadGameViewState::UnloadUI() 0x8a210 medium string anchor 0x2fd1260 608
MainMenuState::HandleConsoleMessage(Events::EventTemplate<15u, UIE_DebugConsoleInput, Events::LinearEventDispatcher, UIEventContainer, Events::NullEv… 0x8aa70 high string anchor handles UIEvent event 15 (UIE_DebugConsoleInput) 0x2fd8380 240
MainMenuState::LoadUI() 0x8ab40 medium score-based neighbour propagation (~96% on hold-out) 0x2fd82a0 224
Low confidence (6, unreliable)
Function Windows RVA How mapped Linux address
GameViewState::OnHideLeaderScreen(Events::EventTemplate<13u, Events::NullEventClass, Events::LinearEventDispa… 0x7e560 interval alignment (~65% precise) 0x2fbc630
GameViewState::RunScript() 0x7eab0 score-based neighbour propagation (~90% on hold-o… 0x2fba0d0
GameViewState::OnToggleGrid(Events::EventTemplate<37u, GenericData<bool>, Events::LinearEventDispatcher, Loca… 0x7ec70 interval alignment (~65% precise) 0x2fbc650
LoadGameViewState::~LoadGameViewState() 0x83990 interval alignment (~65% precise) 0x2fd0f10
LoadGameViewState::GameAbandoned(KickReason) 0x84050 interval alignment (~65% precise) 0x2fd2070
LoadGameViewState::BeginAsyncLoad() 0x84060 interval alignment (~65% precise) 0x2fd2080