UIElement.GetVoid1 (Civ5 API)
From Civilization Modding Wiki
Jump to navigationJump to search
This page is a part of the Lua and UI Reference (Civ5).
This method is declared by ButtonBase and Slider. This is an instance method, invoke it with a colon. |
Usage
ActionType UIElement:GetVoid1()
Returned Value
- No description available.
Source code samples
Redundant occurences have been removed.
CivilopediaScreen.lua
UI/Civilopedia/CivilopediaScreen.lua
6461
|
local id = control:GetVoid1(); |
OptionsMenu.lua
UI/Options/OptionsMenu.lua
0415
|
if Controls.MusicVolumeSlider:GetVoid1() == iVolumeKnobID then |
0417
|
elseif Controls.EffectsVolumeSlider:GetVoid1() == iVolumeKnobID then |
0419
|
elseif Controls.SpeechVolumeSlider:GetVoid1() == iVolumeKnobID then |
0421
|
elseif Controls.AmbienceVolumeSlider:GetVoid1() == iVolumeKnobID then |
0435
|
if Controls.MusicVolumeSlider:GetVoid1() == void1 then |
0437
|
elseif Controls.EffectsVolumeSlider:GetVoid1() == void1 then |
0439
|
elseif Controls.SpeechVolumeSlider:GetVoid1() == void1 then |
0441
|
elseif Controls.AmbienceVolumeSlider:GetVoid1() == void1 then |
TradeLogic.lua
UI/InGame/WorldView/TradeLogic.lua
1924
|
if( control:GetVoid1() == 1 ) then |
2313
|
local bIsUs = control:GetVoid1() == 1; |
UnitPanel.lua
UI/InGame/WorldView/UnitPanel.lua
0847
|
local iAction = control:GetVoid1(); |
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.