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

#include <NPC.hpp>

Inheritance diagram for Interactable::NPC:
Internal::NPC Internal::Character Internal::Renderable Internal::CacheableNode Internal::Node Internal::Object

Public Member Functions

 NPC (const Internal::NPC &N)
 
 NPC ()=default
 
 NPC (NPC &&Obj)=default
 
 NPC (const NPC &Obj)=default
 
NPCoperator= (NPC &&Obj)=default
 
NPCoperator= (const NPC &Obj)=default
 
std::int32_t GetID () const
 
std::string GetName () const
 
Internal::NPCInfo 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
 
bool IsReachable () const
 
bool RotateTo (std::int32_t Angle=0) const
 
bool RotateTo (Camera::COMPASS_DIRECTION Direction) const
 
Internal::Character GetInteracting () const
 
bool Interacting () const
 
bool Interacting (const Internal::Character &C) 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::NPC
 NPC (const void *Obj)
 
 NPC ()=default
 
 NPC (NPC &&Obj)=default
 
 NPC (const NPC &Obj)=default
 
NPCoperator= (NPC &&Obj)=default
 
NPCoperator= (const NPC &Obj)=default
 
NPCInfo GetNPCInfo () const
 
- Public Member Functions inherited from Internal::Character
 Character (const void *Obj)
 
 Character ()=default
 
 Character (Character &&Obj)=default
 
 Character (const Character &Obj)=default
 
Characteroperator= (Character &&Obj)=default
 
Characteroperator= (const Character &Obj)=default
 
std::int32_t GetAngle () const
 
std::int32_t GetAnimationDelay () const
 
std::int32_t GetAnimationFrame () const
 
std::int32_t GetAnimationID () const
 
LinkedList GetCombatInfo () const
 
std::int32_t GetGraphicsFrame () const
 
std::int32_t GetGraphicsID () const
 
std::vector< std::int32_t > GetHitsplatTicks () const
 
std::vector< std::int32_t > GetHitsplatTypes () const
 
std::vector< std::int32_t > GetHitsplatValues () const
 
std::int32_t GetInteractIndex () const
 
std::int32_t GetNPCTick () const
 
std::string GetOverhead () const
 
std::vector< std::int32_t > GetPathX () const
 
std::vector< std::int32_t > GetPathY () const
 
std::int32_t GetPlayerTick () const
 
std::int32_t GetPoseAnimationFrame () const
 
std::int32_t GetPoseAnimationID () const
 
std::int32_t GetSubPoseAnimationID () const
 
std::int32_t GetX () const
 
std::int32_t GetY () const
 
- Public Member Functions inherited from Internal::Renderable
 Renderable (const void *Obj)
 
 Renderable ()=default
 
 Renderable (Renderable &&Obj)=default
 
 Renderable (const Renderable &Obj)=default
 
Renderableoperator= (Renderable &&Obj)=default
 
Renderableoperator= (const Renderable &Obj)=default
 
std::int32_t GetModelHeight () const
 
- Public Member Functions inherited from Internal::CacheableNode
 CacheableNode (const void *Obj)
 
 CacheableNode ()=default
 
 CacheableNode (CacheableNode &&Obj)=default
 
 CacheableNode (const CacheableNode &Obj)=default
 
CacheableNodeoperator= (CacheableNode &&Obj)=default
 
CacheableNodeoperator= (const CacheableNode &Obj)=default
 
CacheableNode GetNext () const
 
CacheableNode GetPrev () 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::NPC
static Class GetClass ()
 
- Static Public Member Functions inherited from Internal::Character
static Class GetClass ()
 
- Static Public Member Functions inherited from Internal::Renderable
static Class GetClass ()
 
- Static Public Member Functions inherited from Internal::CacheableNode
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 18 of file NPC.hpp.

Constructor & Destructor Documentation

◆ NPC() [1/4]

Interactable::NPC::NPC ( const Internal::NPC N)

◆ NPC() [2/4]

Interactable::NPC::NPC ( )
default

◆ NPC() [3/4]

Interactable::NPC::NPC ( NPC &&  Obj)
default

◆ NPC() [4/4]

Interactable::NPC::NPC ( const NPC Obj)
default

Member Function Documentation

◆ GetBox()

Box Interactable::NPC::GetBox ( ) const

◆ GetConvex()

Convex Interactable::NPC::GetConvex ( ) const

◆ GetID()

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

◆ GetInfo()

Internal::NPCInfo Interactable::NPC::GetInfo ( ) const

◆ GetInteracting()

Internal::Character Interactable::NPC::GetInteracting ( ) const

◆ GetModel()

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

◆ GetName()

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

◆ GetPoint() [1/2]

Point Interactable::NPC::GetPoint ( ) const

◆ GetPoint() [2/2]

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

◆ GetReachableTile()

Tile Interactable::NPC::GetReachableTile ( ) const

◆ GetTile()

Tile Interactable::NPC::GetTile ( ) const

◆ GetVisibility()

double Interactable::NPC::GetVisibility ( ) const

◆ GetWireframe()

Wireframe Interactable::NPC::GetWireframe ( ) const

◆ Hover()

bool Interactable::NPC::Hover ( ) const

◆ Interact() [1/4]

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

◆ Interact() [2/4]

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

◆ Interact() [3/4]

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

◆ Interact() [4/4]

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

◆ Interacting() [1/2]

bool Interactable::NPC::Interacting ( ) const

◆ Interacting() [2/2]

bool Interactable::NPC::Interacting ( const Internal::Character C) const

◆ IsReachable()

bool Interactable::NPC::IsReachable ( ) const

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ RotateTo() [1/2]

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

◆ RotateTo() [2/2]

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

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