TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
SpellInfo.h File Reference
#include "SharedDefines.h"
#include "Util.h"
#include "DBCStructure.h"
#include "DB2Structure.h"
#include "Object.h"
#include "SpellAuraDefines.h"
+ Include dependency graph for SpellInfo.h:

Go to the source code of this file.

Classes

class  SpellImplicitTargetInfo
 
struct  SpellImplicitTargetInfo::StaticData
 
class  SpellEffectInfo
 
struct  SpellEffectInfo::ScalingInfo
 
struct  SpellEffectInfo::StaticData
 
class  SpellInfo
 
struct  SpellInfo::ScalingInfo
 
struct  SpellInfo::CostData
 

Typedefs

typedef std::vector
< SpellEffectInfo const * > 
SpellEffectInfoVector
 
typedef std::unordered_map
< uint32,
SpellEffectInfoVector
SpellEffectInfoMap
 
typedef std::vector
< SpellEffectEntry const * > 
SpellEffectEntryVector
 
typedef std::unordered_map
< uint32,
SpellEffectEntryVector
SpellEffectEntryMap
 
typedef std::vector
< SpellXSpellVisualEntry const * > 
SpellVisualVector
 
typedef std::unordered_map
< uint32, SpellVisualVector
SpellVisualMap
 
typedef std::vector< AuraEffect * > AuraEffectVector
 

Enumerations

enum  SpellCastTargetFlags {
  TARGET_FLAG_NONE = 0x00000000, TARGET_FLAG_UNUSED_1 = 0x00000001, TARGET_FLAG_UNIT = 0x00000002, TARGET_FLAG_UNIT_RAID = 0x00000004,
  TARGET_FLAG_UNIT_PARTY = 0x00000008, TARGET_FLAG_ITEM = 0x00000010, TARGET_FLAG_SOURCE_LOCATION = 0x00000020, TARGET_FLAG_DEST_LOCATION = 0x00000040,
  TARGET_FLAG_UNIT_ENEMY = 0x00000080, TARGET_FLAG_UNIT_ALLY = 0x00000100, TARGET_FLAG_CORPSE_ENEMY = 0x00000200, TARGET_FLAG_UNIT_DEAD = 0x00000400,
  TARGET_FLAG_GAMEOBJECT = 0x00000800, TARGET_FLAG_TRADE_ITEM = 0x00001000, TARGET_FLAG_STRING = 0x00002000, TARGET_FLAG_GAMEOBJECT_ITEM = 0x00004000,
  TARGET_FLAG_CORPSE_ALLY = 0x00008000, TARGET_FLAG_UNIT_MINIPET = 0x00010000, TARGET_FLAG_GLYPH_SLOT = 0x00020000, TARGET_FLAG_DEST_TARGET = 0x00040000,
  TARGET_FLAG_EXTRA_TARGETS = 0x00080000, TARGET_FLAG_UNIT_PASSENGER = 0x00100000, TARGET_FLAG_UNK400000 = 0X00400000, TARGET_FLAG_UNK1000000 = 0X01000000,
  TARGET_FLAG_UNK4000000 = 0X04000000, TARGET_FLAG_UNK10000000 = 0X10000000, TARGET_FLAG_UNK40000000 = 0X40000000, TARGET_FLAG_UNIT_MASK,
  TARGET_FLAG_GAMEOBJECT_MASK = TARGET_FLAG_GAMEOBJECT | TARGET_FLAG_GAMEOBJECT_ITEM, TARGET_FLAG_CORPSE_MASK = TARGET_FLAG_CORPSE_ALLY | TARGET_FLAG_CORPSE_ENEMY, TARGET_FLAG_ITEM_MASK = TARGET_FLAG_TRADE_ITEM | TARGET_FLAG_ITEM | TARGET_FLAG_GAMEOBJECT_ITEM
}
 
enum  SpellTargetSelectionCategories {
  TARGET_SELECT_CATEGORY_NYI, TARGET_SELECT_CATEGORY_DEFAULT, TARGET_SELECT_CATEGORY_CHANNEL, TARGET_SELECT_CATEGORY_NEARBY,
  TARGET_SELECT_CATEGORY_CONE, TARGET_SELECT_CATEGORY_AREA
}
 
enum  SpellTargetReferenceTypes {
  TARGET_REFERENCE_TYPE_NONE, TARGET_REFERENCE_TYPE_CASTER, TARGET_REFERENCE_TYPE_TARGET, TARGET_REFERENCE_TYPE_LAST,
  TARGET_REFERENCE_TYPE_SRC, TARGET_REFERENCE_TYPE_DEST
}
 
