TrinityCore
Loading...
Searching...
No Matches
ActionButton Struct Reference

#include <Player.h>

Public Member Functions

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

Public Attributes

uint32 packedData
 
ActionButtonUpdateState uState
 

Detailed Description

Definition at line 216 of file Player.h.

Constructor & Destructor Documentation

◆ ActionButton()

ActionButton::ActionButton ( )
inline

Definition at line 218 of file Player.h.

Member Function Documentation

◆ GetAction()

uint32 ActionButton::GetAction ( ) const
inline

Definition at line 225 of file Player.h.

References ACTION_BUTTON_ACTION, and packedData.

Referenced by Spell::EffectCastButtons().

◆ GetType()

ActionButtonType ActionButton::GetType ( ) const
inline

Definition at line 224 of file Player.h.

References ACTION_BUTTON_TYPE, and packedData.

Referenced by Spell::EffectCastButtons().

◆ SetActionAndType()

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

Definition at line 226 of file Player.h.

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

Referenced by Player::AddActionButton().

Member Data Documentation

◆ packedData

uint32 ActionButton::packedData

Definition at line 220 of file Player.h.

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

◆ uState

ActionButtonUpdateState ActionButton::uState

Definition at line 221 of file Player.h.

Referenced by Player::RemoveActionButton(), and SetActionAndType().


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