Home › Engine Lua tables › ForgeUI control types › SliderControl
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.
SliderControl
ForgeUI control type (ForgeUI::SliderControl). 9 methods, called on an instance with a colon: Controls.SomeName:Method(...).
C++ base classes (from the exe RTTI, see engine classes): ForgeUI::ButtonControlBase > 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 |
GetNumSteps |
? GetNumSteps( void ) |
SliderControl:GetNumSteps() |
unique method name |
GetStep |
? GetStep( void ) |
SliderControl:GetStep() |
unique method name |
GetValue |
float GetValue( void ) |
SliderControl:GetValue() -> number |
unique method name |
RegisterSliderCallback |
void RegisterSliderCallback( function ) |
SliderControl:RegisterSliderCallback(arg1: function) |
unique method name |
SetAndCall |
void SetAndCall( float ) |
SliderControl:SetAndCall(arg1: number) |
neighbouring methods in the code |
SetNumSteps |
void SetNumSteps( int ) |
SliderControl:SetNumSteps(arg1: integer) |
unique method name |
SetStep |
void SetStep( int ) |
SliderControl:SetStep(arg1: integer) |
unique method name |
SetStepAndCall |
void SetStepAndCall( int ) |
SliderControl:SetStepAndCall(arg1: integer) |
unique method name |
SetValue |
void SetValue( float ) |
SliderControl:SetValue(arg1: number) |
unique method name |