Home › Engine Lua tables › ForgeUI control types › DragStruct

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.

DragStruct

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

Method C++ signature printed by the exe Lua signature Owner basis
GetControl DragControl* GetControl( void ) const DragStruct:GetControl() -> DragControl unique method name
GetCoordX int GetCoordX( void ) const DragStruct:GetCoordX() -> integer unique method name
GetCoordY int GetCoordY( void ) const DragStruct:GetCoordY() -> integer unique method name
GetDeltaX int GetDeltaX( void ) const DragStruct:GetDeltaX() -> integer unique method name
GetDeltaY int GetDeltaY( void ) const DragStruct:GetDeltaY() -> integer unique method name
GetFlags uint GetFlags( void ) const DragStruct:GetFlags() -> integer neighbouring methods in the code
GetID const char* GetID( void ) const DragStruct:GetID() -> string neighbouring methods in the code
GetNormalDeltaX int GetNormalDeltaX( void ) const DragStruct:GetNormalDeltaX() -> integer unique method name
GetNormalDeltaY int GetNormalDeltaY( void ) const DragStruct:GetNormalDeltaY() -> integer unique method name
GetNormalX int GetNormalX( void ) const DragStruct:GetNormalX() -> integer unique method name
GetNormalY int GetNormalY( void ) const DragStruct:GetNormalY() -> integer unique method name
GetStartX int GetStartX( void ) const DragStruct:GetStartX() -> integer neighbouring methods in the code
GetStartY int GetStartY( void ) const DragStruct:GetStartY() -> integer neighbouring methods in the code
IsDown bool IsDown( void ) const DragStruct:IsDown() -> boolean unique method name
IsDrag bool IsDrag( void ) const DragStruct:IsDrag() -> boolean unique method name
IsDrop bool IsDrop( void ) const DragStruct:IsDrop() -> boolean unique method name