enum  SpellTargetObjectTypes {
  TARGET_OBJECT_TYPE_NONE = 0, TARGET_OBJECT_TYPE_SRC, TARGET_OBJECT_TYPE_DEST, TARGET_OBJECT_TYPE_UNIT,
  TARGET_OBJECT_TYPE_UNIT_AND_DEST, TARGET_OBJECT_TYPE_GOBJ, TARGET_OBJECT_TYPE_GOBJ_ITEM, TARGET_OBJECT_TYPE_ITEM,
  TARGET_OBJECT_TYPE_CORPSE, TARGET_OBJECT_TYPE_CORPSE_ENEMY, TARGET_OBJECT_TYPE_CORPSE_ALLY
}
 
enum  SpellTargetCheckTypes {
  TARGET_CHECK_DEFAULT, TARGET_CHECK_ENTRY, TARGET_CHECK_ENEMY, TARGET_CHECK_ALLY,
  TARGET_CHECK_PARTY, TARGET_CHECK_RAID, TARGET_CHECK_RAID_CLASS, TARGET_CHECK_PASSENGER
}
 
enum  SpellTargetDirectionTypes {
  TARGET_DIR_NONE, TARGET_DIR_FRONT, TARGET_DIR_BACK, TARGET_DIR_RIGHT,
  TARGET_DIR_LEFT, TARGET_DIR_FRONT_RIGHT, TARGET_DIR_BACK_RIGHT, TARGET_DIR_BACK_LEFT,
  TARGET_DIR_FRONT_LEFT, TARGET_DIR_RANDOM, TARGET_DIR_ENTRY
}
 
enum  SpellEffectImplicitTargetTypes { EFFECT_IMPLICIT_TARGET_NONE = 0, EFFECT_IMPLICIT_TARGET_EXPLICIT, EFFECT_IMPLICIT_TARGET_CASTER }
 
enum  SpellSpecificType {
  SPELL_SPECIFIC_NORMAL = 0, SPELL_SPECIFIC_SEAL = 1, SPELL_SPECIFIC_AURA = 3, SPELL_SPECIFIC_STING = 4,
  SPELL_SPECIFIC_CURSE = 5, SPELL_SPECIFIC_ASPECT = 6, SPELL_SPECIFIC_TRACKER = 7, SPELL_SPECIFIC_WARLOCK_ARMOR = 8,
  SPELL_SPECIFIC_MAGE_ARMOR = 9, SPELL_SPECIFIC_ELEMENTAL_SHIELD = 10, SPELL_SPECIFIC_MAGE_POLYMORPH = 11, SPELL_SPECIFIC_JUDGEMENT = 13,
  SPELL_SPECIFIC_WARLOCK_CORRUPTION = 17, SPELL_SPECIFIC_FOOD = 19, SPELL_SPECIFIC_DRINK = 20, SPELL_SPECIFIC_FOOD_AND_DRINK = 21,
  SPELL_SPECIFIC_PRESENCE = 22, SPELL_SPECIFIC_CHARM = 23, SPELL_SPECIFIC_SCROLL = 24, SPELL_SPECIFIC_MAGE_ARCANE_BRILLANCE = 25,
  SPELL_SPECIFIC_WARRIOR_ENRAGE = 26, SPELL_SPECIFIC_PRIEST_DIVINE_SPIRIT = 27, SPELL_SPECIFIC_HAND = 28, SPELL_SPECIFIC_PHASE = 29,
  SPELL_SPECIFIC_BANE = 30
}
 
