OptionsManager (Civ5 Type)

From Civilization Modding Wiki
Jump to navigationJump to search

This page is a part of the Lua and UI Reference (Civ5).


Static Methods

Methods are functions that belong to an object. Static methods are invoked through a dot, as in OptionsManager.SomeMethod(<args>). When a dot is used the caller object is not implicitly provided as the first argument.

C

Base game Gods & Kings ___________________________
Check.png Check.png Star.png Speech.png CommitGameOptions(int arg0 = nil)
Check.png Check.png Star.png Speech.png CommitGraphicsOptions()
Check.png Check.png Star.png Speech.png CommitResolutionOptions()

G

Base game Gods & Kings ___________________________
Check.png Check.png Star.png Speech.png unknown GetAASamples_Cached()
Check.png Check.png Star.png Speech.png bool GetAutoUIAssets_Cached()
Check.png Check.png Star.png Speech.png int GetAutoUnitCycle_Cached()
Check.png Check.png Star.png Speech.png unknown GetBindMouseMode_Cached()
Check.png Check.png Star.png Speech.png unknown GetFOWLevel_Cached()
Check.png Check.png Star.png Speech.png bool GetFullscreen()
Check.png Check.png Star.png Speech.png bool GetFullscreen_Cached()
Check.png Check.png Star.png Speech.png bool GetGridOn()
Check.png Check.png Star.png Speech.png int GetHDStrategicView_Cached()
Check.png Check.png Star.png Speech.png int GetLeaderQuality_Cached()
Check.png Check.png Star.png Speech.png int, int GetMaxResolution()
Check.png Check.png Star.png Speech.png int GetMultiplayerAutoEndTurnEnabled_Cached()
Check.png Check.png Star.png Speech.png unknown GetMultiplayerQuickCombatEnabled()
Check.png Check.png Star.png Speech.png int GetMultiplayerQuickCombatEnabled_Cached()
Check.png Check.png Star.png Speech.png unknown GetMultiplayerQuickMovementEnabled()
Check.png Check.png Star.png Speech.png int GetMultiplayerQuickMovementEnabled_Cached()
Check.png Check.png Star.png Speech.png int GetNumAutosavesKept_Cached()
Check.png Check.png Star.png Speech.png int GetOverlayLevel_Cached()
Check.png Check.png Star.png Speech.png bool GetPolicyInfo()
Check.png Check.png Star.png Speech.png int GetPolicyInfo_Cached()
Check.png Check.png Star.png Speech.png EraType GetResolution_Cached()
Check.png Check.png Star.png Speech.png bool GetResourceOn()
Check.png Check.png Star.png Speech.png int GetScoreList()
Check.png Check.png Star.png Speech.png int GetScoreList_Cached()
Check.png Check.png Star.png Speech.png unknown GetShadowLevel_Cached()
Check.png Check.png Star.png Speech.png int GetSinglePlayerAutoEndTurnEnabled_Cached()
Check.png Check.png Star.png Speech.png int GetSinglePlayerQuickCombatEnabled_Cached()
Check.png Check.png Star.png Speech.png int GetSinglePlayerQuickMovementEnabled_Cached()
Check.png Check.png Star.png Speech.png int GetSkipIntroVideo_Cached()
Check.png Check.png Star.png Speech.png bool GetSmallUIAssets()
Check.png Check.png Star.png Speech.png int GetSmallUIAssets_Cached()
Check.png Check.png Star.png Speech.png int GetStraightZoom_Cached()
Check.png Check.png Star.png Speech.png unknown GetTerrainDetailLevel_Cached()
Check.png Check.png Star.png Speech.png unknown GetTerrainShadowQuality_Cached()
Check.png Check.png Star.png Speech.png unknown GetTerrainTessLevel_Cached()
Check.png Check.png Star.png Speech.png unknown GetTextureQuality_Cached()
Check.png Check.png Star.png Speech.png int GetTooltip1Seconds()
Check.png Check.png Star.png Speech.png int GetTooltip1Seconds_Cached()
Check.png Check.png Star.png Speech.png int GetTooltip2Seconds()
Check.png Check.png Star.png Speech.png unknown GetTurnsBetweenAutosave_Cached()
Check.png Check.png Star.png Speech.png int GetTutorialLevel_Cached()
Check.png Check.png Star.png Speech.png int GetVSync_Cached()
Check.png Check.png Star.png Speech.png unknown GetWaterQuality_Cached()
Check.png Check.png Star.png Speech.png int, int GetWindowResolution_Cached()
Check.png Check.png Star.png Speech.png bool GetYieldOn()

H

Base game Gods & Kings ___________________________
Check.png Check.png Star.png Speech.png bool HasUserChangedGraphicsOptions()
Check.png Check.png Star.png Speech.png bool HasUserChangedResolution()

