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

#include <Player.h>

Public Member Functions

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

Public Attributes

uint64 packedData
 
ActionButtonUpdateState uState
 

Detailed Description

Definition at line 408 of file Player.h.

Constructor & Destructor Documentation

◆ ActionButton()

ActionButton::ActionButton ( )
inline

Definition at line 410 of file Player.h.

Member Function Documentation

◆ GetAction()

uint64 ActionButton::GetAction ( ) const
inline

Definition at line 417 of file Player.h.

References ACTION_BUTTON_ACTION, and packedData.

Referenced by Spell::EffectCastButtons().

◆ GetType()

ActionButtonType ActionButton::GetType ( ) const
inline

Definition at line 416 of file Player.h.

References ACTION_BUTTON_TYPE, and packedData.

Referenced by Spell::EffectCastButtons().

◆ SetActionAndType()

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

Definition at line 418 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 412 of file Player.h.

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

◆ uState

ActionButtonUpdateState ActionButton::uState

Definition at line 413 of file Player.h.

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


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