enum  SpellCustomAttributes {
  SPELL_ATTR0_CU_ENCHANT_PROC = 0x00000001, SPELL_ATTR0_CU_CONE_BACK = 0x00000002, SPELL_ATTR0_CU_CONE_LINE = 0x00000004, SPELL_ATTR0_CU_SHARE_DAMAGE = 0x00000008,
  SPELL_ATTR0_CU_NO_INITIAL_THREAT = 0x00000010, SPELL_ATTR0_CU_IS_TALENT = 0x00000020, SPELL_ATTR0_CU_AURA_CC = 0x00000040, SPELL_ATTR0_CU_DIRECT_DAMAGE = 0x00000100,
  SPELL_ATTR0_CU_CHARGE = 0x00000200, SPELL_ATTR0_CU_PICKPOCKET = 0x00000400, SPELL_ATTR0_CU_NEGATIVE_EFF0 = 0x00001000, SPELL_ATTR0_CU_NEGATIVE_EFF1 = 0x00002000,
  SPELL_ATTR0_CU_NEGATIVE_EFF2 = 0x00004000, SPELL_ATTR0_CU_IGNORE_ARMOR = 0x00008000, SPELL_ATTR0_CU_REQ_TARGET_FACING_CASTER = 0x00010000, SPELL_ATTR0_CU_REQ_CASTER_BEHIND_TARGET = 0x00020000,
  SPELL_ATTR0_CU_ALLOW_INFLIGHT_TARGET = 0x00040000, SPELL_ATTR0_CU_NEGATIVE = SPELL_ATTR0_CU_NEGATIVE_EFF0 | SPELL_ATTR0_CU_NEGATIVE_EFF1 | SPELL_ATTR0_CU_NEGATIVE_EFF2
}
 

Functions

uint32 GetTargetFlagMask (SpellTargetObjectTypes objType)
 

Typedef Documentation

typedef std::vector<AuraEffect*> AuraEffectVector
typedef std::unordered_map<uint32, SpellEffectEntryVector> SpellEffectEntryMap
typedef std::unordered_map<uint32, SpellEffectInfoVector> SpellEffectInfoMap
typedef std::unordered_map<uint32, SpellVisualVector> SpellVisualMap

Enumeration Type Documentation