I

Base game Gods & Kings ___________________________
Check.png Check.png Star.png Speech.png bool IsAALevelSupported(unknown arg0)
Check.png Check.png Star.png Speech.png int IsAutoWorkersDontRemoveFeatures_Cached()
Check.png Check.png Star.png Speech.png int IsAutoWorkersDontReplace_Cached()
Check.png Check.png Star.png Speech.png int IsCivilianYields()
Check.png Check.png Star.png Speech.png int IsCivilianYields_Cached()
Check.png Check.png Star.png Speech.png bool IsDebugMode()
Check.png Check.png Star.png Speech.png bool IsNoBasicHelp()
Check.png Check.png Star.png Speech.png int IsNoBasicHelp_Cached()
Check.png Check.png Star.png Speech.png bool IsNoCitizenWarning()
Check.png Check.png Star.png Speech.png int IsNoRewardPopups_Cached()
Check.png Check.png Star.png Speech.png bool IsNoTileRecommendations()
Check.png Check.png Star.png Speech.png int IsNoTileRecommendations_Cached()

R

Base game Gods & Kings ___________________________
Check.png Check.png Star.png Speech.png ResetDefaultGameOptions()
Check.png Check.png Star.png Speech.png ResetDefaultGraphicsOptions()
Check.png Check.png Star.png Speech.png ResetTutorial()

S

Base game Gods & Kings ___________________________
Check.png Check.png Star.png Speech.png SetAASamples_Cached(unknown msaaSetting)
Check.png Check.png Star.png Speech.png SetAutoUIAssets_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SetAutoUnitCycle_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SetAutoWorkersDontRemoveFeatures_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SetAutoWorkersDontReplace_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SetBindMouseMode_Cached(EraType level)
Check.png Check.png Star.png Speech.png SetCivilianYields_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SetFOWLevel_Cached(EraType level)
Check.png Check.png Star.png Speech.png SetFullscreen_Cached(bool fullscreen)
Check.png Check.png Star.png Speech.png SetGridOn_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SetHDStrategicView_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SetLeaderQuality_Cached(EraType level)
Check.png Check.png Star.png Speech.png SetMultiplayerAutoEndTurnEnabled_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SetMultiplayerQuickCombatEnabled_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SetMultiplayerQuickMovementEnabled_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SetNoBasicHelp_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SetNoCitizenWarning_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SetNoRewardPopups_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SetNoTileRecommendations_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SetNumAutosavesKept_Cached(int string)
Check.png Check.png Star.png Speech.png SetOverlayLevel_Cached(EraType level)
Check.png Check.png Star.png Speech.png SetPolicyInfo_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SetResolution_Cached(EraType fullscreenRes)
Check.png Check.png Star.png Speech.png SetResourceOn_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SetScoreList_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SetShadowLevel_Cached(EraType level)
Check.png Check.png Star.png Speech.png SetSinglePlayerAutoEndTurnEnabled_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SetSinglePlayerQuickCombatEnabled_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SetSinglePlayerQuickMovementEnabled_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SetSkipIntroVideo_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SetSmallUIAssets_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SetStraightZoom_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SetTerrainDetailLevel_Cached(EraType level)
Check.png Check.png Star.png Speech.png SetTerrainShadowQuality_Cached(EraType level)
Check.png Check.png Star.png Speech.png SetTerrainTessLevel_Cached(EraType level)
Check.png Check.png Star.png Speech.png SetTextureQuality_Cached(EraType level)
Check.png Check.png Star.png Speech.png SetTooltip1Seconds_Cached(int i)
Check.png Check.png Star.png Speech.png SetTurnsBetweenAutosave_Cached(int string)
Check.png Check.png Star.png Speech.png SetTutorialLevel_Cached(int tutorialLevel)
Check.png Check.png Star.png Speech.png SetVSync_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SetWaterQuality_Cached(EraType level)
Check.png Check.png Star.png Speech.png SetWindowResolution_Cached(int arg0, int arg1)
Check.png Check.png Star.png Speech.png SetYieldOn_Cached(bool isChecked)
Check.png Check.png Star.png Speech.png SyncGameOptionsCache()
Check.png Check.png Star.png Speech.png SyncGraphicsOptionsCache()
Check.png Check.png Star.png Speech.png SyncResolutionOptionsCache()



The initial version of this page was created by the Civ5 API Bot, see the Civ5 API Reference FAQ. Some of the texts come from the 2kgames' wiki and most of code samples are copyrighted to Firaxis.
Functions' signatures were either copied from the 2kgames' wiki, or infered from the Lua source files and the binaries. Errors are possible.
Contributors may find help in the Contributors guide to the Civ5 API.