void SetActionAndType(uint32 action, ActiveStates type)
Definition: Unit.h:1163
bool IsPassive() const
Definition: SpellInfo.cpp:1403
#define MAX_SPELL_CHARM
Definition: Unit.h:325
bool IsAutocastable() const
Definition: SpellInfo.cpp:1408
CharmSpellInfo _charmspells[4]
Definition: Unit.h:1252
Definition: SpellInfo.h:326
TypeID GetTypeId() const
Definition: Object.h:113
uint32 m_spells[CREATURE_MAX_SPELLS]
Definition: Creature.h:602
void InitPetActionBar()
Definition: Unit.cpp:11877
void InitEmptyActionBar(bool withAttack=true)
Definition: Unit.cpp:11892
Unit * _unit
Definition: Unit.h:1250
#define sSpellMgr
Definition: SpellMgr.h:756
uint32_t uint32
Definition: Define.h:150
ActiveStates
Definition: Unit.h:1117
Definition: ObjectGuid.h:33
Creature * ToCreature()
Definition: Object.h:194
bool NeedsExplicitUnitTarget() const
Definition: SpellInfo.cpp:1358
G3D::int16 x
Definition: Vector2int16.h:37
void ToggleCreatureAutocast(SpellInfo const *spellInfo, bool apply)
Definition: Unit.cpp:12038
void CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:869
bool AddSpellToActionBar(SpellInfo const *spellInfo, ActiveStates newstate=ACT_DECIDE, uint8 preferredSlot=0)
Definition: Unit.cpp:11987