Enumerator
TARGET_FLAG_NONE 
TARGET_FLAG_UNUSED_1 
TARGET_FLAG_UNIT 
TARGET_FLAG_UNIT_RAID 
TARGET_FLAG_UNIT_PARTY 
TARGET_FLAG_ITEM 
TARGET_FLAG_SOURCE_LOCATION 
TARGET_FLAG_DEST_LOCATION 
TARGET_FLAG_UNIT_ENEMY 
TARGET_FLAG_UNIT_ALLY 
TARGET_FLAG_CORPSE_ENEMY 
TARGET_FLAG_UNIT_DEAD 
TARGET_FLAG_GAMEOBJECT 
TARGET_FLAG_TRADE_ITEM 
TARGET_FLAG_STRING 
TARGET_FLAG_GAMEOBJECT_ITEM 
TARGET_FLAG_CORPSE_ALLY 
TARGET_FLAG_UNIT_MINIPET 
TARGET_FLAG_GLYPH_SLOT 
TARGET_FLAG_DEST_TARGET 
TARGET_FLAG_EXTRA_TARGETS 
TARGET_FLAG_UNIT_PASSENGER 
TARGET_FLAG_UNK400000 
TARGET_FLAG_UNK1000000 
TARGET_FLAG_UNK4000000 
TARGET_FLAG_UNK10000000 
TARGET_FLAG_UNK40000000 
TARGET_FLAG_UNIT_MASK 
TARGET_FLAG_GAMEOBJECT_MASK 
TARGET_FLAG_CORPSE_MASK 
TARGET_FLAG_ITEM_MASK 
46 {
47  TARGET_FLAG_NONE = 0x00000000,
48  TARGET_FLAG_UNUSED_1 = 0x00000001, // not used
49  TARGET_FLAG_UNIT = 0x00000002, // pguid
50  TARGET_FLAG_UNIT_RAID = 0x00000004, // not sent, used to validate target (if raid member)
51  TARGET_FLAG_UNIT_PARTY = 0x00000008, // not sent, used to validate target (if party member)
52  TARGET_FLAG_ITEM = 0x00000010, // pguid
53  TARGET_FLAG_SOURCE_LOCATION = 0x00000020, // pguid, 3 float
54  TARGET_FLAG_DEST_LOCATION = 0x00000040, // pguid, 3 float
55  TARGET_FLAG_UNIT_ENEMY = 0x00000080, // not sent, used to validate target (if enemy)
56  TARGET_FLAG_UNIT_ALLY = 0x00000100, // not sent, used to validate target (if ally)
57  TARGET_FLAG_CORPSE_ENEMY = 0x00000200, // pguid
58  TARGET_FLAG_UNIT_DEAD = 0x00000400, // not sent, used to validate target (if dead creature)
59  TARGET_FLAG_GAMEOBJECT = 0x00000800, // pguid, used with TARGET_GAMEOBJECT_TARGET
60  TARGET_FLAG_TRADE_ITEM = 0x00001000, // pguid
61  TARGET_FLAG_STRING = 0x00002000, // string
62  TARGET_FLAG_GAMEOBJECT_ITEM = 0x00004000, // not sent, used with TARGET_GAMEOBJECT_ITEM_TARGET
63  TARGET_FLAG_CORPSE_ALLY = 0x00008000, // pguid
64  TARGET_FLAG_UNIT_MINIPET = 0x00010000, // pguid, used to validate target (if non combat pet)
65  TARGET_FLAG_GLYPH_SLOT = 0x00020000, // used in glyph spells
66  TARGET_FLAG_DEST_TARGET = 0x00040000, // sometimes appears with DEST_TARGET spells (may appear or not for a given spell)
67  TARGET_FLAG_EXTRA_TARGETS = 0x00080000, // uint32 counter, loop { vec3 - screen position (?), guid }, not used so far
68  TARGET_FLAG_UNIT_PASSENGER = 0x00100000, // guessed, used to validate target (if vehicle passenger)
69  TARGET_FLAG_UNK400000 = 0X00400000,
70  TARGET_FLAG_UNK1000000 = 0X01000000,
71  TARGET_FLAG_UNK4000000 = 0X04000000,
72  TARGET_FLAG_UNK10000000 = 0X10000000,
73  TARGET_FLAG_UNK40000000 = 0X40000000,
74 
80 };
Definition: SpellInfo.h:61
Definition: SpellInfo.h:64
Definition: SpellInfo.h:49
Definition: SpellInfo.h:77
Definition: SpellInfo.h:69
Definition: SpellInfo.h:68
Definition: SpellInfo.h:71
Definition: SpellInfo.h:48
Definition: SpellInfo.h:56
Definition: SpellInfo.h:57
Definition: SpellInfo.h:53
Definition: SpellInfo.h:67
Definition: SpellInfo.h:63
Definition: SpellInfo.h:58
Definition: SpellInfo.h:79
Definition: SpellInfo.h:73
Definition: SpellInfo.h:50
Definition: SpellInfo.h:70
Definition: SpellInfo.h:51
Definition: SpellInfo.h:55
Definition: SpellInfo.h:78
Definition: SpellInfo.h:52
Definition: SpellInfo.h:47
Definition: SpellInfo.h:62
Definition: SpellInfo.h:54
Definition: SpellInfo.h:60
Definition: SpellInfo.h:59
Definition: SpellInfo.h:75
Definition: SpellInfo.h:72
Definition: SpellInfo.h:66
Definition: SpellInfo.h:65
Enumerator
SPELL_ATTR0_CU_ENCHANT_PROC 
SPELL_ATTR0_CU_CONE_BACK 
SPELL_ATTR0_CU_CONE_LINE 
SPELL_ATTR0_CU_SHARE_DAMAGE 
SPELL_ATTR0_CU_NO_INITIAL_THREAT 
SPELL_ATTR0_CU_IS_TALENT 
SPELL_ATTR0_CU_AURA_CC 
SPELL_ATTR0_CU_DIRECT_DAMAGE 
SPELL_ATTR0_CU_CHARGE 
SPELL_ATTR0_CU_PICKPOCKET 
SPELL_ATTR0_CU_NEGATIVE_EFF0 
SPELL_ATTR0_CU_NEGATIVE_EFF1 
SPELL_ATTR0_CU_NEGATIVE_EFF2 
SPELL_ATTR0_CU_IGNORE_ARMOR 
SPELL_ATTR0_CU_REQ_TARGET_FACING_CASTER 
SPELL_ATTR0_CU_REQ_CASTER_BEHIND_TARGET 
SPELL_ATTR0_CU_ALLOW_INFLIGHT_TARGET 
SPELL_ATTR0_CU_NEGATIVE 
183 {
184  SPELL_ATTR0_CU_ENCHANT_PROC = 0x00000001,
185  SPELL_ATTR0_CU_CONE_BACK = 0x00000002,
186  SPELL_ATTR0_CU_CONE_LINE = 0x00000004,
187  SPELL_ATTR0_CU_SHARE_DAMAGE = 0x00000008,
189  SPELL_ATTR0_CU_IS_TALENT = 0x00000020,
190  SPELL_ATTR0_CU_AURA_CC = 0x00000040,
191  SPELL_ATTR0_CU_DIRECT_DAMAGE = 0x00000100,
192  SPELL_ATTR0_CU_CHARGE = 0x00000200,
193  SPELL_ATTR0_CU_PICKPOCKET = 0x00000400,
194  SPELL_ATTR0_CU_NEGATIVE_EFF0 = 0x00001000,
195  SPELL_ATTR0_CU_NEGATIVE_EFF1 = 0x00002000,
196  SPELL_ATTR0_CU_NEGATIVE_EFF2 = 0x00004000,
197  SPELL_ATTR0_CU_IGNORE_ARMOR = 0x00008000,
201 
203 };
Definition: SpellInfo.h:194
Definition: SpellInfo.h:192
Definition: SpellInfo.h:188
Definition: SpellInfo.h:187
Definition: SpellInfo.h:186
Definition: SpellInfo.h:196
Definition: SpellInfo.h:184
Definition: SpellInfo.h:190
Definition: SpellInfo.h:202
Definition: SpellInfo.h:195
Definition: SpellInfo.h:193
Definition: SpellInfo.h:191
Definition: SpellInfo.h:197
Definition: SpellInfo.h:185
Definition: SpellInfo.h:200
Definition: SpellInfo.h:199
Definition: SpellInfo.h:198
Definition: SpellInfo.h:189
Enumerator
EFFECT_IMPLICIT_TARGET_NONE 
EFFECT_IMPLICIT_TARGET_EXPLICIT 
EFFECT_IMPLICIT_TARGET_CASTER 
146 {
150 };
Definition: SpellInfo.h:147
Definition: SpellInfo.h:148
Definition: SpellInfo.h:149
Enumerator
SPELL_SPECIFIC_NORMAL 
SPELL_SPECIFIC_SEAL 
SPELL_SPECIFIC_AURA 
SPELL_SPECIFIC_STING 
SPELL_SPECIFIC_CURSE 
SPELL_SPECIFIC_ASPECT 
SPELL_SPECIFIC_TRACKER 
SPELL_SPECIFIC_WARLOCK_ARMOR 
SPELL_SPECIFIC_MAGE_ARMOR 
SPELL_SPECIFIC_ELEMENTAL_SHIELD 
SPELL_SPECIFIC_MAGE_POLYMORPH 
SPELL_SPECIFIC_JUDGEMENT 
SPELL_SPECIFIC_WARLOCK_CORRUPTION 
SPELL_SPECIFIC_FOOD 
SPELL_SPECIFIC_DRINK 
SPELL_SPECIFIC_FOOD_AND_DRINK 
SPELL_SPECIFIC_PRESENCE 
SPELL_SPECIFIC_CHARM 
SPELL_SPECIFIC_SCROLL 
SPELL_SPECIFIC_MAGE_ARCANE_BRILLANCE 
SPELL_SPECIFIC_WARRIOR_ENRAGE 
SPELL_SPECIFIC_PRIEST_DIVINE_SPIRIT 
SPELL_SPECIFIC_HAND 
SPELL_SPECIFIC_PHASE 
SPELL_SPECIFIC_BANE 
154 {
168  SPELL_SPECIFIC_FOOD = 19,
177  SPELL_SPECIFIC_HAND = 28,
180 };
Definition: SpellInfo.h:164
Definition: SpellInfo.h:177
Definition: SpellInfo.h:158
Definition: SpellInfo.h:161
Definition: SpellInfo.h:173
Definition: SpellInfo.h:166
Definition: SpellInfo.h:171
Definition: SpellInfo.h:179
Definition: SpellInfo.h:163
Definition: SpellInfo.h:176
Definition: SpellInfo.h:157
Definition: SpellInfo.h:178
Definition: SpellInfo.h:167
Definition: SpellInfo.h:162
Definition: SpellInfo.h:156
Definition: SpellInfo.h:159
Definition: SpellInfo.h:174
Definition: SpellInfo.h:165
Definition: SpellInfo.h:160
Definition: SpellInfo.h:168
Definition: SpellInfo.h:172
Definition: SpellInfo.h:170
Definition: SpellInfo.h:175
Definition: SpellInfo.h:155
Definition: SpellInfo.h:169
Enumerator
TARGET_CHECK_DEFAULT 
TARGET_CHECK_ENTRY 
TARGET_CHECK_ENEMY 
TARGET_CHECK_ALLY 
TARGET_CHECK_PARTY 
TARGET_CHECK_RAID 
TARGET_CHECK_RAID_CLASS 
TARGET_CHECK_PASSENGER 
119 {
128 };
Definition: SpellInfo.h:126
Definition: SpellInfo.h:122
Definition: SpellInfo.h:123
Definition: SpellInfo.h:120
Definition: SpellInfo.h:121
Definition: SpellInfo.h:124
Definition: SpellInfo.h:125
Definition: SpellInfo.h:127
Enumerator
TARGET_DIR_NONE 
TARGET_DIR_FRONT 
TARGET_DIR_BACK 
TARGET_DIR_RIGHT 
TARGET_DIR_LEFT 
TARGET_DIR_FRONT_RIGHT 
TARGET_DIR_BACK_RIGHT 
TARGET_DIR_BACK_LEFT 
TARGET_DIR_FRONT_LEFT 
TARGET_DIR_RANDOM 
TARGET_DIR_ENTRY 
131 {
143 };
Definition: SpellInfo.h:137
Definition: SpellInfo.h:138
Definition: SpellInfo.h:133
Definition: SpellInfo.h:135
Definition: SpellInfo.h:134
Definition: SpellInfo.h:132
Definition: SpellInfo.h:139
Definition: SpellInfo.h:140
Definition: SpellInfo.h:136
Definition: SpellInfo.h:142
Definition: SpellInfo.h:141
Enumerator
TARGET_OBJECT_TYPE_NONE 
TARGET_OBJECT_TYPE_SRC 
TARGET_OBJECT_TYPE_DEST 
TARGET_OBJECT_TYPE_UNIT 
TARGET_OBJECT_TYPE_UNIT_AND_DEST 
TARGET_OBJECT_TYPE_GOBJ 
TARGET_OBJECT_TYPE_GOBJ_ITEM 
TARGET_OBJECT_TYPE_ITEM 
TARGET_OBJECT_TYPE_CORPSE 
TARGET_OBJECT_TYPE_CORPSE_ENEMY 
TARGET_OBJECT_TYPE_CORPSE_ALLY 
103 {
113  // only for effect target type
116 };
Definition: SpellInfo.h:110
Definition: SpellInfo.h:114
Definition: SpellInfo.h:115
Definition: SpellInfo.h:112
Definition: SpellInfo.h:109
Definition: SpellInfo.h:107
Definition: SpellInfo.h:104
Definition: SpellInfo.h:108
Definition: SpellInfo.h:111
Definition: SpellInfo.h:106
Definition: SpellInfo.h:105
Enumerator
TARGET_REFERENCE_TYPE_NONE 
TARGET_REFERENCE_TYPE_CASTER 
TARGET_REFERENCE_TYPE_TARGET 
TARGET_REFERENCE_TYPE_LAST 
TARGET_REFERENCE_TYPE_SRC 
TARGET_REFERENCE_TYPE_DEST 
93 {
100 };
Definition: SpellInfo.h:99
Definition: SpellInfo.h:96
Definition: SpellInfo.h:94
Definition: SpellInfo.h:95
Definition: SpellInfo.h:97
Definition: SpellInfo.h:98
Enumerator
TARGET_SELECT_CATEGORY_NYI 
TARGET_SELECT_CATEGORY_DEFAULT 
TARGET_SELECT_CATEGORY_CHANNEL 
TARGET_SELECT_CATEGORY_NEARBY 
TARGET_SELECT_CATEGORY_CONE 
TARGET_SELECT_CATEGORY_AREA 

Function Documentation

uint32 GetTargetFlagMask ( SpellTargetObjectTypes  objType)
31 {
32  switch (objType)
33  {
45  return TARGET_FLAG_UNIT;
51  return TARGET_FLAG_ITEM;
54  default:
55  return TARGET_FLAG_NONE;
56  }
57 }
Definition: SpellInfo.h:49
Definition: SpellInfo.h:110
Definition: SpellInfo.h:114
Definition: SpellInfo.h:115
Definition: SpellInfo.h:112
Definition: SpellInfo.h:57
Definition: SpellInfo.h:53
Definition: SpellInfo.h:109
Definition: SpellInfo.h:63
Definition: SpellInfo.h:107
Definition: SpellInfo.h:108
Definition: SpellInfo.h:52
Definition: SpellInfo.h:47
Definition: SpellInfo.h:62
Definition: SpellInfo.h:54
Definition: SpellInfo.h:111
Definition: SpellInfo.h:106
Definition: SpellInfo.h:59
Definition: SpellInfo.h:105

+ Here is the caller graph for this function: