Home › Engine Lua tables › WorldView

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.

WorldView

Static table with 9 methods. registered by exe interface GameCore::App::WorldView::Lua::IWorldView; game scripts call 4 of 9 methods. Registering function 0x160150.

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

Method Returns In game scripts Example Status
WorldView.HasAssetFor(…) -> boolean, boolean boolean, boolean not called — inferred
WorldView.HasAssetForBuilding(…) -> boolean boolean not called — inferred
WorldView.HasAssetForDistrict(arg1, …) -> boolean boolean 1 calls, 1 files if (WorldView.HasAssetForDistrict(districtType) inferred
WorldView.HasAssetForFeature(…) -> boolean boolean not called — inferred
WorldView.HasAssetForResource(…) -> boolean boolean not called — inferred
WorldView.HasAssetForUnit(…) -> boolean boolean not called — inferred
WorldView.HasAssetForWonder(arg1, …) -> boolean boolean 1 calls, 1 files if (WorldView.HasAssetForWonder(buildingType) inferred
WorldView.PlayEffectAtXY(arg1: string, arg2: integer, arg3: integer, [arg4: boolean]) — 17 calls, 6 files WorldView.PlayEffectAtXY("CITY_CREATED", cityX, cityY) inferred
WorldView.SetVFXImport(arg1: string, arg2: integer, [arg3: integer], [arg4: integer], [arg5: integer]) — 3 calls, 3 files WorldView.SetVFXImport("GodRayDisable", 1) inferred