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

#include <Player.h>

Public Member Functions

 ActionButton ()
uint32 GetAction () const
uint32 GetHiType () const
ActionButtonType GetType () const
void SetActionAndType (uint32 action, ActionButtonType type)

Public Attributes

uint64 packedData
ActionButtonUpdateState uState

Detailed Description

Definition at line 351 of file Player.h.

Constructor & Destructor Documentation

◆ ActionButton()

ActionButton::ActionButton ( )
inline

Definition at line 353 of file Player.h.

References packedData, and uState.

Member Function Documentation

◆ GetAction()

uint32 ActionButton::GetAction ( ) const
inline

Definition at line 367 of file Player.h.

References ACTION_BUTTON_ACTION, and packedData.

Referenced by Spell::EffectCastButtons(), and Player::SendActionButtons().

◆ GetHiType()

uint32 ActionButton::GetHiType ( ) const
inline

Definition at line 363 of file Player.h.

References GetType().

Referenced by Player::SendActionButtons().

◆ GetType()

ActionButtonType ActionButton::GetType ( ) const
inline

Definition at line 359 of file Player.h.

References ACTION_BUTTON_TYPE, and packedData.

Referenced by Spell::EffectCastButtons(), GetHiType(), and Player::SendActionButtons().

◆ SetActionAndType()

void ActionButton::SetActionAndType ( uint32 action,
ActionButtonType type )
inline

Definition at line 372 of file Player.h.

References ACTIONBUTTON_CHANGED, ACTIONBUTTON_DELETED, ACTIONBUTTON_NEW, packedData, and uState.

Referenced by Player::addActionButton().

Member Data Documentation

◆ packedData

uint64 ActionButton::packedData

Definition at line 355 of file Player.h.

Referenced by ActionButton(), GetAction(), GetType(), and SetActionAndType().

◆ uState

ActionButtonUpdateState ActionButton::uState

Definition at line 356 of file Player.h.

Referenced by ActionButton(), and SetActionAndType().


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