AlpacaLibary  1.63
A closed source C++ bot for OSRS
Interactable::Widget Class Reference

#include <Widget.hpp>

Inheritance diagram for Interactable::Widget:
Internal::Widget Internal::Node Internal::Object

Public Member Functions

 Widget (const Internal::Widget &W)
 
 Widget ()=default
 
 Widget (Widget &&Obj)=default
 
 Widget (const Widget &Obj)=default
 
Widgetoperator= (Widget &&Obj)=default
 
Widgetoperator= (const Widget &Obj)=default
 
bool IsHidden () const
 
bool IsVisible () const
 
std::vector< Interactable::WidgetGetInteractableChildren () const
 
std::vector< Interactable::WidgetGetDynamicInteractableChildren () const
 
std::vector< Interactable::WidgetGetStaticInteractableChildren () const
 
std::vector< Interactable::WidgetGetNestedInteractableChildren () const
 
std::vector< std::int32_t > GetNormalizedItemIDs () const
 
Box GetBox () const
 
Point GetPoint () const
 
Point GetPoint (double PointGenAccuracy) const
 
bool Hover () const
 
bool Interact (const Button &B=BUTTON_LEFT) const
 
bool Interact (const std::string &Option) const
 
bool Interact (const std::vector< std::string > &Options) const
 
bool Interact (const std::function< bool(const Box &)> &InteractMethod) const
 
- Public Member Functions inherited from Internal::Widget
 Widget (const void *Obj)
 
 Widget ()=default
 
 Widget (Widget &&Obj)=default
 
 Widget (const Widget &Obj)=default
 
Widgetoperator= (Widget &&Obj)=default
 
Widgetoperator= (const Widget &Obj)=default
 
std::vector< std::string > GetActions () const
 
std::int32_t GetBorderThickness () const
 
std::int32_t GetBoxIndex () const
 
std::vector< WidgetGetChildren () const
 
Widget GetChildren (std::int32_t I) const
 
std::int32_t GetGradient () const
 
bool GetHasListener () const
 
std::int32_t GetHeight () const
 
bool GetHidden () const
 
std::int32_t GetID () const
 
std::int32_t GetItemAmount () const
 
std::vector< std::int32_t > GetItemAmounts () const
 
std::int32_t GetItemID () const
 
std::vector< std::int32_t > GetItemIDs () const
 
std::int32_t GetModelID () const
 
std::string GetName () const
 
bool GetNoClickThrough () const
 
Widget GetParent () const
 
std::int32_t GetParentID () const
 
std::int32_t GetRelativeX () const
 
std::int32_t GetRelativeY () const
 
std::int32_t GetScrollX () const
 
std::int32_t GetScrollY () const
 
std::int32_t GetShadowColor () const
 
std::int32_t GetSpriteID () const
 
std::int32_t GetStackType () const
 
std::string GetText () const
 
std::int32_t GetTextColor () const
 
std::int32_t GetType () const
 
std::int32_t GetWidth () const
 
- Public Member Functions inherited from Internal::Node
 Node (const void *Obj)
 
 Node ()=default
 
 Node (Node &&Obj)=default
 
 Node (const Node &Obj)=default
 
Nodeoperator= (Node &&Obj)=default
 
Nodeoperator= (const Node &Obj)=default
 
Node GetNext () const
 
Node GetPrev () const
 
std::int64_t GetUID () const
 
- Public Member Functions inherited from Internal::Object
 Object (const void *Obj=nullptr)
 
 Object (Object &&Obj)
 
 Object (const Object &Obj)
 
Objectoperator= (Object &&Obj)
 
Objectoperator= (const Object &Obj)
 
bool operator== (const Object &O) const
 
bool operator!= (const Object &O) const
 
 operator bool () const
 
 operator void * () const
 
bool Equals (Object O) const
 
bool InstanceOf (Class C) const
 
virtual ~Object ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Internal::Widget
static Class GetClass ()
 
- Static Public Member Functions inherited from Internal::Node
static Class GetClass ()
 
- Public Attributes inherited from Internal::Object
void * Obj = nullptr
 

Detailed Description

Definition at line 16 of file Widget.hpp.

Constructor & Destructor Documentation

◆ Widget() [1/4]

Interactable::Widget::Widget ( const Internal::Widget W)

◆ Widget() [2/4]

Interactable::Widget::Widget ( )
default

◆ Widget() [3/4]

Interactable::Widget::Widget ( Widget &&  Obj)
default

◆ Widget() [4/4]

Interactable::Widget::Widget ( const Widget Obj)
default

Member Function Documentation

◆ GetBox()

Box Interactable::Widget::GetBox ( ) const

◆ GetDynamicInteractableChildren()

std::vector<Interactable::Widget> Interactable::Widget::GetDynamicInteractableChildren ( ) const

◆ GetInteractableChildren()

std::vector<Interactable::Widget> Interactable::Widget::GetInteractableChildren ( ) const

◆ GetNestedInteractableChildren()

std::vector<Interactable::Widget> Interactable::Widget::GetNestedInteractableChildren ( ) const

◆ GetNormalizedItemIDs()

std::vector<std::int32_t> Interactable::Widget::GetNormalizedItemIDs ( ) const

◆ GetPoint() [1/2]

Point Interactable::Widget::GetPoint ( ) const

◆ GetPoint() [2/2]

Point Interactable::Widget::GetPoint ( double  PointGenAccuracy) const

◆ GetStaticInteractableChildren()

std::vector<Interactable::Widget> Interactable::Widget::GetStaticInteractableChildren ( ) const

◆ Hover()

bool Interactable::Widget::Hover ( ) const

◆ Interact() [1/4]

bool Interactable::Widget::Interact ( const Button B = BUTTON_LEFT) const

◆ Interact() [2/4]

bool Interactable::Widget::Interact ( const std::function< bool(const Box &)> &  InteractMethod) const

◆ Interact() [3/4]

bool Interactable::Widget::Interact ( const std::string &  Option) const

◆ Interact() [4/4]

bool Interactable::Widget::Interact ( const std::vector< std::string > &  Options) const

◆ IsHidden()

bool Interactable::Widget::IsHidden ( ) const

◆ IsVisible()

bool Interactable::Widget::IsVisible ( ) const

◆ operator=() [1/2]

Widget& Interactable::Widget::operator= ( const Widget Obj)
default

◆ operator=() [2/2]

Widget& Interactable::Widget::operator= ( Widget &&  Obj)
default

The documentation for this class was generated from the following file: