UIElement.DestroyAllChildren (Civ5 API)
This page is a part of the Lua and UI Reference (Civ5).
This method is declared by ControlBase. This is an instance method, invoke it with a colon. |
Usage
void UIElement:DestroyAllChildren()
Source code samples
Redundant occurences have been removed.
ChooseFaithGreatPerson.lua (G&K)
DLC/Expansion/UI/InGame/Popups/ChooseFaithGreatPerson.lua
0022
|
stackControl:DestroyAllChildren(); |
CityList.lua
UI/InGame/CityList.lua
0098
|
Controls.MainStack:DestroyAllChildren(); |
DiploCurrentDeals.lua
UI/InGame/Popups/DiploCurrentDeals.lua
0015
|
Controls.CurrentDealsStack:DestroyAllChildren(); |
0016
|
Controls.HistoricDealsStack:DestroyAllChildren(); |
DiploGlobalRelationships.lua
UI/InGame/Popups/DiploGlobalRelationships.lua
0025
|
Controls.ItemStack:DestroyAllChildren(); |
EconomicGeneralInfo.lua
UI/InGame/Popups/EconomicGeneralInfo.lua
0201
|
Controls.CityStack:DestroyAllChildren(); |
0245
|
Controls.TradeStack:DestroyAllChildren(); |
0321
|
Controls.BuildingsStack:DestroyAllChildren(); |
FoRScenarioLoadScreen.lua (G&K)
DLC/Expansion/Scenarios/FallOfRomeScenario/FoRScenarioLoadScreen.lua
0141
|
Controls.SelectCivStack:DestroyAllChildren(); |
HappinessInfo.lua
UI/InGame/Popups/HappinessInfo.lua
0209
|
Controls.LuxuryHappinessStack:DestroyAllChildren(); |
0266
|
Controls.CityBuildingStack:DestroyAllChildren(); |
0298
|
Controls.TradeRouteStack:DestroyAllChildren(); |
0332
|
Controls.GarrisonStack:DestroyAllChildren(); |
0560
|
Controls.CityUnhappinessStack:DestroyAllChildren(); |
0611
|
Controls.ResourcesAvailableStack:DestroyAllChildren(); |
0654
|
Controls.ResourcesImportedStack:DestroyAllChildren(); |
0696
|
Controls.ResourcesExportedStack:DestroyAllChildren(); |
0737
|
Controls.ResourcesLocalStack:DestroyAllChildren(); |
HappinessInfo.lua (G&K)
DLC/Expansion/UI/InGame/Popups/HappinessInfo.lua
0326
|
Controls.LocalCityStack:DestroyAllChildren(); |
SelectCivilization.lua
UI/FrontEnd/GameSetup/SelectCivilization.lua
0034
|
Controls.Stack:DestroyAllChildren(); |
StagingRoom.lua
UI/FrontEnd/Multiplayer/StagingRoom.lua
0844
|
Controls.ChatStack:DestroyAllChildren(); |
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.