Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
UnitActionBarEntry Struct Reference

#include <Unit.h>

Public Member Functions

uint32 GetAction () const
ActiveStates GetType () const
bool IsActionBarForSpell () const
void SetAction (uint32 action)
void SetActionAndType (uint32 action, ActiveStates type)
void SetType (ActiveStates type)
 UnitActionBarEntry ()

Public Attributes

uint32 packedData

Detailed Description

Definition at line 1175 of file Unit.h.

Constructor & Destructor Documentation

◆ UnitActionBarEntry()

UnitActionBarEntry::UnitActionBarEntry ( )
inline

Definition at line 1177 of file Unit.h.

References ACT_DISABLED, and packedData.

Member Function Documentation

◆ GetAction()

uint32 UnitActionBarEntry::GetAction ( ) const
inline

Definition at line 1187 of file Unit.h.

References packedData, and UNIT_ACTION_BUTTON_ACTION.

Referenced by Player::CharmSpellInitialize().

◆ GetType()

ActiveStates UnitActionBarEntry::GetType ( ) const
inline

Definition at line 1183 of file Unit.h.

References packedData, and UNIT_ACTION_BUTTON_TYPE.

Referenced by IsActionBarForSpell().

◆ IsActionBarForSpell()

bool UnitActionBarEntry::IsActionBarForSpell ( ) const
inline

Definition at line 1191 of file Unit.h.

References ACT_DISABLED, ACT_ENABLED, ACT_PASSIVE, and GetType().

◆ SetAction()

void UnitActionBarEntry::SetAction ( uint32 action)
inline

Definition at line 1207 of file Unit.h.

References packedData, and UNIT_ACTION_BUTTON_ACTION.

◆ SetActionAndType()

void UnitActionBarEntry::SetActionAndType ( uint32 action,
ActiveStates type )
inline

Definition at line 1197 of file Unit.h.

References MAKE_UNIT_ACTION_BUTTON, and packedData.

◆ SetType()

void UnitActionBarEntry::SetType ( ActiveStates type)
inline

Definition at line 1202 of file Unit.h.

References MAKE_UNIT_ACTION_BUTTON, packedData, and UNIT_ACTION_BUTTON_ACTION.

Member Data Documentation

◆ packedData

uint32 UnitActionBarEntry::packedData

Definition at line 1180 of file Unit.h.

Referenced by GetAction(), GetType(), SetAction(), SetActionAndType(), SetType(), and UnitActionBarEntry().


The documentation for this struct was generated from the following file:
  • src/server/game/Entities/Unit/Unit.h