Home › Engine Lua tables › AutoProfiler

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.

AutoProfiler

Static table with 21 methods. named from how the game scripts call it (10 of 21 methods matched). Registering function 0x54d90.

Methods are called with a dot (AutoProfiler.Method(...)).

Method Returns In game scripts Example Status
AutoProfiler.AddColumn(arg1: string) — 30 calls, 1 files AutoProfiler.AddColumn( "State" ) inferred
AutoProfiler.GetCameraZoom() — not called — inferred
AutoProfiler.GetGPUStallThreshold() — not called — inferred
AutoProfiler.GetLookAtCount() — not called — inferred
AutoProfiler.GetLookAtFrames() — not called — inferred
AutoProfiler.GetStateString(…) -> 1 value 1 value not called — inferred
AutoProfiler.GetTestName() -> 1 value 1 value not called — inferred
AutoProfiler.GetTimeRemaining() — not called — inferred
AutoProfiler.GetWaitForLandmarks() — not called — inferred
AutoProfiler.GetWaitForTerrain() — not called — inferred
AutoProfiler.IsIdle() — not called — inferred
AutoProfiler.RunCommand(arg1: string) — 4 calls, 1 files AutoProfiler.RunCommand( "toggle ui" ) inferred
AutoProfiler.SetCameraZoom(arg1: number) — 1 calls, 1 files AutoProfiler.SetCameraZoom( 1 ) inferred
AutoProfiler.SetFilePath(arg1: string) — 1 calls, 1 files function SetSummaryFile( strFileName ) AutoProfiler.SetFilePath( SUMMARY_PATH_BASE .. strFileName ) inferred
AutoProfiler.SetGPUStallThreshold(arg1: number) — 1 calls, 1 files AutoProfiler.SetGPUStallThreshold( 1 ) inferred
AutoProfiler.SetLookAtCount(arg1: integer) — 1 calls, 1 files AutoProfiler.SetLookAtCount( 20 ) inferred
AutoProfiler.SetLookAtFrames(arg1: integer) — 1 calls, 1 files AutoProfiler.SetLookAtFrames( 100 ) inferred
AutoProfiler.SetTestName(arg1: string) — 1 calls, 1 files AutoProfiler.SetTestName(test.name) inferred
AutoProfiler.SetWaitForLandmarks() — not called — inferred
AutoProfiler.SetWaitForTerrain(arg1: boolean) — 1 calls, 1 files AutoProfiler.SetWaitForTerrain( false ) inferred
AutoProfiler.Start() — 1 calls, 1 files AutoProfiler.Start() inferred