Home › Engine Lua tables › ForgeUI control types › InputStruct

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.

InputStruct

ForgeUI control type (ForgeUI::InputStruct). 20 methods, called on an instance with a colon: Controls.SomeName:Method(...).

Method C++ signature printed by the exe Lua signature Owner basis
GetFlags uint GetFlags( void ) const InputStruct:GetFlags() -> integer neighbouring methods in the code
GetIsBatteryCharging bool GetIsBatteryCharging( void ) const InputStruct:GetIsBatteryCharging() -> boolean neighbouring methods in the code
GetKey uint GetKey( void ) const InputStruct:GetKey() -> integer unique method name
GetMessageType uint GetMessageType( void ) const InputStruct:GetMessageType() -> integer unique method name
GetMouseDX int GetMouseDX( void ) const InputStruct:GetMouseDX() -> integer unique method name
GetMouseDY int GetMouseDY( void ) const InputStruct:GetMouseDY() -> integer unique method name
GetStickType int GetStickType( void ) const InputStruct:GetStickType() -> integer unique method name
GetStickX float GetStickX( void ) const InputStruct:GetStickX() -> number unique method name
GetStickY float GetStickY( void ) const InputStruct:GetStickY() -> number unique method name
GetTouchID int GetTouchID( void ) const InputStruct:GetTouchID() -> integer unique method name
GetWheel int GetWheel( void ) const InputStruct:GetWheel() -> integer unique method name
GetX float GetX( void ) const InputStruct:GetX() -> number unique method name
GetY float GetY( void ) const InputStruct:GetY() -> number unique method name
IsAltDown bool IsAltDown( void ) const InputStruct:IsAltDown() -> boolean unique method name
IsAnyButtonDown bool IsAnyButtonDown( void ) const InputStruct:IsAnyButtonDown() -> boolean unique method name
IsControlDown bool IsControlDown( void ) const InputStruct:IsControlDown() -> boolean unique method name
IsLButtonDown bool IsLButtonDown( void ) const InputStruct:IsLButtonDown() -> boolean unique method name
IsMButtonDown bool IsMButtonDown( void ) const InputStruct:IsMButtonDown() -> boolean unique method name
IsRButtonDown bool IsRButtonDown( void ) const InputStruct:IsRButtonDown() -> boolean unique method name
IsShiftDown bool IsShiftDown( void ) const InputStruct:IsShiftDown() -> boolean unique method name