Home › Engine classes › Platform

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.

Platform

10 classes. A class lists its base chain (first base only for multiple inheritance), its direct subclasses, and its virtual slots.

Class Base chain Subclasses Virtual slots
Allocator — 1 2
AsyncJob — 10 3
AsyncJob::AsyncJobRunner Job 0 3
DebugHelper IDebugHelper 0 16
IDebugHelper — 1 0
IThread — 1 0
Job — 53 3
JobTask — 0 4
ThreadIdObserver task_scheduler_observer > task_scheduler_observer_v3 0 5
WinThread IThread 0 14

Virtual functions by class

Platform::Allocator (2 slots, vtable 0x53a0668 (Linux))
Slot Function Windows RVA
0 — —
1 — —
Platform::AsyncJob (3 slots, vtable 0x53cbfc0 (Linux))
Slot Function Windows RVA
0 Platform::AsyncJob::~AsyncJob —
1 Platform::AsyncJob::~AsyncJob —
2 — —
Platform::AsyncJob::AsyncJobRunner (3 slots, vtable 0x53cbfe8 (Linux))
Slot Function Windows RVA
0 Platform::Job::~Job —
1 Platform::AsyncJob::AsyncJobRunner::~AsyncJobRunner —
2 Platform::AsyncJob::AsyncJobRunner::Execute —
Platform::DebugHelper (16 slots, vtable 0x53cc210 (Linux))
Slot Function Windows RVA
0 Platform::DebugHelper::~DebugHelper —
1 Platform::DebugHelper::~DebugHelper —
2 Platform::DebugHelper::ShouldIgnoreExceptions —
3 Platform::DebugHelper::EnableExceptionHandling —
4 Platform::DebugHelper::DisableExceptionHandling —
5 Platform::DebugHelper::SetOptions —
6 Platform::DebugHelper::ClearOptions —
7 Platform::DebugHelper::GetOptions —
8 Platform::DebugHelper::HasOptions —
9 Platform::DebugHelper::RegisterAdditionalExceptionHandler —
10 Platform::DebugHelper::LoadSymbols —
11 Platform::DebugHelper::LoadSymbols —
12 Platform::DebugHelper::UnloadSymbols —
13 Platform::DebugHelper::GetSymbolInfo —
14 Platform::DebugHelper::GetCallStack —
15 Platform::DebugHelper::WalkStack —
Platform::Job (3 slots, vtable 0x53cbf88 (Linux))
Slot Function Windows RVA
0 Platform::Job::~Job —
1 Platform::Job::~Job —
2 — —
Platform::JobTask (4 slots, vtable 0x53cc170 (Linux))
Slot Function Windows RVA
0 tbb::task::~task —
1 Platform::JobTask::~JobTask —
2 Platform::JobTask::execute —
3 24 —
Platform::ThreadIdObserver (5 slots, vtable 0x53cc088 (Linux))
Slot Function Windows RVA
0 Platform::ThreadIdObserver::on_scheduler_entry —
1 tbb::internal::task_scheduler_observer_v3::on_scheduler_exit —
2 tbb::interface6::task_scheduler_observer::~task_scheduler_observer —
3 Platform::ThreadIdObserver::~ThreadIdObserver —
4 tbb::interface6::task_scheduler_observer::may_sleep —
Platform::WinThread (14 slots, vtable 0x53cc2d0 (Linux))
Slot Function Windows RVA
0 Platform::WinThread::~WinThread —
1 Platform::WinThread::~WinThread —
2 Platform::WinThread::Initialize —
3 Platform::WinThread::IsValid —
4 Platform::WinThread::IsRunning —
5 Platform::WinThread::Start —
6 Platform::WinThread::Suspend —
7 Platform::WinThread::WaitToExit —
8 Platform::WinThread::GetExitCode —
9 Platform::WinThread::Signal —
10 Platform::WinThread::ID —
11 Platform::WinThread::GetName —
12 Platform::WinThread::IsCurrentThread —
13 Platform::WinThread::IsStarted —