InstanceManager.ResetInstances (Civ5 API)

From Civilization Modding Wiki
Jump to navigationJump to search

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


Function.png This function is a member of InstanceManager.

This is an instance method, invoke it with a colon.


Usage

void InstanceManager:ResetInstances()



Source code samples

Too many occurences. Only 50 out of 570 are listed.

AdvisorInfoPopup.lua

UI/InGame/Popups/AdvisorInfoPopup.lua
0103
g_InstanceManager:ResetInstances();


ChooseReligionPopup.lua (G&K)

DLC/Expansion/UI/InGame/Popups/ChooseReligionPopup.lua
0268
g_ReligionButtonManager:ResetInstances();


CityView.lua

UI/InGame/CityView/CityView.lua
0913
g_BuildingIM:ResetInstances();
0915
g_SlackerIM:ResetInstances();
0917
g_BuyPlotButtonIM:ResetInstances();


CivilopediaScreen.lua

UI/Civilopedia/CivilopediaScreen.lua
0142
g_ListItemManager:ResetInstances();
1319
g_BBTextManager:ResetInstances();
2018
g_PrereqTechManager:ResetInstances();
2036
g_LeadsToTechManager:ResetInstances();
2101
g_UnlockedProjectsManager:ResetInstances();
2122
g_RevealedResourcesManager:ResetInstances();
2468
g_ObsoleteTechManager:ResetInstances();
2489
g_UpgradeManager:ResetInstances();
2531
g_ReplacesManager:ResetInstances();
2639
g_RequiredPromotionsManager:ResetInstances();
2927
g_RequiredBuildingsManager:ResetInstances();
3569
g_UniqueImprovementsManager:ResetInstances();
3938
g_FeaturesManager:ResetInstances();
3959
g_ResourcesFoundManager:ResetInstances();


DiploList.lua

UI/InGame/DiploList.lua
0183
g_LeaderButtonIM:ResetInstances();


DiploRelationships.lua

UI/InGame/Popups/DiploRelationships.lua
0115
g_MajorCivButtonIM:ResetInstances();


EnemyUnitPanel.lua

UI/InGame/WorldView/EnemyUnitPanel.lua
0283
g_MyCombatDataIM:ResetInstances();


GameMenu.lua

UI/InGame/Menus/GameMenu.lua
0306
g_GameOptionIM:ResetInstances();
0307
g_VictoryConditionsIM:ResetInstances();
0439
g_ActivatedModsIM:ResetInstances();


GPList.lua

UI/InGame/GPList.lua
0083
m_EngineerIM:ResetInstances();
0085
m_ScientistIM:ResetInstances();


HallOfFame.lua

UI/InGame/Popups/HallOfFame.lua
0022
g_GamesIM:ResetInstances();


InstalledPanel.lua

UI/FrontEnd/Modding/InstalledPanel.lua
0360
g_DependentMods:ResetInstances();
0526
g_DetailsDependentMods:ResetInstances();


MilitaryOverview.lua

UI/InGame/Popups/MilitaryOverview.lua
0139
m_MilitaryIM:ResetInstances();


NetworkDebug.lua

UI/InGame/NetworkDebug.lua
0007
g_PlayerSliceInfoIM:ResetInstances();


ProductionPopup.lua

UI/InGame/Popups/ProductionPopup.lua
0129
g_UnitInstanceManager:ResetInstances();
0131
g_WonderInstanceManager:ResetInstances();


Ranking.lua

UI/InGame/Popups/Ranking.lua
0014
g_RankIM:ResetInstances();


ReligionOverview.lua (G&K)

DLC/Expansion/UI/InGame/Popups/ReligionOverview.lua
0480
g_WorldReligionsManager:ResetInstances();
0565
g_BeliefsManager:ResetInstances();


ReplayViewer.lua

UI/InGame/Popups/ReplayViewer.lua
0401
g_LineSegmentInstanceManager:ResetInstances();
0707
g_GraphLegendInstanceManager:ResetInstances();


ResourceList.lua

UI/InGame/ResourceList.lua
0079
m_LuxuryIM:ResetInstances();
0080
m_BonusIM:ResetInstances();


TaskList.lua

UI/InGame/TaskList.lua
0023
g_TaskItemManager:ResetInstances();


TechPopup.lua

UI/InGame/TechPopup.lua
0089
g_TechInstanceManager:ResetInstances();


TradeLogic.lua

UI/InGame/WorldView/TradeLogic.lua
1506
g_ThemTableCitiesIM:ResetInstances();


UnitPanel.lua

UI/InGame/WorldView/UnitPanel.lua
0137
g_PromotionIM:ResetInstances();
0511
g_EarnedPromotionIM:ResetInstances();


VictoryProgress.lua

UI/InGame/Popups/VictoryProgress.lua
0198
g_DominationRowsIM:ResetInstances();
0430
g_CultureIM:ResetInstances();
0505
g_ScoreIM:ResetInstances();
0651
g_DiploIM:ResetInstances();



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.