UIElement.SetVoid2 (Civ5 API)

From Civilization Modding Wiki
Jump to: navigation, search

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


Function.png This method is declared by ButtonBase, EditBox, Grid and GridButton.

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


Usage

void UIElement:SetVoid2(ProcessType process)


Parameters

process: No description available.


Source code samples

Redundant occurences have been removed.

CityBannerManager.lua

UI/InGame/CityBannerManager.lua
0599
controlTable.BannerButton:SetVoid2( gridPosY );
0609
controlTable.EjectGarrison:SetVoid2(cityID);
0612
controlTable.CityRangeStrikeButton:SetVoid2(cityID);
0618
svStrikeButton.CityRangeStrikeButton:SetVoid2(cityID);
0703
controlTable.EjectGarrison:SetVoid2(instance.cityID);
0706
controlTable.CityRangeStrikeButton:SetVoid2(instance.cityID);
0722
svStrikeButton.CityRangeStrikeButton:SetVoid2(instance.cityID);


DiploList.lua

UI/InGame/DiploList.lua
0466
controlTable.MinorButton:SetVoid2(  pOtherPlayer:GetCapitalCity() );


DiploRelationships.lua

UI/InGame/Popups/DiploRelationships.lua
0086
controlTable.LeaderButton:SetVoid2( city );


Lobby.lua

UI/FrontEnd/Multiplayer/Lobby.lua
0367
controlTable.JoinButton:SetVoid2( 0 );


NotificationLogPopup.lua

UI/InGame/Popups/NotificationLogPopup.lua
0060
controlTable.Button:SetVoid2( void );


ProductionPopup.lua

UI/InGame/Popups/ProductionPopup.lua
0454
Controls.ProduceGoldButton:SetVoid2( processID );
0460
Controls.ProduceResearchButton:SetVoid2( processID );
1016
controlTable.Button:SetVoid2( id );


SelectCivilization.lua

UI/FrontEnd/GameSetup/SelectCivilization.lua
0121
controlTable.Button:SetVoid2( scenarioCivID );


TechPopup.lua

UI/InGame/TechPopup.lua
0130
thisTechButtonInstance.TechButton:SetVoid2( iDiscover );


TechPopup.lua (G&K)

DLC/Expansion/UI/InGame/TechPopup.lua
0181
thisTechButtonInstance.TechButton:SetVoid2(buttonVoid2Value);


TechTree.lua

UI/InGame/TechTree/TechTree.lua
0448
thisTechButtonInstance.TechButton:SetVoid2( 0 ); -- how many free techs
0584
thisTechButton.TechButton:SetVoid2( numFreeTechs ); -- how many free techs
0609
thisTechButton.TechButton:SetVoid2( 0 ); -- num free techs


TradeLogic.lua

UI/InGame/WorldView/TradeLogic.lua
2284
controlTable.AmountEdit:SetVoid2( row.ID );
2410
Controls.UsPocketCitiesClose:SetVoid2( 1 );
2412
Controls.ThemPocketCitiesClose:SetVoid2( 0 );
2676
Controls.UsPocketLeaderClose:SetVoid2( 1 );
2678
Controls.ThemPocketLeaderClose:SetVoid2( 0 );



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.