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

#include <GameObject.hpp>

Inheritance diagram for Interactable::GameObject:
Internal::GameObject Internal::Object

Public Member Functions

 GameObject (const Internal::GameObject &G)
 
 GameObject ()=default
 
 GameObject (GameObject &&Obj)=default
 
 GameObject (const GameObject &Obj)=default
 
GameObjectoperator= (GameObject &&Obj)=default
 
GameObjectoperator= (const GameObject &Obj)=default
 
std::int32_t GetID () const
 
std::string GetName () const
 
Internal::ObjectInfo GetInfo () const
 
std::vector< PointGetModel () const
 
Wireframe GetWireframe () const
 
Convex GetConvex () const
 
Box GetBox () const
 
Point GetPoint () const
 
Point GetPoint (double PointGenAccuracy) const
 
double GetVisibility () const
 
Tile GetTile () const
 
Tile GetReachableTile () const
 
Tile GetMin () const
 
Tile GetMax () const
 
bool IsReachable () const
 
bool RotateTo (std::int32_t Angle=0) const
 
bool RotateTo (Camera::COMPASS_DIRECTION Direction) const
 
bool Hover () const
 
bool Interact (const Button &B=BUTTON_LEFT) const
 
bool Interact (const std::string &Option, bool CheckTarget=true) const
 
bool Interact (const std::vector< std::string > &Options, bool CheckTarget=true) const
 
bool Interact (const std::function< bool(const std::vector< Point > &)> &InteractMethod) const
 
- Public Member Functions inherited from Internal::GameObject
 GameObject (const void *Obj)
 
 GameObject ()=default
 
 GameObject (GameObject &&Obj)=default
 
 GameObject (const GameObject &Obj)=default
 
GameObjectoperator= (GameObject &&Obj)=default
 
GameObjectoperator= (const GameObject &Obj)=default
 
std::int32_t GetAngle () const
 
std::int32_t GetFlags () const
 
std::int64_t GetHash () const
 
std::int32_t GetHeight () const
 
std::int32_t GetOffsetX () const
 
std::int32_t GetOffsetY () const
 
std::int32_t GetPlane () const
 
std::int32_t GetRelativeX () const
 
std::int32_t GetRelativeY () const
 
Renderable GetRenderable () const
 
std::int32_t GetX () const
 
std::int32_t GetY () 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::GameObject
static Class GetClass ()
 
- Public Attributes inherited from Internal::Object
void * Obj = nullptr
 

Detailed Description

Definition at line 18 of file GameObject.hpp.

Constructor & Destructor Documentation

◆ GameObject() [1/4]

Interactable::GameObject::GameObject ( const Internal::GameObject G)

◆ GameObject() [2/4]

Interactable::GameObject::GameObject ( )
default

◆ GameObject() [3/4]

Interactable::GameObject::GameObject ( GameObject &&  Obj)
default

◆ GameObject() [4/4]

Interactable::GameObject::GameObject ( const GameObject Obj)
default

Member Function Documentation

◆ GetBox()

Box Interactable::GameObject::GetBox ( ) const

◆ GetConvex()

Convex Interactable::GameObject::GetConvex ( ) const

◆ GetID()

std::int32_t Interactable::GameObject::GetID ( ) const

◆ GetInfo()

Internal::ObjectInfo Interactable::GameObject::GetInfo ( ) const

◆ GetMax()

Tile Interactable::GameObject::GetMax ( ) const

◆ GetMin()

Tile Interactable::GameObject::GetMin ( ) const

◆ GetModel()

std::vector<Point> Interactable::GameObject::GetModel ( ) const

◆ GetName()

std::string Interactable::GameObject::GetName ( ) const

◆ GetPoint() [1/2]

Point Interactable::GameObject::GetPoint ( ) const

◆ GetPoint() [2/2]

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

◆ GetReachableTile()

Tile Interactable::GameObject::GetReachableTile ( ) const

◆ GetTile()

Tile Interactable::GameObject::GetTile ( ) const

◆ GetVisibility()

double Interactable::GameObject::GetVisibility ( ) const

◆ GetWireframe()

Wireframe Interactable::GameObject::GetWireframe ( ) const

◆ Hover()

bool Interactable::GameObject::Hover ( ) const

◆ Interact() [1/4]

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

◆ Interact() [2/4]

bool Interactable::GameObject::Interact ( const std::function< bool(const std::vector< Point > &)> &  InteractMethod) const

◆ Interact() [3/4]

bool Interactable::GameObject::Interact ( const std::string &  Option,
bool  CheckTarget = true 
) const

◆ Interact() [4/4]

bool Interactable::GameObject::Interact ( const std::vector< std::string > &  Options,
bool  CheckTarget = true 
) const

◆ IsReachable()

bool Interactable::GameObject::IsReachable ( ) const

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ RotateTo() [1/2]

bool Interactable::GameObject::RotateTo ( Camera::COMPASS_DIRECTION  Direction) const

◆ RotateTo() [2/2]

bool Interactable::GameObject::RotateTo ( std::int32_t  Angle = 0) const

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