Home › Engine Lua tables › ForgeUI control types › BarControl
Engine executable. Settings and tools of the game program (CivilizationVI.exe), usable without a mod. Mostly undocumented debug and configuration functionality; descriptions come from analysis of the executable and have not all been tried in the running game.
BarControl
ForgeUI control type (ForgeUI::BarControl). 8 methods, called on an instance with a colon: Controls.SomeName:Method(...).
C++ base classes (from the exe RTTI, see engine classes): ForgeUI::ControlBase. Whether the Lua type also exposes the base class methods was not checked; the methods below are those registered on this type itself.
| Method |
C++ signature printed by the exe |
Lua signature |
Owner basis |
SetAnimationSpeed |
void SetAnimationSpeed( float ) |
BarControl:SetAnimationSpeed(arg1: number) |
neighbouring methods in the code |
SetBGColor |
— |
BarControl:SetBGColor() |
unique method name |
SetColor |
— |
BarControl:SetColor() |
neighbouring methods in the code |
SetColor |
— |
BarControl:SetColor() |
neighbouring methods in the code |
SetColor |
— |
BarControl:SetColor() |
neighbouring methods in the code |
SetColorByName |
— |
BarControl:SetColorByName() |
neighbouring methods in the code |
SetFGColor |
— |
BarControl:SetFGColor() |
unique method name |
SetPercent |
void SetPercent( float ) |
BarControl:SetPercent(arg1: number) |
neighbouring methods in the code |