#include "Spell.h"
|
| | WorldObjectSpellConeTargetCheck (float coneAngle, float range, Unit *caster, SpellInfo const *spellInfo, SpellTargetCheckTypes selectionType, ConditionList *condList) |
| |
| bool | operator() (WorldObject *target) |
| |
| | WorldObjectSpellAreaTargetCheck (float range, Position const *position, Unit *caster, Unit *referer, SpellInfo const *spellInfo, SpellTargetCheckTypes selectionType, ConditionList *condList) |
| |
| bool | operator() (WorldObject *target) |
| |
| | WorldObjectSpellTargetCheck (Unit *caster, Unit *referer, SpellInfo const *spellInfo, SpellTargetCheckTypes selectionType, ConditionList *condList) |
| |
| | ~WorldObjectSpellTargetCheck () |
| |
| bool | operator() (WorldObject *target) |
| |
◆ WorldObjectSpellConeTargetCheck()
9070 {
9071 }
WorldObjectSpellAreaTargetCheck(float range, Position const *position, Unit *caster, Unit *referer, SpellInfo const *spellInfo, SpellTargetCheckTypes selectionType, ConditionList *condList)
Definition Spell.cpp:9047
float _coneAngle
Definition Spell.h:836
◆ operator()()
| bool Acore::WorldObjectSpellConeTargetCheck::operator() |
( |
WorldObject * |
target | ) |
|
9074 {
9076 {
9078 return false;
9079 }
9081 {
9083 return false;
9084 }
9085 else
9086 {
9088 return false;
9089 }
9091 }
@ SPELL_ATTR0_CU_CONE_BACK
Definition SpellInfo.h:177
@ SPELL_ATTR0_CU_CONE_LINE
Definition SpellInfo.h:178
Unit * ToUnit()
Definition Object.h:209
bool HasAttribute(SpellAttr0 attribute) const
Definition SpellInfo.h:415
bool IsWithinBoundaryRadius(const Unit *obj) const
Definition Unit.cpp:704
bool isInFront(WorldObject const *target, float arc=M_PI) const
Definition Object.cpp:1518
bool isInBack(WorldObject const *target, float arc=M_PI) const
Definition Object.cpp:1523
float GetObjectSize() const
Definition Object.cpp:2782
bool operator()(WorldObject *target)
Definition Spell.cpp:9053
SpellInfo const * _spellInfo
Definition Spell.h:805
Unit * _caster
Definition Spell.h:803
bool HasInLine(Position const *pos, float width) const
Definition Position.cpp:43
References Acore::WorldObjectSpellTargetCheck::_caster, _coneAngle, Acore::WorldObjectSpellTargetCheck::_spellInfo, WorldObject::GetObjectSize(), SpellInfo::HasAttribute(), Position::HasInLine(), WorldObject::isInBack(), WorldObject::isInFront(), Unit::IsWithinBoundaryRadius(), Acore::WorldObjectSpellAreaTargetCheck::operator()(), SPELL_ATTR0_CU_CONE_BACK, SPELL_ATTR0_CU_CONE_LINE, and Object::ToUnit().
◆ _coneAngle
| float Acore::WorldObjectSpellConeTargetCheck::_coneAngle |
The documentation for this struct was generated from the following files:
- azerothcore-wotlk/src/server/game/Spells/Spell.h
- azerothcore-wotlk/src/server/game/Spells/Spell.cpp