UIElement.BuildEntry (Civ5 API)

From Civilization Modding Wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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


Function.png This function is a member of ControlBase.

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


Usage

void UIElement:BuildEntry(string arg0, table arg1)


Parameters

arg0: No description available.
arg1: No description available.


Source code samples

Redundant occurences have been removed.

AdvancedSetup.lua

UI/FrontEnd/GameSetup/AdvancedSetup.lua
0104
gameOption.OptionDropDown:BuildEntry( "InstanceOne", controlTable );
0421
pullDown:BuildEntry( "InstanceOne", controlTable );
0481
pullDown:BuildEntry( "InstanceOne", instance );


CivilopediaScreen.lua

UI/Civilopedia/CivilopediaScreen.lua
6374
Controls.PartialMatchPullDown:BuildEntry( "InstanceOne", controlTable );


DiploCorner.lua

UI/InGame/WorldView/DiploCorner.lua
0061
Controls.MultiPull:BuildEntry( "InstanceOne", controlTable );
0319
Controls.ChatPull:BuildEntry( "InstanceOne", controlTable );


InfoCorner.lua

UI/InGame/InfoCorner.lua
0105
Controls.LeftPull:BuildEntry( "InstanceOne", controlTable );


LoadMenu.lua

UI/FrontEnd/LoadMenu.lua
0737
sortByPulldown:BuildEntry( "InstanceOne", controlTable );


MPGameOptions.lua

UI/FrontEnd/Multiplayer/GameSetup/MPGameOptions.lua
0417
Controls.GameSpeedPullDown:BuildEntry( "InstanceOne", controlTable );
0441
Controls.MapSizePullDown:BuildEntry( "InstanceOne", controlTable );
0714
Controls.EraPull:BuildEntry( "InstanceOne", controlTable );


OptionsMenu.lua

UI/Options/OptionsMenu.lua
1154
pulldown:BuildEntry( "InstanceOne", controlTable );
1176
Controls.LeaderPull:BuildEntry( "InstanceOne", controlTable );
1198
Controls.MSAAPull:BuildEntry( "InstanceOne", controlTable );
1288
Controls.WResolutionPull:BuildEntry( "InstanceOne", controlTable );
1321
Controls.FSResolutionPull:BuildEntry( "InstanceOne", controlTable );


ReligionOverview.lua (G&K)

DLC/Expansion/UI/InGame/Popups/ReligionOverview.lua
0410
automaticPurchasePullDown:BuildEntry( "InstanceOne", controlTable );


ReplayViewer.lua

UI/InGame/Popups/ReplayViewer.lua
1203
replayInfoPulldown:BuildEntry( "InstanceOne", controlTable );
1227
graphDataSetPulldown:BuildEntry( "InstanceOne", controlTable );


UITestMenu.lua

UI/FrontEnd/UITestMenu.lua
0110
Controls.PullDown:BuildEntry( "InstanceOne", controlTable );
0119
Controls.PullDown:BuildEntry( "InstanceTwo", controlTable );


UnitFlagManager.lua

UI/InGame/UnitFlagManager.lua
1054
cityFlagInstance.PullDown:BuildEntry( "UnitInstance", controlTable );



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.