<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://modiki.civfanatics.com/index.php?action=history&amp;feed=atom&amp;title=UIElement.SetVoid2_%28Civ5_API%29</id>
	<title>UIElement.SetVoid2 (Civ5 API) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://modiki.civfanatics.com/index.php?action=history&amp;feed=atom&amp;title=UIElement.SetVoid2_%28Civ5_API%29"/>
	<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=UIElement.SetVoid2_(Civ5_API)&amp;action=history"/>
	<updated>2026-05-10T06:49:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://modiki.civfanatics.com/index.php?title=UIElement.SetVoid2_(Civ5_API)&amp;diff=13496&amp;oldid=prev</id>
		<title>DonQuich: Bot update</title>
		<link rel="alternate" type="text/html" href="https://modiki.civfanatics.com/index.php?title=UIElement.SetVoid2_(Civ5_API)&amp;diff=13496&amp;oldid=prev"/>
		<updated>2012-09-20T14:18:56Z</updated>

		<summary type="html">&lt;p&gt;Bot update&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Civ5 API Beta Banner}}&lt;br /&gt;
&amp;#039;&amp;#039;This page is a part of the [[Lua and UI Reference (Civ5)]].&amp;#039;&amp;#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TypeInfos5|Function.png|This method is declared by &amp;#039;&amp;#039;&amp;#039;ButtonBase&amp;#039;&amp;#039;&amp;#039;, {{Type5|EditBox}}, {{Type5|Grid}} and {{Type5|GridButton}}.&amp;lt;br/&amp;gt;&lt;br /&gt;
This is an instance method, invoke it with a colon.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Usage=&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;void&amp;#039;&amp;#039;&amp;#039; UIElement:SetVoid2&amp;lt;b&amp;gt;(&amp;lt;/b&amp;gt;{{Type5|ProcessType}} process&amp;lt;b&amp;gt;)&amp;lt;/b&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:{|&lt;br /&gt;
|-&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; style=&amp;quot;padding-right:6px;&amp;quot;|process:&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;| &amp;#039;&amp;#039;No description available.&amp;#039;&amp;#039;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Source code samples=&lt;br /&gt;
&amp;#039;&amp;#039;Redundant occurences have been removed.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|CityBannerManager.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/CityBannerManager.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0599}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;controlTable.BannerButton:SetVoid2( gridPosY );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0609}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;controlTable.EjectGarrison:SetVoid2(cityID);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0612}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;controlTable.CityRangeStrikeButton:SetVoid2(cityID);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0618}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;svStrikeButton.CityRangeStrikeButton:SetVoid2(cityID);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0703}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;controlTable.EjectGarrison:SetVoid2(instance.cityID);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0706}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;controlTable.CityRangeStrikeButton:SetVoid2(instance.cityID);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0722}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;svStrikeButton.CityRangeStrikeButton:SetVoid2(instance.cityID);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|DiploList.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/DiploList.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0466}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;controlTable.MinorButton:SetVoid2(  pOtherPlayer:GetCapitalCity() );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|DiploRelationships.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/Popups/DiploRelationships.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0086}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;controlTable.LeaderButton:SetVoid2( city );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|Lobby.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/FrontEnd/Multiplayer/Lobby.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0367}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;controlTable.JoinButton:SetVoid2( 0 );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|NotificationLogPopup.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/Popups/NotificationLogPopup.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0060}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;controlTable.Button:SetVoid2( void );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|ProductionPopup.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/Popups/ProductionPopup.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0454}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.ProduceGoldButton:SetVoid2( processID );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0460}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.ProduceResearchButton:SetVoid2( processID );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|1016}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;controlTable.Button:SetVoid2( id );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|SelectCivilization.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/FrontEnd/GameSetup/SelectCivilization.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0121}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;controlTable.Button:SetVoid2( scenarioCivID );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TechPopup.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/TechPopup.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0130}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;thisTechButtonInstance.TechButton:SetVoid2( iDiscover );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TechPopup.lua (G&amp;amp;K)}}&lt;br /&gt;
:&amp;lt;code&amp;gt;DLC/Expansion/UI/InGame/TechPopup.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0181}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;thisTechButtonInstance.TechButton:SetVoid2(buttonVoid2Value);&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TechTree.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/TechTree/TechTree.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|0448}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;thisTechButtonInstance.TechButton:SetVoid2( 0 ); -- how many free techs&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0584}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;thisTechButton.TechButton:SetVoid2( numFreeTechs ); -- how many free techs&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|0609}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;thisTechButton.TechButton:SetVoid2( 0 ); -- num free techs&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{PseudoH4|TradeLogic.lua}}&lt;br /&gt;
:&amp;lt;code&amp;gt;UI/InGame/WorldView/TradeLogic.lua&amp;lt;/code&amp;gt;&lt;br /&gt;
:{{CodeBegin5}}&lt;br /&gt;
{{CodeLine5|2284}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;controlTable.AmountEdit:SetVoid2( row.ID );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|2410}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.UsPocketCitiesClose:SetVoid2( 1 );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|2412}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.ThemPocketCitiesClose:SetVoid2( 0 );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|2676}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.UsPocketLeaderClose:SetVoid2( 1 );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeBreak5}}&lt;br /&gt;
{{CodeLine5|2678}}&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;Controls.ThemPocketLeaderClose:SetVoid2( 0 );&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{CodeEnd5}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Civ5 API Footer}}&lt;br /&gt;
[[Category:Civ5 Methods and Functions|SetVoid2]]&lt;/div&gt;</summary>
		<author><name>DonQuich</name></author>
	</entry>
</feed>