AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
EnumUtils Class Reference

#include "SmartEnum.h"

Classes

class  Iterator
 

Public Member Functions

AC_API_EXPORT EnumText ToString (ColorTypes value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT ColorTypes FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (ColorTypes value)
 
AC_API_EXPORT EnumText ToString (LogLevel value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT LogLevel FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (LogLevel value)
 
AC_API_EXPORT EnumText ToString (AppenderType value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT AppenderType FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (AppenderType value)
 
AC_API_EXPORT EnumText ToString (AppenderFlags value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT AppenderFlags FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (AppenderFlags value)
 
AC_API_EXPORT EnumText ToString (CreatureAI::EvadeReason value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT CreatureAI::EvadeReason FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (CreatureAI::EvadeReason value)
 
AC_API_EXPORT EnumText ToString (ArenaTeamTypes value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT ArenaTeamTypes FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (ArenaTeamTypes value)
 
AC_API_EXPORT EnumText ToString (ChatNotify value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT ChatNotify FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (ChatNotify value)
 
AC_API_EXPORT EnumText ToString (CreatureFlagsExtra value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT CreatureFlagsExtra FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (CreatureFlagsExtra value)
 
AC_API_EXPORT EnumText ToString (InventoryResult value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT InventoryResult FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (InventoryResult value)
 
AC_API_EXPORT EnumText ToString (BuyResult value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT BuyResult FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (BuyResult value)
 
AC_API_EXPORT EnumText ToString (SellResult value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT SellResult FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (SellResult value)
 
AC_API_EXPORT EnumText ToString (UnitFlags value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT UnitFlags FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (UnitFlags value)
 
AC_API_EXPORT EnumText ToString (NPCFlags value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT NPCFlags FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (NPCFlags value)
 
AC_API_EXPORT EnumText ToString (QuestFailedReason value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT QuestFailedReason FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (QuestFailedReason value)
 
AC_API_EXPORT EnumText ToString (QuestShareMessages value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT QuestShareMessages FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (QuestShareMessages value)
 
AC_API_EXPORT EnumText ToString (WardenActions value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT WardenActions FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (WardenActions value)
 
AC_API_EXPORT EnumText ToString (Races value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT Races FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (Races value)
 
AC_API_EXPORT EnumText ToString (Classes value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT Classes FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (Classes value)
 
AC_API_EXPORT EnumText ToString (SpellAttr0 value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT SpellAttr0 FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (SpellAttr0 value)
 
AC_API_EXPORT EnumText ToString (SpellAttr1 value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT SpellAttr1 FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (SpellAttr1 value)
 
AC_API_EXPORT EnumText ToString (SpellAttr2 value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT SpellAttr2 FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (SpellAttr2 value)
 
AC_API_EXPORT EnumText ToString (SpellAttr3 value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT SpellAttr3 FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (SpellAttr3 value)
 
AC_API_EXPORT EnumText ToString (SpellAttr4 value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT SpellAttr4 FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (SpellAttr4 value)
 
AC_API_EXPORT EnumText ToString (SpellAttr5 value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT SpellAttr5 FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (SpellAttr5 value)
 
AC_API_EXPORT EnumText ToString (SpellAttr6 value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT SpellAttr6 FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (SpellAttr6 value)
 
AC_API_EXPORT EnumText ToString (SpellAttr7 value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT SpellAttr7 FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (SpellAttr7 value)
 
AC_API_EXPORT EnumText ToString (SpellCastResult value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT SpellCastResult FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (SpellCastResult value)
 
AC_API_EXPORT EnumText ToString (AuraStateType value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT AuraStateType FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (AuraStateType value)
 
AC_API_EXPORT EnumText ToString (Mechanics value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT Mechanics FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (Mechanics value)
 
AC_API_EXPORT EnumText ToString (Emote value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT Emote FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (Emote value)
 
AC_API_EXPORT EnumText ToString (ChatMsg value)
 
AC_API_EXPORT std::size_t Count ()
 
AC_API_EXPORT ChatMsg FromIndex (std::size_t index)
 
AC_API_EXPORT std::size_t ToIndex (ChatMsg value)
 

Static Public Member Functions

template<typename Enum >
static std::size_t Count ()
 
template<typename Enum >
static EnumText ToString (Enum value)
 
template<typename Enum >
static Enum FromIndex (std::size_t index)
 
template<typename Enum >
static uint32 ToIndex (Enum value)
 
template<typename Enum >
static bool IsValid (Enum value)
 
template<typename Enum >
static bool IsValid (std::underlying_type_t< Enum > value)
 
template<typename Enum >
static Iterator< Enum > Begin ()
 
template<typename Enum >
static Iterator< Enum > End ()
 
template<typename Enum >
static Acore::IteratorPair< Iterator< Enum > > Iterate ()
 
template<typename Enum >
static char const * ToConstant (Enum value)
 
template<typename Enum >
static char const * ToTitle (Enum value)
 
template<typename Enum >
static char const * ToDescription (Enum value)
 

Detailed Description

Member Function Documentation

◆ Begin()

template<typename Enum >
static Iterator< Enum > EnumUtils::Begin ( )
inlinestatic
115{ return Iterator<Enum>(0); }

◆ Count() [1/32]

AC_API_EXPORT std::size_t EnumUtils< ColorTypes >::Count ( )
54{ return 15; }

◆ Count() [2/32]

AC_API_EXPORT std::size_t EnumUtils< LogLevel >::Count ( )
46{ return 7; }

◆ Count() [3/32]

AC_API_EXPORT std::size_t EnumUtils< AppenderType >::Count ( )
97{ return 4; }

◆ Count() [4/32]

AC_API_EXPORT std::size_t EnumUtils< AppenderFlags >::Count ( )
144{ return 6; }

◆ Count() [5/32]

template<typename Enum >
static std::size_t EnumUtils::Count ( )
inlinestatic

◆ Count() [6/32]

AC_API_EXPORT std::size_t EnumUtils< CreatureAI::EvadeReason >::Count ( )
43{ return 4; }

◆ Count() [7/32]

AC_API_EXPORT std::size_t EnumUtils< ArenaTeamTypes >::Count ( )
42{ return 3; }

◆ Count() [8/32]

AC_API_EXPORT std::size_t EnumUtils< ChatNotify >::Count ( )
75{ return 36; }

◆ Count() [9/32]

AC_API_EXPORT std::size_t EnumUtils< CreatureFlagsExtra >::Count ( )
71{ return 32; }

◆ Count() [10/32]

AC_API_EXPORT std::size_t EnumUtils< InventoryResult >::Count ( )
127{ return 88; }

◆ Count() [11/32]

AC_API_EXPORT std::size_t EnumUtils< BuyResult >::Count ( )
345{ return 9; }

◆ Count() [12/32]

AC_API_EXPORT std::size_t EnumUtils< SellResult >::Count ( )
405{ return 9; }

◆ Count() [13/32]

AC_API_EXPORT std::size_t EnumUtils< UnitFlags >::Count ( )
72{ return 33; }

◆ Count() [14/32]

AC_API_EXPORT std::size_t EnumUtils< NPCFlags >::Count ( )
199{ return 28; }

◆ Count() [15/32]

AC_API_EXPORT std::size_t EnumUtils< QuestFailedReason >::Count ( )
52{ return 13; }

◆ Count() [16/32]

AC_API_EXPORT std::size_t EnumUtils< QuestShareMessages >::Count ( )
122{ return 11; }

◆ Count() [17/32]

AC_API_EXPORT std::size_t EnumUtils< WardenActions >::Count ( )
42{ return 3; }

◆ Count() [18/32]

AC_API_EXPORT std::size_t EnumUtils< Races >::Count ( )
49{ return 10; }

◆ Count() [19/32]

AC_API_EXPORT std::size_t EnumUtils< Classes >::Count ( )
112{ return 10; }

◆ Count() [20/32]

AC_API_EXPORT std::size_t EnumUtils< SpellAttr0 >::Count ( )
197{ return 32; }

◆ Count() [21/32]

AC_API_EXPORT std::size_t EnumUtils< SpellAttr1 >::Count ( )
326{ return 32; }

◆ Count() [22/32]

AC_API_EXPORT std::size_t EnumUtils< SpellAttr2 >::Count ( )
455{ return 32; }

◆ Count() [23/32]

AC_API_EXPORT std::size_t EnumUtils< SpellAttr3 >::Count ( )
584{ return 32; }

◆ Count() [24/32]

AC_API_EXPORT std::size_t EnumUtils< SpellAttr4 >::Count ( )
713{ return 32; }

◆ Count() [25/32]

AC_API_EXPORT std::size_t EnumUtils< SpellAttr5 >::Count ( )
842{ return 32; }

◆ Count() [26/32]

AC_API_EXPORT std::size_t EnumUtils< SpellAttr6 >::Count ( )
971{ return 32; }

◆ Count() [27/32]

AC_API_EXPORT std::size_t EnumUtils< SpellAttr7 >::Count ( )
1100{ return 32; }

◆ Count() [28/32]

AC_API_EXPORT std::size_t EnumUtils< SpellCastResult >::Count ( )
1386{ return 189; }

◆ Count() [29/32]

AC_API_EXPORT std::size_t EnumUtils< AuraStateType >::Count ( )
1815{ return 18; }

◆ Count() [30/32]

AC_API_EXPORT std::size_t EnumUtils< Mechanics >::Count ( )
1916{ return 32; }

◆ Count() [31/32]

AC_API_EXPORT std::size_t EnumUtils< Emote >::Count ( )
2187{ return 174; }

◆ Count() [32/32]

AC_API_EXPORT std::size_t EnumUtils< ChatMsg >::Count ( )
2621{ return 53; }

◆ End()

template<typename Enum >
static Iterator< Enum > EnumUtils::End ( )
inlinestatic
118{ return Iterator<Enum>(); }

◆ FromIndex() [1/32]

AC_API_EXPORT ColorTypes EnumUtils< ColorTypes >::FromIndex ( std::size_t  index)
58{
59 switch (index)
60 {
61 case 0: return BLACK;
62 case 1: return RED;
63 case 2: return GREEN;
64 case 3: return BROWN;
65 case 4: return BLUE;
66 case 5: return MAGENTA;
67 case 6: return CYAN;
68 case 7: return GREY;
69 case 8: return YELLOW;
70 case 9: return LRED;
71 case 10: return LGREEN;
72 case 11: return LBLUE;
73 case 12: return LMAGENTA;
74 case 13: return LCYAN;
75 case 14: return WHITE;
76 default: throw std::out_of_range("index");
77 }
78}
@ BROWN
Definition: AppenderConsole.h:30
@ LRED
Definition: AppenderConsole.h:36
@ WHITE
Definition: AppenderConsole.h:41
@ BLUE
Definition: AppenderConsole.h:31
@ GREY
Definition: AppenderConsole.h:34
@ LMAGENTA
Definition: AppenderConsole.h:39
@ MAGENTA
Definition: AppenderConsole.h:32
@ GREEN
Definition: AppenderConsole.h:29
@ CYAN
Definition: AppenderConsole.h:33
@ LBLUE
Definition: AppenderConsole.h:38
@ LCYAN
Definition: AppenderConsole.h:40
@ YELLOW
Definition: AppenderConsole.h:35
@ LGREEN
Definition: AppenderConsole.h:37
@ BLACK
Definition: AppenderConsole.h:27
@ RED
Definition: AppenderConsole.h:28

References BLACK, BLUE, BROWN, CYAN, GREEN, GREY, LBLUE, LCYAN, LGREEN, LMAGENTA, LRED, MAGENTA, RED, WHITE, and YELLOW.

◆ FromIndex() [2/32]

AC_API_EXPORT LogLevel EnumUtils< LogLevel >::FromIndex ( std::size_t  index)
50{
51 switch (index)
52 {
53 case 0: return LOG_LEVEL_DISABLED;
54 case 1: return LOG_LEVEL_FATAL;
55 case 2: return LOG_LEVEL_ERROR;
56 case 3: return LOG_LEVEL_WARN;
57 case 4: return LOG_LEVEL_INFO;
58 case 5: return LOG_LEVEL_DEBUG;
59 case 6: return LOG_LEVEL_TRACE;
60 default: throw std::out_of_range("index");
61 }
62}
@ LOG_LEVEL_DEBUG
Definition: LogCommon.h:31
@ LOG_LEVEL_ERROR
Definition: LogCommon.h:28
@ LOG_LEVEL_FATAL
Definition: LogCommon.h:27
@ LOG_LEVEL_TRACE
Definition: LogCommon.h:32
@ LOG_LEVEL_WARN
Definition: LogCommon.h:29
@ LOG_LEVEL_DISABLED
Definition: LogCommon.h:26
@ LOG_LEVEL_INFO
Definition: LogCommon.h:30

References LOG_LEVEL_DEBUG, LOG_LEVEL_DISABLED, LOG_LEVEL_ERROR, LOG_LEVEL_FATAL, LOG_LEVEL_INFO, LOG_LEVEL_TRACE, and LOG_LEVEL_WARN.

◆ FromIndex() [3/32]

AC_API_EXPORT AppenderType EnumUtils< AppenderType >::FromIndex ( std::size_t  index)
101{
102 switch (index)
103 {
104 case 0: return APPENDER_NONE;
105 case 1: return APPENDER_CONSOLE;
106 case 2: return APPENDER_FILE;
107 case 3: return APPENDER_DB;
108 default: throw std::out_of_range("index");
109 }
110}
@ APPENDER_FILE
Definition: LogCommon.h:43
@ APPENDER_CONSOLE
Definition: LogCommon.h:42
@ APPENDER_DB
Definition: LogCommon.h:44
@ APPENDER_NONE
Definition: LogCommon.h:41

References APPENDER_CONSOLE, APPENDER_DB, APPENDER_FILE, and APPENDER_NONE.

◆ FromIndex() [4/32]

AC_API_EXPORT AppenderFlags EnumUtils< AppenderFlags >::FromIndex ( std::size_t  index)
148{
149 switch (index)
150 {
151 case 0: return APPENDER_FLAGS_NONE;
152 case 1: return APPENDER_FLAGS_PREFIX_TIMESTAMP;
153 case 2: return APPENDER_FLAGS_PREFIX_LOGLEVEL;
155 case 4: return APPENDER_FLAGS_USE_TIMESTAMP;
156 case 5: return APPENDER_FLAGS_MAKE_FILE_BACKUP;
157 default: throw std::out_of_range("index");
158 }
159}
@ APPENDER_FLAGS_NONE
Definition: LogCommon.h:52
@ APPENDER_FLAGS_MAKE_FILE_BACKUP
Definition: LogCommon.h:57
@ APPENDER_FLAGS_USE_TIMESTAMP
Definition: LogCommon.h:56
@ APPENDER_FLAGS_PREFIX_TIMESTAMP
Definition: LogCommon.h:53
@ APPENDER_FLAGS_PREFIX_LOGFILTERTYPE
Definition: LogCommon.h:55
@ APPENDER_FLAGS_PREFIX_LOGLEVEL
Definition: LogCommon.h:54

References APPENDER_FLAGS_MAKE_FILE_BACKUP, APPENDER_FLAGS_NONE, APPENDER_FLAGS_PREFIX_LOGFILTERTYPE, APPENDER_FLAGS_PREFIX_LOGLEVEL, APPENDER_FLAGS_PREFIX_TIMESTAMP, and APPENDER_FLAGS_USE_TIMESTAMP.

◆ FromIndex() [5/32]

template<typename Enum >
static Enum EnumUtils::FromIndex ( std::size_t  index)
inlinestatic

◆ FromIndex() [6/32]

47{
48 switch (index)
49 {
54 default: throw std::out_of_range("index");
55 }
56}
@ EVADE_REASON_BOUNDARY
Definition: CreatureAI.h:91
@ EVADE_REASON_NO_HOSTILES
Definition: CreatureAI.h:90
@ EVADE_REASON_SEQUENCE_BREAK
Definition: CreatureAI.h:92
@ EVADE_REASON_NO_PATH
Definition: CreatureAI.h:93

References CreatureAI::EVADE_REASON_BOUNDARY, CreatureAI::EVADE_REASON_NO_HOSTILES, CreatureAI::EVADE_REASON_NO_PATH, and CreatureAI::EVADE_REASON_SEQUENCE_BREAK.

◆ FromIndex() [7/32]

AC_API_EXPORT ArenaTeamTypes EnumUtils< ArenaTeamTypes >::FromIndex ( std::size_t  index)
46{
47 switch (index)
48 {
49 case 0: return ARENA_TEAM_2v2;
50 case 1: return ARENA_TEAM_3v3;
51 case 2: return ARENA_TEAM_5v5;
52 default: throw std::out_of_range("index");
53 }
54}
@ ARENA_TEAM_5v5
Definition: ArenaTeam.h:98
@ ARENA_TEAM_2v2
Definition: ArenaTeam.h:96
@ ARENA_TEAM_3v3
Definition: ArenaTeam.h:97

References ARENA_TEAM_2v2, ARENA_TEAM_3v3, and ARENA_TEAM_5v5.

◆ FromIndex() [8/32]

AC_API_EXPORT ChatNotify EnumUtils< ChatNotify >::FromIndex ( std::size_t  index)
79{
80 switch (index)
81 {
82 case 0: return CHAT_JOINED_NOTICE;
83 case 1: return CHAT_LEFT_NOTICE;
84 case 2: return CHAT_YOU_JOINED_NOTICE;
85 case 3: return CHAT_YOU_LEFT_NOTICE;
86 case 4: return CHAT_WRONG_PASSWORD_NOTICE;
87 case 5: return CHAT_NOT_MEMBER_NOTICE;
88 case 6: return CHAT_NOT_MODERATOR_NOTICE;
89 case 7: return CHAT_PASSWORD_CHANGED_NOTICE;
90 case 8: return CHAT_OWNER_CHANGED_NOTICE;
91 case 9: return CHAT_PLAYER_NOT_FOUND_NOTICE;
92 case 10: return CHAT_NOT_OWNER_NOTICE;
93 case 11: return CHAT_CHANNEL_OWNER_NOTICE;
94 case 12: return CHAT_MODE_CHANGE_NOTICE;
95 case 13: return CHAT_ANNOUNCEMENTS_ON_NOTICE;
96 case 14: return CHAT_ANNOUNCEMENTS_OFF_NOTICE;
97 case 15: return CHAT_MODERATION_ON_NOTICE;
98 case 16: return CHAT_MODERATION_OFF_NOTICE;
99 case 17: return CHAT_MUTED_NOTICE;
100 case 18: return CHAT_PLAYER_KICKED_NOTICE;
101 case 19: return CHAT_BANNED_NOTICE;
102 case 20: return CHAT_PLAYER_BANNED_NOTICE;
103 case 21: return CHAT_PLAYER_UNBANNED_NOTICE;
104 case 22: return CHAT_PLAYER_NOT_BANNED_NOTICE;
105 case 23: return CHAT_PLAYER_ALREADY_MEMBER_NOTICE;
106 case 24: return CHAT_INVITE_NOTICE;
107 case 25: return CHAT_INVITE_WRONG_FACTION_NOTICE;
108 case 26: return CHAT_WRONG_FACTION_NOTICE;
109 case 27: return CHAT_INVALID_NAME_NOTICE;
110 case 28: return CHAT_NOT_MODERATED_NOTICE;
111 case 29: return CHAT_PLAYER_INVITED_NOTICE;
112 case 30: return CHAT_PLAYER_INVITE_BANNED_NOTICE;
113 case 31: return CHAT_THROTTLED_NOTICE;
114 case 32: return CHAT_NOT_IN_AREA_NOTICE;
115 case 33: return CHAT_NOT_IN_LFG_NOTICE;
116 case 34: return CHAT_VOICE_ON_NOTICE;
117 case 35: return CHAT_VOICE_OFF_NOTICE;
118 default: throw std::out_of_range("index");
119 }
120}
@ CHAT_YOU_JOINED_NOTICE
Definition: Channel.h:39
@ CHAT_MODERATION_OFF_NOTICE
Definition: Channel.h:54
@ CHAT_WRONG_FACTION_NOTICE
Definition: Channel.h:64
@ CHAT_NOT_MODERATOR_NOTICE
Definition: Channel.h:44
@ CHAT_PLAYER_UNBANNED_NOTICE
Definition: Channel.h:59
@ CHAT_PLAYER_NOT_FOUND_NOTICE
Definition: Channel.h:47
@ CHAT_MUTED_NOTICE
Definition: Channel.h:55
@ CHAT_PLAYER_NOT_BANNED_NOTICE
Definition: Channel.h:60
@ CHAT_PLAYER_INVITED_NOTICE
Definition: Channel.h:67
@ CHAT_PLAYER_KICKED_NOTICE
Definition: Channel.h:56
@ CHAT_VOICE_OFF_NOTICE
Definition: Channel.h:73
@ CHAT_MODE_CHANGE_NOTICE
Definition: Channel.h:50
@ CHAT_NOT_MEMBER_NOTICE
Definition: Channel.h:43
@ CHAT_ANNOUNCEMENTS_ON_NOTICE
Definition: Channel.h:51
@ CHAT_JOINED_NOTICE
Definition: Channel.h:36
@ CHAT_LEFT_NOTICE
Definition: Channel.h:37
@ CHAT_INVITE_WRONG_FACTION_NOTICE
Definition: Channel.h:63
@ CHAT_BANNED_NOTICE
Definition: Channel.h:57
@ CHAT_PLAYER_BANNED_NOTICE
Definition: Channel.h:58
@ CHAT_PLAYER_ALREADY_MEMBER_NOTICE
Definition: Channel.h:61
@ CHAT_OWNER_CHANGED_NOTICE
Definition: Channel.h:46
@ CHAT_ANNOUNCEMENTS_OFF_NOTICE
Definition: Channel.h:52
@ CHAT_VOICE_ON_NOTICE
Definition: Channel.h:72
@ CHAT_NOT_IN_LFG_NOTICE
Definition: Channel.h:71
@ CHAT_NOT_IN_AREA_NOTICE
Definition: Channel.h:70
@ CHAT_NOT_MODERATED_NOTICE
Definition: Channel.h:66
@ CHAT_YOU_LEFT_NOTICE
Definition: Channel.h:41
@ CHAT_CHANNEL_OWNER_NOTICE
Definition: Channel.h:49
@ CHAT_WRONG_PASSWORD_NOTICE
Definition: Channel.h:42
@ CHAT_THROTTLED_NOTICE
Definition: Channel.h:69
@ CHAT_PLAYER_INVITE_BANNED_NOTICE
Definition: Channel.h:68
@ CHAT_INVITE_NOTICE
Definition: Channel.h:62
@ CHAT_NOT_OWNER_NOTICE
Definition: Channel.h:48
@ CHAT_PASSWORD_CHANGED_NOTICE
Definition: Channel.h:45
@ CHAT_INVALID_NAME_NOTICE
Definition: Channel.h:65
@ CHAT_MODERATION_ON_NOTICE
Definition: Channel.h:53

References CHAT_ANNOUNCEMENTS_OFF_NOTICE, CHAT_ANNOUNCEMENTS_ON_NOTICE, CHAT_BANNED_NOTICE, CHAT_CHANNEL_OWNER_NOTICE, CHAT_INVALID_NAME_NOTICE, CHAT_INVITE_NOTICE, CHAT_INVITE_WRONG_FACTION_NOTICE, CHAT_JOINED_NOTICE, CHAT_LEFT_NOTICE, CHAT_MODE_CHANGE_NOTICE, CHAT_MODERATION_OFF_NOTICE, CHAT_MODERATION_ON_NOTICE, CHAT_MUTED_NOTICE, CHAT_NOT_IN_AREA_NOTICE, CHAT_NOT_IN_LFG_NOTICE, CHAT_NOT_MEMBER_NOTICE, CHAT_NOT_MODERATED_NOTICE, CHAT_NOT_MODERATOR_NOTICE, CHAT_NOT_OWNER_NOTICE, CHAT_OWNER_CHANGED_NOTICE, CHAT_PASSWORD_CHANGED_NOTICE, CHAT_PLAYER_ALREADY_MEMBER_NOTICE, CHAT_PLAYER_BANNED_NOTICE, CHAT_PLAYER_INVITE_BANNED_NOTICE, CHAT_PLAYER_INVITED_NOTICE, CHAT_PLAYER_KICKED_NOTICE, CHAT_PLAYER_NOT_BANNED_NOTICE, CHAT_PLAYER_NOT_FOUND_NOTICE, CHAT_PLAYER_UNBANNED_NOTICE, CHAT_THROTTLED_NOTICE, CHAT_VOICE_OFF_NOTICE, CHAT_VOICE_ON_NOTICE, CHAT_WRONG_FACTION_NOTICE, CHAT_WRONG_PASSWORD_NOTICE, CHAT_YOU_JOINED_NOTICE, and CHAT_YOU_LEFT_NOTICE.

◆ FromIndex() [9/32]

AC_API_EXPORT CreatureFlagsExtra EnumUtils< CreatureFlagsExtra >::FromIndex ( std::size_t  index)
75{
76 switch (index)
77 {
79 case 1: return CREATURE_FLAG_EXTRA_CIVILIAN;
80 case 2: return CREATURE_FLAG_EXTRA_NO_PARRY;
82 case 4: return CREATURE_FLAG_EXTRA_NO_BLOCK;
84 case 6: return CREATURE_FLAG_EXTRA_NO_XP;
85 case 7: return CREATURE_FLAG_EXTRA_TRIGGER;
86 case 8: return CREATURE_FLAG_EXTRA_NO_TAUNT;
89 case 11: return CREATURE_FLAG_EXTRA_UNUSED_12;
92 case 14: return CREATURE_FLAG_EXTRA_WORLDEVENT;
93 case 15: return CREATURE_FLAG_EXTRA_GUARD;
95 case 17: return CREATURE_FLAG_EXTRA_NO_CRIT;
100 case 22: return CREATURE_FLAG_EXTRA_AVOID_AOE;
101 case 23: return CREATURE_FLAG_EXTRA_NO_DODGE;
102 case 24: return CREATURE_FLAG_EXTRA_MODULE;
106 case 28: return CREATURE_FLAG_EXTRA_DUNGEON_BOSS;
109 case 31: return CREATURE_FLAG_EXTRA_HARD_RESET;
110 default: throw std::out_of_range("index");
111 }
112}
@ CREATURE_FLAG_EXTRA_IGNORE_COMBAT
Definition: CreatureData.h:59
@ CREATURE_FLAG_EXTRA_NO_BLOCK
Definition: CreatureData.h:50
@ CREATURE_FLAG_EXTRA_NO_CRUSHING_BLOWS
Definition: CreatureData.h:51
@ CREATURE_FLAG_EXTRA_NO_CRIT
Definition: CreatureData.h:63
@ CREATURE_FLAG_EXTRA_DUNGEON_BOSS
Definition: CreatureData.h:74
@ CREATURE_FLAG_EXTRA_IGNORE_ALL_ASSISTANCE_CALLS
Definition: CreatureData.h:72
@ CREATURE_FLAG_EXTRA_TRIGGER
Definition: CreatureData.h:53
@ CREATURE_FLAG_EXTRA_IGNORE_PATHFINDING
Definition: CreatureData.h:75
@ CREATURE_FLAG_EXTRA_NO_PARRY_HASTEN
Definition: CreatureData.h:49
@ CREATURE_FLAG_EXTRA_NO_XP
Definition: CreatureData.h:52
@ CREATURE_FLAG_EXTRA_HARD_RESET
Definition: CreatureData.h:77
@ CREATURE_FLAG_EXTRA_INSTANCE_BIND
Definition: CreatureData.h:46
@ CREATURE_FLAG_EXTRA_OBEYS_TAUNT_DIMINISHING_RETURNS
Definition: CreatureData.h:65
@ CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE
Definition: CreatureData.h:55
@ CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACK
Definition: CreatureData.h:76
@ CREATURE_FLAG_EXTRA_DONT_CALL_ASSISTANCE
Definition: CreatureData.h:71
@ CREATURE_FLAG_EXTRA_NO_PARRY
Definition: CreatureData.h:48
@ CREATURE_FLAG_DONT_OVERRIDE_ENTRY_SAI
Definition: CreatureData.h:73
@ CREATURE_FLAG_EXTRA_IGNORE_FEIGN_DEATH
Definition: CreatureData.h:62
@ CREATURE_FLAG_EXTRA_NO_TAUNT
Definition: CreatureData.h:54
@ CREATURE_FLAG_EXTRA_NO_PLAYER_DAMAGE_REQ
Definition: CreatureData.h:67
@ CREATURE_FLAG_EXTRA_GHOST_VISIBILITY
Definition: CreatureData.h:56
@ CREATURE_FLAG_EXTRA_NO_SELL_VENDOR
Definition: CreatureData.h:58
@ CREATURE_FLAG_EXTRA_NO_DODGE
Definition: CreatureData.h:69
@ CREATURE_FLAG_EXTRA_NO_SKILL_GAINS
Definition: CreatureData.h:64
@ CREATURE_FLAG_EXTRA_AVOID_AOE
Definition: CreatureData.h:68
@ CREATURE_FLAG_EXTRA_CIVILIAN
Definition: CreatureData.h:47
@ CREATURE_FLAG_EXTRA_UNUSED_12
Definition: CreatureData.h:57
@ CREATURE_FLAG_EXTRA_MODULE
Definition: CreatureData.h:70
@ CREATURE_FLAG_EXTRA_GUARD
Definition: CreatureData.h:61
@ CREATURE_FLAG_EXTRA_ALL_DIMINISH
Definition: CreatureData.h:66
@ CREATURE_FLAG_EXTRA_WORLDEVENT
Definition: CreatureData.h:60

References CREATURE_FLAG_DONT_OVERRIDE_ENTRY_SAI, CREATURE_FLAG_EXTRA_ALL_DIMINISH, CREATURE_FLAG_EXTRA_AVOID_AOE, CREATURE_FLAG_EXTRA_CIVILIAN, CREATURE_FLAG_EXTRA_DONT_CALL_ASSISTANCE, CREATURE_FLAG_EXTRA_DUNGEON_BOSS, CREATURE_FLAG_EXTRA_GHOST_VISIBILITY, CREATURE_FLAG_EXTRA_GUARD, CREATURE_FLAG_EXTRA_HARD_RESET, CREATURE_FLAG_EXTRA_IGNORE_ALL_ASSISTANCE_CALLS, CREATURE_FLAG_EXTRA_IGNORE_COMBAT, CREATURE_FLAG_EXTRA_IGNORE_FEIGN_DEATH, CREATURE_FLAG_EXTRA_IGNORE_PATHFINDING, CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACK, CREATURE_FLAG_EXTRA_INSTANCE_BIND, CREATURE_FLAG_EXTRA_MODULE, CREATURE_FLAG_EXTRA_NO_BLOCK, CREATURE_FLAG_EXTRA_NO_CRIT, CREATURE_FLAG_EXTRA_NO_CRUSHING_BLOWS, CREATURE_FLAG_EXTRA_NO_DODGE, CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE, CREATURE_FLAG_EXTRA_NO_PARRY, CREATURE_FLAG_EXTRA_NO_PARRY_HASTEN, CREATURE_FLAG_EXTRA_NO_PLAYER_DAMAGE_REQ, CREATURE_FLAG_EXTRA_NO_SELL_VENDOR, CREATURE_FLAG_EXTRA_NO_SKILL_GAINS, CREATURE_FLAG_EXTRA_NO_TAUNT, CREATURE_FLAG_EXTRA_NO_XP, CREATURE_FLAG_EXTRA_OBEYS_TAUNT_DIMINISHING_RETURNS, CREATURE_FLAG_EXTRA_TRIGGER, CREATURE_FLAG_EXTRA_UNUSED_12, and CREATURE_FLAG_EXTRA_WORLDEVENT.

◆ FromIndex() [10/32]

AC_API_EXPORT InventoryResult EnumUtils< InventoryResult >::FromIndex ( std::size_t  index)
131{
132 switch (index)
133 {
134 case 0: return EQUIP_ERR_OK;
135 case 1: return EQUIP_ERR_CANT_EQUIP_LEVEL_I;
136 case 2: return EQUIP_ERR_CANT_EQUIP_SKILL;
138 case 4: return EQUIP_ERR_BAG_FULL;
140 case 6: return EQUIP_ERR_CANT_TRADE_EQUIP_BAGS;
141 case 7: return EQUIP_ERR_ONLY_AMMO_CAN_GO_HERE;
148 case 14: return EQUIP_ERR_CANT_DUAL_WIELD;
149 case 15: return EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG;
151 case 17: return EQUIP_ERR_CANT_CARRY_MORE_OF_THIS;
153 case 19: return EQUIP_ERR_ITEM_CANT_STACK;
154 case 20: return EQUIP_ERR_ITEM_CANT_BE_EQUIPPED;
155 case 21: return EQUIP_ERR_ITEMS_CANT_BE_SWAPPED;
156 case 22: return EQUIP_ERR_SLOT_IS_EMPTY;
157 case 23: return EQUIP_ERR_ITEM_NOT_FOUND;
158 case 24: return EQUIP_ERR_CANT_DROP_SOULBOUND;
159 case 25: return EQUIP_ERR_OUT_OF_RANGE;
161 case 27: return EQUIP_ERR_COULDNT_SPLIT_ITEMS;
162 case 28: return EQUIP_ERR_MISSING_REAGENT;
163 case 29: return EQUIP_ERR_NOT_ENOUGH_MONEY;
164 case 30: return EQUIP_ERR_NOT_A_BAG;
166 case 32: return EQUIP_ERR_DONT_OWN_THAT_ITEM;
167 case 33: return EQUIP_ERR_CAN_EQUIP_ONLY1_QUIVER;
169 case 35: return EQUIP_ERR_TOO_FAR_AWAY_FROM_BANK;
170 case 36: return EQUIP_ERR_ITEM_LOCKED;
171 case 37: return EQUIP_ERR_YOU_ARE_STUNNED;
172 case 38: return EQUIP_ERR_YOU_ARE_DEAD;
173 case 39: return EQUIP_ERR_CANT_DO_RIGHT_NOW;
174 case 40: return EQUIP_ERR_INT_BAG_ERROR;
175 case 41: return EQUIP_ERR_CAN_EQUIP_ONLY1_BOLT;
179 case 45: return EQUIP_ERR_WRAPPED_CANT_BE_WRAPPED;
180 case 46: return EQUIP_ERR_BOUND_CANT_BE_WRAPPED;
181 case 47: return EQUIP_ERR_UNIQUE_CANT_BE_WRAPPED;
182 case 48: return EQUIP_ERR_BAGS_CANT_BE_WRAPPED;
183 case 49: return EQUIP_ERR_ALREADY_LOOTED;
184 case 50: return EQUIP_ERR_INVENTORY_FULL;
185 case 51: return EQUIP_ERR_BANK_FULL;
187 case 53: return EQUIP_ERR_BAG_FULL3;
188 case 54: return EQUIP_ERR_ITEM_NOT_FOUND2;
189 case 55: return EQUIP_ERR_ITEM_CANT_STACK2;
190 case 56: return EQUIP_ERR_BAG_FULL4;
191 case 57: return EQUIP_ERR_ITEM_SOLD_OUT;
192 case 58: return EQUIP_ERR_OBJECT_IS_BUSY;
193 case 59: return EQUIP_ERR_NONE;
194 case 60: return EQUIP_ERR_NOT_IN_COMBAT;
195 case 61: return EQUIP_ERR_NOT_WHILE_DISARMED;
196 case 62: return EQUIP_ERR_BAG_FULL6;
197 case 63: return EQUIP_ERR_CANT_EQUIP_RANK;
198 case 64: return EQUIP_ERR_CANT_EQUIP_REPUTATION;
199 case 65: return EQUIP_ERR_TOO_MANY_SPECIAL_BAGS;
200 case 66: return EQUIP_ERR_LOOT_CANT_LOOT_THAT_NOW;
201 case 67: return EQUIP_ERR_ITEM_UNIQUE_EQUIPABLE;
202 case 68: return EQUIP_ERR_VENDOR_MISSING_TURNINS;
203 case 69: return EQUIP_ERR_NOT_ENOUGH_HONOR_POINTS;
204 case 70: return EQUIP_ERR_NOT_ENOUGH_ARENA_POINTS;
205 case 71: return EQUIP_ERR_ITEM_MAX_COUNT_SOCKETED;
206 case 72: return EQUIP_ERR_MAIL_BOUND_ITEM;
210 case 76: return EQUIP_ERR_TOO_MUCH_GOLD;
211 case 77: return EQUIP_ERR_NOT_DURING_ARENA_MATCH;
212 case 78: return EQUIP_ERR_CANNOT_TRADE_THAT;
219 case 85: return EQUIP_ERR_PURCHASE_LEVEL_TOO_LOW;
220 case 86: return EQUIP_ERR_CANT_EQUIP_NEED_TALENT;
222 default: throw std::out_of_range("index");
223 }
224}
@ EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_COUNT_EXCEEDED
Definition: Item.h:130
@ EQUIP_ERR_BAG_FULL
Definition: Item.h:51
@ EQUIP_ERR_CANT_EQUIP_RANK
Definition: Item.h:110
@ EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_EQUIPPED_EXCEEDED
Definition: Item.h:135
@ EQUIP_ERR_TOO_MUCH_GOLD
Definition: Item.h:123
@ EQUIP_ERR_CAN_EQUIP_ONLY1_AMMOPOUCH
Definition: Item.h:89
@ EQUIP_ERR_NO_SPLIT_WHILE_PROSPECTING
Definition: Item.h:120
@ EQUIP_ERR_MISSING_REAGENT
Definition: Item.h:75
@ EQUIP_ERR_NOT_A_BAG
Definition: Item.h:77
@ EQUIP_ERR_BAGS_CANT_BE_WRAPPED
Definition: Item.h:95
@ EQUIP_ERR_YOU_CAN_NEVER_USE_THAT_ITEM2
Definition: Item.h:58
@ EQUIP_ERR_CANT_TRADE_EQUIP_BAGS
Definition: Item.h:53
@ EQUIP_ERR_BAG_FULL4
Definition: Item.h:103
@ EQUIP_ERR_MAIL_BOUND_ITEM
Definition: Item.h:119
@ EQUIP_ERR_CANNOT_TRADE_THAT
Definition: Item.h:125
@ EQUIP_ERR_ALREADY_LOOTED
Definition: Item.h:96
@ EQUIP_ERR_STACKABLE_CANT_BE_WRAPPED
Definition: Item.h:90
@ EQUIP_ERR_CANT_DUAL_WIELD
Definition: Item.h:61
@ EQUIP_ERR_ITEM_UNIQUE_EQUIPABLE
Definition: Item.h:114
@ EQUIP_ERR_ITEM_MAX_COUNT_EQUIPPED_SOCKETED
Definition: Item.h:121
@ EQUIP_ERR_DONT_OWN_THAT_ITEM
Definition: Item.h:79
@ EQUIP_ERR_ITEM_CANT_BE_EQUIPPED
Definition: Item.h:67
@ EQUIP_ERR_MUST_PURCHASE_THAT_BAG_SLOT
Definition: Item.h:81
@ EQUIP_ERR_CAN_ONLY_DO_WITH_EMPTY_BAGS
Definition: Item.h:78
@ EQUIP_ERR_NOT_ENOUGH_HONOR_POINTS
Definition: Item.h:116
@ EQUIP_ERR_UNIQUE_CANT_BE_WRAPPED
Definition: Item.h:94
@ EQUIP_ERR_CAN_EQUIP_ONLY1_BOLT
Definition: Item.h:88
@ EQUIP_ERR_ITEM_MAX_COUNT_SOCKETED
Definition: Item.h:118
@ EQUIP_ERR_NO_EQUIPMENT_SLOT_AVAILABLE
Definition: Item.h:56
@ EQUIP_ERR_NOT_DURING_ARENA_MATCH
Definition: Item.h:124
@ EQUIP_ERR_OUT_OF_RANGE
Definition: Item.h:72
@ EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_SOCKETED_EXCEEDED
Definition: Item.h:131
@ EQUIP_ERR_ITEM_CANT_STACK2
Definition: Item.h:102
@ EQUIP_ERR_NONEMPTY_BAG_OVER_OTHER_BAG
Definition: Item.h:52
@ EQUIP_ERR_ITEM_SOLD_OUT
Definition: Item.h:104
@ EQUIP_ERR_BANK_FULL
Definition: Item.h:98
@ EQUIP_ERR_NOT_IN_COMBAT
Definition: Item.h:107
@ EQUIP_ERR_COULDNT_SPLIT_ITEMS
Definition: Item.h:74
@ EQUIP_ERR_ITEM_LOCKED
Definition: Item.h:83
@ EQUIP_ERR_OBJECT_IS_BUSY
Definition: Item.h:105
@ EQUIP_ERR_CANT_EQUIP_LEVEL_I
Definition: Item.h:48
@ EQUIP_ERR_WRAPPED_CANT_BE_WRAPPED
Definition: Item.h:92
@ EQUIP_ERR_CANT_EQUIP_WITH_TWOHANDED
Definition: Item.h:60
@ EQUIP_ERR_EVENT_AUTOEQUIP_BIND_CONFIRM
Definition: Item.h:127
@ EQUIP_ERR_CANT_EQUIP_NEED_TALENT
Definition: Item.h:134
@ EQUIP_ERR_CANT_DROP_SOULBOUND
Definition: Item.h:71
@ EQUIP_ERR_NO_EQUIPMENT_SLOT_AVAILABLE2
Definition: Item.h:59
@ EQUIP_ERR_NOT_WHILE_DISARMED
Definition: Item.h:108
@ EQUIP_ERR_PURCHASE_LEVEL_TOO_LOW
Definition: Item.h:133
@ EQUIP_ERR_YOU_ARE_DEAD
Definition: Item.h:85
@ EQUIP_ERR_BAG_FULL3
Definition: Item.h:100
@ EQUIP_ERR_ITEM_NOT_FOUND
Definition: Item.h:70
@ EQUIP_ERR_CANT_DO_RIGHT_NOW
Definition: Item.h:86
@ EQUIP_ERR_CANT_EQUIP_REPUTATION
Definition: Item.h:111
@ EQUIP_ERR_OK
Definition: Item.h:47
@ EQUIP_ERR_ONLY_AMMO_CAN_GO_HERE
Definition: Item.h:54
@ EQUIP_ERR_CAN_EQUIP_ONLY1_QUIVER
Definition: Item.h:80
@ EQUIP_ERR_TOO_FAR_AWAY_FROM_BANK
Definition: Item.h:82
@ EQUIP_ERR_YOU_ARE_STUNNED
Definition: Item.h:84
@ EQUIP_ERR_CANT_EQUIP_SKILL
Definition: Item.h:49
@ EQUIP_ERR_ITEM_IS_CURRENTLY_SOLD_OUT
Definition: Item.h:99
@ EQUIP_ERR_ITEM_DOESNT_GO_TO_SLOT
Definition: Item.h:50
@ EQUIP_ERR_NOT_ENOUGH_MONEY
Definition: Item.h:76
@ EQUIP_ERR_ITEM_UNIQUE_EQUIPPABLE_SOCKETED
Definition: Item.h:122
@ EQUIP_ERR_TRIED_TO_SPLIT_MORE_THAN_COUNT
Definition: Item.h:73
@ EQUIP_ERR_NO_REQUIRED_PROFICIENCY
Definition: Item.h:55
@ EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG
Definition: Item.h:62
@ EQUIP_ERR_VENDOR_MISSING_TURNINS
Definition: Item.h:115
@ EQUIP_ERR_ITEM_CANT_STACK
Definition: Item.h:66
@ EQUIP_ERR_CANT_CARRY_MORE_OF_THIS
Definition: Item.h:64
@ EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG2
Definition: Item.h:63
@ EQUIP_ERR_BOUND_CANT_BE_WRAPPED
Definition: Item.h:93
@ EQUIP_ERR_ITEM_NOT_FOUND2
Definition: Item.h:101
@ EQUIP_ERR_LOOT_CANT_LOOT_THAT_NOW
Definition: Item.h:113
@ EQUIP_ERR_ITEMS_CANT_BE_SWAPPED
Definition: Item.h:68
@ EQUIP_ERR_BAG_FULL6
Definition: Item.h:109
@ EQUIP_ERR_NONE
Definition: Item.h:106
@ EQUIP_ERR_ARTEFACTS_ONLY_FOR_OWN_CHARACTERS
Definition: Item.h:128
@ EQUIP_ERR_TOO_MANY_SPECIAL_BAGS
Definition: Item.h:112
@ EQUIP_ERR_INVENTORY_FULL
Definition: Item.h:97
@ EQUIP_ERR_EQUIPPED_CANT_BE_WRAPPED
Definition: Item.h:91
@ EQUIP_ERR_SCALING_STAT_ITEM_LEVEL_EXCEEDED
Definition: Item.h:132
@ EQUIP_ERR_PERSONAL_ARENA_RATING_TOO_LOW
Definition: Item.h:126
@ EQUIP_ERR_SLOT_IS_EMPTY
Definition: Item.h:69
@ EQUIP_ERR_INT_BAG_ERROR
Definition: Item.h:87
@ EQUIP_ERR_YOU_CAN_NEVER_USE_THAT_ITEM
Definition: Item.h:57
@ EQUIP_ERR_NO_EQUIPMENT_SLOT_AVAILABLE3
Definition: Item.h:65
@ EQUIP_ERR_NOT_ENOUGH_ARENA_POINTS
Definition: Item.h:117

References EQUIP_ERR_ALREADY_LOOTED, EQUIP_ERR_ARTEFACTS_ONLY_FOR_OWN_CHARACTERS, EQUIP_ERR_BAG_FULL, EQUIP_ERR_BAG_FULL3, EQUIP_ERR_BAG_FULL4, EQUIP_ERR_BAG_FULL6, EQUIP_ERR_BAGS_CANT_BE_WRAPPED, EQUIP_ERR_BANK_FULL, EQUIP_ERR_BOUND_CANT_BE_WRAPPED, EQUIP_ERR_CAN_EQUIP_ONLY1_AMMOPOUCH, EQUIP_ERR_CAN_EQUIP_ONLY1_BOLT, EQUIP_ERR_CAN_EQUIP_ONLY1_QUIVER, EQUIP_ERR_CAN_ONLY_DO_WITH_EMPTY_BAGS, EQUIP_ERR_CANNOT_TRADE_THAT, EQUIP_ERR_CANT_CARRY_MORE_OF_THIS, EQUIP_ERR_CANT_DO_RIGHT_NOW, EQUIP_ERR_CANT_DROP_SOULBOUND, EQUIP_ERR_CANT_DUAL_WIELD, EQUIP_ERR_CANT_EQUIP_LEVEL_I, EQUIP_ERR_CANT_EQUIP_NEED_TALENT, EQUIP_ERR_CANT_EQUIP_RANK, EQUIP_ERR_CANT_EQUIP_REPUTATION, EQUIP_ERR_CANT_EQUIP_SKILL, EQUIP_ERR_CANT_EQUIP_WITH_TWOHANDED, EQUIP_ERR_CANT_TRADE_EQUIP_BAGS, EQUIP_ERR_COULDNT_SPLIT_ITEMS, EQUIP_ERR_DONT_OWN_THAT_ITEM, EQUIP_ERR_EQUIPPED_CANT_BE_WRAPPED, EQUIP_ERR_EVENT_AUTOEQUIP_BIND_CONFIRM, EQUIP_ERR_INT_BAG_ERROR, EQUIP_ERR_INVENTORY_FULL, EQUIP_ERR_ITEM_CANT_BE_EQUIPPED, EQUIP_ERR_ITEM_CANT_STACK, EQUIP_ERR_ITEM_CANT_STACK2, EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG, EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG2, EQUIP_ERR_ITEM_DOESNT_GO_TO_SLOT, EQUIP_ERR_ITEM_IS_CURRENTLY_SOLD_OUT, EQUIP_ERR_ITEM_LOCKED, EQUIP_ERR_ITEM_MAX_COUNT_EQUIPPED_SOCKETED, EQUIP_ERR_ITEM_MAX_COUNT_SOCKETED, EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_COUNT_EXCEEDED, EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_EQUIPPED_EXCEEDED, EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_SOCKETED_EXCEEDED, EQUIP_ERR_ITEM_NOT_FOUND, EQUIP_ERR_ITEM_NOT_FOUND2, EQUIP_ERR_ITEM_SOLD_OUT, EQUIP_ERR_ITEM_UNIQUE_EQUIPABLE, EQUIP_ERR_ITEM_UNIQUE_EQUIPPABLE_SOCKETED, EQUIP_ERR_ITEMS_CANT_BE_SWAPPED, EQUIP_ERR_LOOT_CANT_LOOT_THAT_NOW, EQUIP_ERR_MAIL_BOUND_ITEM, EQUIP_ERR_MISSING_REAGENT, EQUIP_ERR_MUST_PURCHASE_THAT_BAG_SLOT, EQUIP_ERR_NO_EQUIPMENT_SLOT_AVAILABLE, EQUIP_ERR_NO_EQUIPMENT_SLOT_AVAILABLE2, EQUIP_ERR_NO_EQUIPMENT_SLOT_AVAILABLE3, EQUIP_ERR_NO_REQUIRED_PROFICIENCY, EQUIP_ERR_NO_SPLIT_WHILE_PROSPECTING, EQUIP_ERR_NONE, EQUIP_ERR_NONEMPTY_BAG_OVER_OTHER_BAG, EQUIP_ERR_NOT_A_BAG, EQUIP_ERR_NOT_DURING_ARENA_MATCH, EQUIP_ERR_NOT_ENOUGH_ARENA_POINTS, EQUIP_ERR_NOT_ENOUGH_HONOR_POINTS, EQUIP_ERR_NOT_ENOUGH_MONEY, EQUIP_ERR_NOT_IN_COMBAT, EQUIP_ERR_NOT_WHILE_DISARMED, EQUIP_ERR_OBJECT_IS_BUSY, EQUIP_ERR_OK, EQUIP_ERR_ONLY_AMMO_CAN_GO_HERE, EQUIP_ERR_OUT_OF_RANGE, EQUIP_ERR_PERSONAL_ARENA_RATING_TOO_LOW, EQUIP_ERR_PURCHASE_LEVEL_TOO_LOW, EQUIP_ERR_SCALING_STAT_ITEM_LEVEL_EXCEEDED, EQUIP_ERR_SLOT_IS_EMPTY, EQUIP_ERR_STACKABLE_CANT_BE_WRAPPED, EQUIP_ERR_TOO_FAR_AWAY_FROM_BANK, EQUIP_ERR_TOO_MANY_SPECIAL_BAGS, EQUIP_ERR_TOO_MUCH_GOLD, EQUIP_ERR_TRIED_TO_SPLIT_MORE_THAN_COUNT, EQUIP_ERR_UNIQUE_CANT_BE_WRAPPED, EQUIP_ERR_VENDOR_MISSING_TURNINS, EQUIP_ERR_WRAPPED_CANT_BE_WRAPPED, EQUIP_ERR_YOU_ARE_DEAD, EQUIP_ERR_YOU_ARE_STUNNED, EQUIP_ERR_YOU_CAN_NEVER_USE_THAT_ITEM, and EQUIP_ERR_YOU_CAN_NEVER_USE_THAT_ITEM2.

◆ FromIndex() [11/32]

AC_API_EXPORT BuyResult EnumUtils< BuyResult >::FromIndex ( std::size_t  index)
349{
350 switch (index)
351 {
352 case 0: return BUY_ERR_CANT_FIND_ITEM;
353 case 1: return BUY_ERR_ITEM_ALREADY_SOLD;
354 case 2: return BUY_ERR_NOT_ENOUGHT_MONEY;
355 case 3: return BUY_ERR_SELLER_DONT_LIKE_YOU;
356 case 4: return BUY_ERR_DISTANCE_TOO_FAR;
357 case 5: return BUY_ERR_ITEM_SOLD_OUT;
358 case 6: return BUY_ERR_CANT_CARRY_MORE;
359 case 7: return BUY_ERR_RANK_REQUIRE;
360 case 8: return BUY_ERR_REPUTATION_REQUIRE;
361 default: throw std::out_of_range("index");
362 }
363}
@ BUY_ERR_RANK_REQUIRE
Definition: Item.h:148
@ BUY_ERR_SELLER_DONT_LIKE_YOU
Definition: Item.h:144
@ BUY_ERR_CANT_FIND_ITEM
Definition: Item.h:141
@ BUY_ERR_DISTANCE_TOO_FAR
Definition: Item.h:145
@ BUY_ERR_NOT_ENOUGHT_MONEY
Definition: Item.h:143
@ BUY_ERR_ITEM_SOLD_OUT
Definition: Item.h:146
@ BUY_ERR_REPUTATION_REQUIRE
Definition: Item.h:149
@ BUY_ERR_ITEM_ALREADY_SOLD
Definition: Item.h:142
@ BUY_ERR_CANT_CARRY_MORE
Definition: Item.h:147

References BUY_ERR_CANT_CARRY_MORE, BUY_ERR_CANT_FIND_ITEM, BUY_ERR_DISTANCE_TOO_FAR, BUY_ERR_ITEM_ALREADY_SOLD, BUY_ERR_ITEM_SOLD_OUT, BUY_ERR_NOT_ENOUGHT_MONEY, BUY_ERR_RANK_REQUIRE, BUY_ERR_REPUTATION_REQUIRE, and BUY_ERR_SELLER_DONT_LIKE_YOU.

◆ FromIndex() [12/32]

AC_API_EXPORT SellResult EnumUtils< SellResult >::FromIndex ( std::size_t  index)
409{
410 switch (index)
411 {
412 case 0: return SELL_ERR_CANT_FIND_ITEM;
413 case 1: return SELL_ERR_CANT_SELL_ITEM;
414 case 2: return SELL_ERR_CANT_FIND_VENDOR;
415 case 3: return SELL_ERR_YOU_DONT_OWN_THAT_ITEM;
416 case 4: return SELL_ERR_UNK;
417 case 5: return SELL_ERR_ONLY_EMPTY_BAG;
420 case 8: return SELL_INTERNAL_BAG_ERROR;
421 default: throw std::out_of_range("index");
422 }
423}
@ SELL_ERR_CANT_FIND_VENDOR
Definition: Item.h:157
@ SELL_ERR_UNK
Definition: Item.h:159
@ SELL_INTERNAL_BAG_ERROR
Definition: Item.h:163
@ SELL_ERR_CANT_SELL_TO_THIS_MERCHANT
Definition: Item.h:161
@ SELL_ERR_CANT_FIND_ITEM
Definition: Item.h:155
@ SELL_ERR_MUST_REPAIR_ITEM_DURABILITY_TO_USE
Definition: Item.h:162
@ SELL_ERR_CANT_SELL_ITEM
Definition: Item.h:156
@ SELL_ERR_YOU_DONT_OWN_THAT_ITEM
Definition: Item.h:158
@ SELL_ERR_ONLY_EMPTY_BAG
Definition: Item.h:160

References SELL_ERR_CANT_FIND_ITEM, SELL_ERR_CANT_FIND_VENDOR, SELL_ERR_CANT_SELL_ITEM, SELL_ERR_CANT_SELL_TO_THIS_MERCHANT, SELL_ERR_MUST_REPAIR_ITEM_DURABILITY_TO_USE, SELL_ERR_ONLY_EMPTY_BAG, SELL_ERR_UNK, SELL_ERR_YOU_DONT_OWN_THAT_ITEM, and SELL_INTERNAL_BAG_ERROR.

◆ FromIndex() [13/32]

AC_API_EXPORT UnitFlags EnumUtils< UnitFlags >::FromIndex ( std::size_t  index)
76{
77 switch (index)
78 {
79 case 0: return UNIT_FLAG_NONE;
80 case 1: return UNIT_FLAG_SERVER_CONTROLLED;
81 case 2: return UNIT_FLAG_NON_ATTACKABLE;
82 case 3: return UNIT_FLAG_DISABLE_MOVE;
83 case 4: return UNIT_FLAG_PLAYER_CONTROLLED;
84 case 5: return UNIT_FLAG_RENAME;
85 case 6: return UNIT_FLAG_PREPARATION;
86 case 7: return UNIT_FLAG_UNK_6;
87 case 8: return UNIT_FLAG_NOT_ATTACKABLE_1;
88 case 9: return UNIT_FLAG_IMMUNE_TO_PC;
89 case 10: return UNIT_FLAG_IMMUNE_TO_NPC;
90 case 11: return UNIT_FLAG_LOOTING;
91 case 12: return UNIT_FLAG_PET_IN_COMBAT;
92 case 13: return UNIT_FLAG_PVP;
93 case 14: return UNIT_FLAG_SILENCED;
94 case 15: return UNIT_FLAG_CANNOT_SWIM;
95 case 16: return UNIT_FLAG_SWIMMING;
96 case 17: return UNIT_FLAG_NON_ATTACKABLE_2;
97 case 18: return UNIT_FLAG_PACIFIED;
98 case 19: return UNIT_FLAG_STUNNED;
99 case 20: return UNIT_FLAG_IN_COMBAT;
100 case 21: return UNIT_FLAG_TAXI_FLIGHT;
101 case 22: return UNIT_FLAG_DISARMED;
102 case 23: return UNIT_FLAG_CONFUSED;
103 case 24: return UNIT_FLAG_FLEEING;
104 case 25: return UNIT_FLAG_POSSESSED;
105 case 26: return UNIT_FLAG_NOT_SELECTABLE;
106 case 27: return UNIT_FLAG_SKINNABLE;
107 case 28: return UNIT_FLAG_MOUNT;
108 case 29: return UNIT_FLAG_UNK_28;
110 case 31: return UNIT_FLAG_SHEATHE;
111 case 32: return UNIT_FLAG_IMMUNE;
112 default: throw std::out_of_range("index");
113 }
114}
@ UNIT_FLAG_TAXI_FLIGHT
Definition: UnitDefines.h:249
@ UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT
Definition: UnitDefines.h:258
@ UNIT_FLAG_STUNNED
Definition: UnitDefines.h:247
@ UNIT_FLAG_CANNOT_SWIM
Definition: UnitDefines.h:243
@ UNIT_FLAG_NON_ATTACKABLE
Definition: UnitDefines.h:230
@ UNIT_FLAG_UNK_6
Definition: UnitDefines.h:235
@ UNIT_FLAG_IN_COMBAT
Definition: UnitDefines.h:248
@ UNIT_FLAG_PREPARATION
Definition: UnitDefines.h:234
@ UNIT_FLAG_NON_ATTACKABLE_2
Definition: UnitDefines.h:245
@ UNIT_FLAG_IMMUNE_TO_NPC
Definition: UnitDefines.h:238
@ UNIT_FLAG_PVP
Definition: UnitDefines.h:241
@ UNIT_FLAG_POSSESSED
Definition: UnitDefines.h:253
@ UNIT_FLAG_IMMUNE
Definition: UnitDefines.h:260
@ UNIT_FLAG_NONE
Definition: UnitDefines.h:228
@ UNIT_FLAG_SERVER_CONTROLLED
Definition: UnitDefines.h:229
@ UNIT_FLAG_DISARMED
Definition: UnitDefines.h:250
@ UNIT_FLAG_PACIFIED
Definition: UnitDefines.h:246
@ UNIT_FLAG_SWIMMING
Definition: UnitDefines.h:244
@ UNIT_FLAG_CONFUSED
Definition: UnitDefines.h:251
@ UNIT_FLAG_DISABLE_MOVE
Definition: UnitDefines.h:231
@ UNIT_FLAG_FLEEING
Definition: UnitDefines.h:252
@ UNIT_FLAG_NOT_SELECTABLE
Definition: UnitDefines.h:254
@ UNIT_FLAG_RENAME
Definition: UnitDefines.h:233
@ UNIT_FLAG_LOOTING
Definition: UnitDefines.h:239
@ UNIT_FLAG_IMMUNE_TO_PC
Definition: UnitDefines.h:237
@ UNIT_FLAG_NOT_ATTACKABLE_1
Definition: UnitDefines.h:236
@ UNIT_FLAG_SILENCED
Definition: UnitDefines.h:242
@ UNIT_FLAG_PLAYER_CONTROLLED
Definition: UnitDefines.h:232
@ UNIT_FLAG_SKINNABLE
Definition: UnitDefines.h:255
@ UNIT_FLAG_MOUNT
Definition: UnitDefines.h:256
@ UNIT_FLAG_PET_IN_COMBAT
Definition: UnitDefines.h:240
@ UNIT_FLAG_UNK_28
Definition: UnitDefines.h:257
@ UNIT_FLAG_SHEATHE
Definition: UnitDefines.h:259

References UNIT_FLAG_CANNOT_SWIM, UNIT_FLAG_CONFUSED, UNIT_FLAG_DISABLE_MOVE, UNIT_FLAG_DISARMED, UNIT_FLAG_FLEEING, UNIT_FLAG_IMMUNE, UNIT_FLAG_IMMUNE_TO_NPC, UNIT_FLAG_IMMUNE_TO_PC, UNIT_FLAG_IN_COMBAT, UNIT_FLAG_LOOTING, UNIT_FLAG_MOUNT, UNIT_FLAG_NON_ATTACKABLE, UNIT_FLAG_NON_ATTACKABLE_2, UNIT_FLAG_NONE, UNIT_FLAG_NOT_ATTACKABLE_1, UNIT_FLAG_NOT_SELECTABLE, UNIT_FLAG_PACIFIED, UNIT_FLAG_PET_IN_COMBAT, UNIT_FLAG_PLAYER_CONTROLLED, UNIT_FLAG_POSSESSED, UNIT_FLAG_PREPARATION, UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT, UNIT_FLAG_PVP, UNIT_FLAG_RENAME, UNIT_FLAG_SERVER_CONTROLLED, UNIT_FLAG_SHEATHE, UNIT_FLAG_SILENCED, UNIT_FLAG_SKINNABLE, UNIT_FLAG_STUNNED, UNIT_FLAG_SWIMMING, UNIT_FLAG_TAXI_FLIGHT, UNIT_FLAG_UNK_28, and UNIT_FLAG_UNK_6.

◆ FromIndex() [14/32]

AC_API_EXPORT NPCFlags EnumUtils< NPCFlags >::FromIndex ( std::size_t  index)
203{
204 switch (index)
205 {
206 case 0: return UNIT_NPC_FLAG_GOSSIP;
207 case 1: return UNIT_NPC_FLAG_QUESTGIVER;
208 case 2: return UNIT_NPC_FLAG_UNK1;
209 case 3: return UNIT_NPC_FLAG_UNK2;
210 case 4: return UNIT_NPC_FLAG_TRAINER;
211 case 5: return UNIT_NPC_FLAG_TRAINER_CLASS;
213 case 7: return UNIT_NPC_FLAG_VENDOR;
214 case 8: return UNIT_NPC_FLAG_VENDOR_AMMO;
215 case 9: return UNIT_NPC_FLAG_VENDOR_FOOD;
216 case 10: return UNIT_NPC_FLAG_VENDOR_POISON;
217 case 11: return UNIT_NPC_FLAG_VENDOR_REAGENT;
218 case 12: return UNIT_NPC_FLAG_REPAIR;
219 case 13: return UNIT_NPC_FLAG_FLIGHTMASTER;
220 case 14: return UNIT_NPC_FLAG_SPIRITHEALER;
221 case 15: return UNIT_NPC_FLAG_SPIRITGUIDE;
222 case 16: return UNIT_NPC_FLAG_INNKEEPER;
223 case 17: return UNIT_NPC_FLAG_BANKER;
224 case 18: return UNIT_NPC_FLAG_PETITIONER;
225 case 19: return UNIT_NPC_FLAG_TABARDDESIGNER;
226 case 20: return UNIT_NPC_FLAG_BATTLEMASTER;
227 case 21: return UNIT_NPC_FLAG_AUCTIONEER;
228 case 22: return UNIT_NPC_FLAG_STABLEMASTER;
229 case 23: return UNIT_NPC_FLAG_GUILD_BANKER;
230 case 24: return UNIT_NPC_FLAG_SPELLCLICK;
231 case 25: return UNIT_NPC_FLAG_PLAYER_VEHICLE;
232 case 26: return UNIT_NPC_FLAG_MAILBOX;
233 case 27: return UNIT_NPC_FLAG_VENDOR_MASK;
234 default: throw std::out_of_range("index");
235 }
236}
@ UNIT_NPC_FLAG_VENDOR_AMMO
Definition: UnitDefines.h:302
@ UNIT_NPC_FLAG_TABARDDESIGNER
Definition: UnitDefines.h:313
@ UNIT_NPC_FLAG_BANKER
Definition: UnitDefines.h:311
@ UNIT_NPC_FLAG_AUCTIONEER
Definition: UnitDefines.h:315
@ UNIT_NPC_FLAG_UNK2
Definition: UnitDefines.h:297
@ UNIT_NPC_FLAG_VENDOR_POISON
Definition: UnitDefines.h:304
@ UNIT_NPC_FLAG_GUILD_BANKER
Definition: UnitDefines.h:317
@ UNIT_NPC_FLAG_VENDOR
Definition: UnitDefines.h:301
@ UNIT_NPC_FLAG_STABLEMASTER
Definition: UnitDefines.h:316
@ UNIT_NPC_FLAG_VENDOR_REAGENT
Definition: UnitDefines.h:305
@ UNIT_NPC_FLAG_GOSSIP
Definition: UnitDefines.h:294
@ UNIT_NPC_FLAG_BATTLEMASTER
Definition: UnitDefines.h:314
@ UNIT_NPC_FLAG_VENDOR_FOOD
Definition: UnitDefines.h:303
@ UNIT_NPC_FLAG_QUESTGIVER
Definition: UnitDefines.h:295
@ UNIT_NPC_FLAG_INNKEEPER
Definition: UnitDefines.h:310
@ UNIT_NPC_FLAG_SPELLCLICK
Definition: UnitDefines.h:318
@ UNIT_NPC_FLAG_UNK1
Definition: UnitDefines.h:296
@ UNIT_NPC_FLAG_VENDOR_MASK
Definition: UnitDefines.h:322
@ UNIT_NPC_FLAG_MAILBOX
Definition: UnitDefines.h:320
@ UNIT_NPC_FLAG_PLAYER_VEHICLE
Definition: UnitDefines.h:319
@ UNIT_NPC_FLAG_FLIGHTMASTER
Definition: UnitDefines.h:307
@ UNIT_NPC_FLAG_TRAINER_CLASS
Definition: UnitDefines.h:299
@ UNIT_NPC_FLAG_TRAINER_PROFESSION
Definition: UnitDefines.h:300
@ UNIT_NPC_FLAG_REPAIR
Definition: UnitDefines.h:306
@ UNIT_NPC_FLAG_TRAINER
Definition: UnitDefines.h:298
@ UNIT_NPC_FLAG_PETITIONER
Definition: UnitDefines.h:312
@ UNIT_NPC_FLAG_SPIRITGUIDE
Definition: UnitDefines.h:309
@ UNIT_NPC_FLAG_SPIRITHEALER
Definition: UnitDefines.h:308

References UNIT_NPC_FLAG_AUCTIONEER, UNIT_NPC_FLAG_BANKER, UNIT_NPC_FLAG_BATTLEMASTER, UNIT_NPC_FLAG_FLIGHTMASTER, UNIT_NPC_FLAG_GOSSIP, UNIT_NPC_FLAG_GUILD_BANKER, UNIT_NPC_FLAG_INNKEEPER, UNIT_NPC_FLAG_MAILBOX, UNIT_NPC_FLAG_PETITIONER, UNIT_NPC_FLAG_PLAYER_VEHICLE, UNIT_NPC_FLAG_QUESTGIVER, UNIT_NPC_FLAG_REPAIR, UNIT_NPC_FLAG_SPELLCLICK, UNIT_NPC_FLAG_SPIRITGUIDE, UNIT_NPC_FLAG_SPIRITHEALER, UNIT_NPC_FLAG_STABLEMASTER, UNIT_NPC_FLAG_TABARDDESIGNER, UNIT_NPC_FLAG_TRAINER, UNIT_NPC_FLAG_TRAINER_CLASS, UNIT_NPC_FLAG_TRAINER_PROFESSION, UNIT_NPC_FLAG_UNK1, UNIT_NPC_FLAG_UNK2, UNIT_NPC_FLAG_VENDOR, UNIT_NPC_FLAG_VENDOR_AMMO, UNIT_NPC_FLAG_VENDOR_FOOD, UNIT_NPC_FLAG_VENDOR_MASK, UNIT_NPC_FLAG_VENDOR_POISON, and UNIT_NPC_FLAG_VENDOR_REAGENT.

◆ FromIndex() [15/32]

AC_API_EXPORT QuestFailedReason EnumUtils< QuestFailedReason >::FromIndex ( std::size_t  index)
56{
57 switch (index)
58 {
59 case 0: return INVALIDREASON_DONT_HAVE_REQ;
64 case 5: return INVALIDREASON_QUEST_ALREADY_ON;
70 case 11: return INVALIDREASON_QUEST_FAILED_CAIS;
72 default: throw std::out_of_range("index");
73 }
74}
@ INVALIDREASON_DONT_HAVE_REQ
Definition: QuestDef.h:48
@ INVALIDREASON_QUEST_FAILED_CAIS
Definition: QuestDef.h:59
@ INVALIDREASON_QUEST_ALREADY_ON2
Definition: QuestDef.h:55
@ INVALIDREASON_QUEST_ALREADY_ON
Definition: QuestDef.h:53
@ INVALIDREASON_QUEST_FAILED_MISSING_ITEMS
Definition: QuestDef.h:56
@ INVALIDREASON_QUEST_FAILED_WRONG_RACE
Definition: QuestDef.h:50
@ INVALIDREASON_DAILY_QUEST_COMPLETED_TODAY
Definition: QuestDef.h:60
@ INVALIDREASON_QUEST_ALREADY_DONE
Definition: QuestDef.h:51
@ INVALIDREASON_QUEST_ONLY_ONE_TIMED
Definition: QuestDef.h:52
@ INVALIDREASON_QUEST_FAILED_NOT_ENOUGH_MONEY
Definition: QuestDef.h:57
@ INVALIDREASON_QUEST_FAILED_LOW_LEVEL
Definition: QuestDef.h:49
@ INVALIDREASON_DAILY_QUESTS_REMAINING
Definition: QuestDef.h:58
@ INVALIDREASON_QUEST_FAILED_EXPANSION
Definition: QuestDef.h:54

References INVALIDREASON_DAILY_QUEST_COMPLETED_TODAY, INVALIDREASON_DAILY_QUESTS_REMAINING, INVALIDREASON_DONT_HAVE_REQ, INVALIDREASON_QUEST_ALREADY_DONE, INVALIDREASON_QUEST_ALREADY_ON, INVALIDREASON_QUEST_ALREADY_ON2, INVALIDREASON_QUEST_FAILED_CAIS, INVALIDREASON_QUEST_FAILED_EXPANSION, INVALIDREASON_QUEST_FAILED_LOW_LEVEL, INVALIDREASON_QUEST_FAILED_MISSING_ITEMS, INVALIDREASON_QUEST_FAILED_NOT_ENOUGH_MONEY, INVALIDREASON_QUEST_FAILED_WRONG_RACE, and INVALIDREASON_QUEST_ONLY_ONE_TIMED.

◆ FromIndex() [16/32]

AC_API_EXPORT QuestShareMessages EnumUtils< QuestShareMessages >::FromIndex ( std::size_t  index)
126{
127 switch (index)
128 {
129 case 0: return QUEST_PARTY_MSG_SHARING_QUEST;
130 case 1: return QUEST_PARTY_MSG_CANT_TAKE_QUEST;
131 case 2: return QUEST_PARTY_MSG_ACCEPT_QUEST;
132 case 3: return QUEST_PARTY_MSG_DECLINE_QUEST;
133 case 4: return QUEST_PARTY_MSG_BUSY;
134 case 5: return QUEST_PARTY_MSG_LOG_FULL;
135 case 6: return QUEST_PARTY_MSG_HAVE_QUEST;
136 case 7: return QUEST_PARTY_MSG_FINISH_QUEST;
139 case 10: return QUEST_PARTY_MSG_NOT_IN_PARTY;
140 default: throw std::out_of_range("index");
141 }
142}
@ QUEST_PARTY_MSG_FINISH_QUEST
Definition: QuestDef.h:73
@ QUEST_PARTY_MSG_CANT_TAKE_QUEST
Definition: QuestDef.h:67
@ QUEST_PARTY_MSG_BUSY
Definition: QuestDef.h:70
@ QUEST_PARTY_MSG_ACCEPT_QUEST
Definition: QuestDef.h:68
@ QUEST_PARTY_MSG_HAVE_QUEST
Definition: QuestDef.h:72
@ QUEST_PARTY_MSG_SHARING_TIMER_EXPIRED
Definition: QuestDef.h:75
@ QUEST_PARTY_MSG_CANT_BE_SHARED_TODAY
Definition: QuestDef.h:74
@ QUEST_PARTY_MSG_SHARING_QUEST
Definition: QuestDef.h:66
@ QUEST_PARTY_MSG_LOG_FULL
Definition: QuestDef.h:71
@ QUEST_PARTY_MSG_NOT_IN_PARTY
Definition: QuestDef.h:76
@ QUEST_PARTY_MSG_DECLINE_QUEST
Definition: QuestDef.h:69

References QUEST_PARTY_MSG_ACCEPT_QUEST, QUEST_PARTY_MSG_BUSY, QUEST_PARTY_MSG_CANT_BE_SHARED_TODAY, QUEST_PARTY_MSG_CANT_TAKE_QUEST, QUEST_PARTY_MSG_DECLINE_QUEST, QUEST_PARTY_MSG_FINISH_QUEST, QUEST_PARTY_MSG_HAVE_QUEST, QUEST_PARTY_MSG_LOG_FULL, QUEST_PARTY_MSG_NOT_IN_PARTY, QUEST_PARTY_MSG_SHARING_QUEST, and QUEST_PARTY_MSG_SHARING_TIMER_EXPIRED.

◆ FromIndex() [17/32]

AC_API_EXPORT WardenActions EnumUtils< WardenActions >::FromIndex ( std::size_t  index)
46{
47 switch (index)
48 {
49 case 0: return WARDEN_ACTION_LOG;
50 case 1: return WARDEN_ACTION_KICK;
51 case 2: return WARDEN_ACTION_BAN;
52 default: throw std::out_of_range("index");
53 }
54}
@ WARDEN_ACTION_KICK
Definition: WardenCheckMgr.h:28
@ WARDEN_ACTION_BAN
Definition: WardenCheckMgr.h:29
@ WARDEN_ACTION_LOG
Definition: WardenCheckMgr.h:27

References WARDEN_ACTION_BAN, WARDEN_ACTION_KICK, and WARDEN_ACTION_LOG.

◆ FromIndex() [18/32]

AC_API_EXPORT Races EnumUtils< Races >::FromIndex ( std::size_t  index)
53{
54 switch (index)
55 {
56 case 0: return RACE_HUMAN;
57 case 1: return RACE_ORC;
58 case 2: return RACE_DWARF;
59 case 3: return RACE_NIGHTELF;
60 case 4: return RACE_UNDEAD_PLAYER;
61 case 5: return RACE_TAUREN;
62 case 6: return RACE_GNOME;
63 case 7: return RACE_TROLL;
64 case 8: return RACE_BLOODELF;
65 case 9: return RACE_DRAENEI;
66 default: throw std::out_of_range("index");
67 }
68}
@ RACE_TROLL
Definition: SharedDefines.h:78
@ RACE_UNDEAD_PLAYER
Definition: SharedDefines.h:75
@ RACE_ORC
Definition: SharedDefines.h:72
@ RACE_DRAENEI
Definition: SharedDefines.h:81
@ RACE_NIGHTELF
Definition: SharedDefines.h:74
@ RACE_BLOODELF
Definition: SharedDefines.h:80
@ RACE_DWARF
Definition: SharedDefines.h:73
@ RACE_GNOME
Definition: SharedDefines.h:77
@ RACE_HUMAN
Definition: SharedDefines.h:71
@ RACE_TAUREN
Definition: SharedDefines.h:76

References RACE_BLOODELF, RACE_DRAENEI, RACE_DWARF, RACE_GNOME, RACE_HUMAN, RACE_NIGHTELF, RACE_ORC, RACE_TAUREN, RACE_TROLL, and RACE_UNDEAD_PLAYER.

◆ FromIndex() [19/32]

AC_API_EXPORT Classes EnumUtils< Classes >::FromIndex ( std::size_t  index)
116{
117 switch (index)
118 {
119 case 0: return CLASS_WARRIOR;
120 case 1: return CLASS_PALADIN;
121 case 2: return CLASS_HUNTER;
122 case 3: return CLASS_ROGUE;
123 case 4: return CLASS_PRIEST;
124 case 5: return CLASS_DEATH_KNIGHT;
125 case 6: return CLASS_SHAMAN;
126 case 7: return CLASS_MAGE;
127 case 8: return CLASS_WARLOCK;
128 case 9: return CLASS_DRUID;
129 default: throw std::out_of_range("index");
130 }
131}
@ CLASS_HUNTER
Definition: SharedDefines.h:143
@ CLASS_DRUID
Definition: SharedDefines.h:151
@ CLASS_SHAMAN
Definition: SharedDefines.h:147
@ CLASS_PRIEST
Definition: SharedDefines.h:145
@ CLASS_WARRIOR
Definition: SharedDefines.h:141
@ CLASS_WARLOCK
Definition: SharedDefines.h:149
@ CLASS_MAGE
Definition: SharedDefines.h:148
@ CLASS_DEATH_KNIGHT
Definition: SharedDefines.h:146
@ CLASS_PALADIN
Definition: SharedDefines.h:142
@ CLASS_ROGUE
Definition: SharedDefines.h:144

References CLASS_DEATH_KNIGHT, CLASS_DRUID, CLASS_HUNTER, CLASS_MAGE, CLASS_PALADIN, CLASS_PRIEST, CLASS_ROGUE, CLASS_SHAMAN, CLASS_WARLOCK, and CLASS_WARRIOR.

◆ FromIndex() [20/32]

AC_API_EXPORT SpellAttr0 EnumUtils< SpellAttr0 >::FromIndex ( std::size_t  index)
201{
202 switch (index)
203 {
205 case 1: return SPELL_ATTR0_USES_RANGED_SLOT;
208 case 4: return SPELL_ATTR0_IS_ABILITY;
209 case 5: return SPELL_ATTR0_IS_TRADESKILL;
210 case 6: return SPELL_ATTR0_PASSIVE;
211 case 7: return SPELL_ATTR0_DO_NOT_DISPLAY;
212 case 8: return SPELL_ATTR0_DO_NOT_LOG;
213 case 9: return SPELL_ATTR0_HELD_ITEM_ONLY;
214 case 10: return SPELL_ATTR0_ON_NEXT_SWING;
216 case 12: return SPELL_ATTR0_SERVER_ONLY;
218 case 14: return SPELL_ATTR0_ONLY_INDOORS;
219 case 15: return SPELL_ATTR0_ONLY_OUTDOORS;
220 case 16: return SPELL_ATTR0_NOT_SHAPESHIFTED;
221 case 17: return SPELL_ATTR0_ONLY_STEALTHED;
222 case 18: return SPELL_ATTR0_DO_NOT_SHEATH;
225 case 21: return SPELL_ATTR0_NO_ACTIVE_DEFENSE;
227 case 23: return SPELL_ATTR0_ALLOW_CAST_WHILE_DEAD;
228 case 24: return SPELL_ATTR0_ALLOW_WHILE_MOUNTED;
229 case 25: return SPELL_ATTR0_COOLDOWN_ON_EVENT;
230 case 26: return SPELL_ATTR0_AURA_IS_DEBUFF;
231 case 27: return SPELL_ATTR0_ALLOW_WHILE_SITTING;
233 case 29: return SPELL_ATTR0_NO_IMMUNITIES;
234 case 30: return SPELL_ATTR0_HEARTBEAT_RESIST;
235 case 31: return SPELL_ATTR0_NO_AURA_CANCEL;
236 default: throw std::out_of_range("index");
237 }
238}
@ SPELL_ATTR0_ON_NEXT_SWING
Definition: SharedDefines.h:392
@ SPELL_ATTR0_ONLY_INDOORS
Definition: SharedDefines.h:396
@ SPELL_ATTR0_NO_ACTIVE_DEFENSE
Definition: SharedDefines.h:403
@ SPELL_ATTR0_IS_TRADESKILL
Definition: SharedDefines.h:387
@ SPELL_ATTR0_NOT_SHAPESHIFTED
Definition: SharedDefines.h:398
@ SPELL_ATTR0_ALLOW_ITEM_SPELL_IN_PVP
Definition: SharedDefines.h:395
@ SPELL_ATTR0_ALLOW_WHILE_SITTING
Definition: SharedDefines.h:409
@ SPELL_ATTR0_AURA_IS_DEBUFF
Definition: SharedDefines.h:408
@ SPELL_ATTR0_ONLY_OUTDOORS
Definition: SharedDefines.h:397
@ SPELL_ATTR0_ALLOW_WHILE_MOUNTED
Definition: SharedDefines.h:406
@ SPELL_ATTR0_PASSIVE
Definition: SharedDefines.h:388
@ SPELL_ATTR0_COOLDOWN_ON_EVENT
Definition: SharedDefines.h:407
@ SPELL_ATTR0_IS_ABILITY
Definition: SharedDefines.h:386
@ SPELL_ATTR0_DO_NOT_LOG_IMMUNE_MISSES
Definition: SharedDefines.h:385
@ SPELL_ATTR0_NO_IMMUNITIES
Definition: SharedDefines.h:411
@ SPELL_ATTR0_HELD_ITEM_ONLY
Definition: SharedDefines.h:391
@ SPELL_ATTR0_CANCELS_AUTO_ATTACK_COMBAT
Definition: SharedDefines.h:402
@ SPELL_ATTR0_DO_NOT_LOG
Definition: SharedDefines.h:390
@ SPELL_ATTR0_NO_AURA_CANCEL
Definition: SharedDefines.h:413
@ SPELL_ATTR0_WEARER_CASTS_PROC_TRIGGER
Definition: SharedDefines.h:393
@ SPELL_ATTR0_PROC_FAILURE_BURNS_CHARGE
Definition: SharedDefines.h:382
@ SPELL_ATTR0_TRACK_TARGET_IN_CAST_PLAYER_ONLY
Definition: SharedDefines.h:404
@ SPELL_ATTR0_SCALES_WITH_CREATURE_LEVEL
Definition: SharedDefines.h:401
@ SPELL_ATTR0_HEARTBEAT_RESIST
Definition: SharedDefines.h:412
@ SPELL_ATTR0_SERVER_ONLY
Definition: SharedDefines.h:394
@ SPELL_ATTR0_DO_NOT_DISPLAY
Definition: SharedDefines.h:389
@ SPELL_ATTR0_NOT_IN_COMBAT_ONLY_PEACEFUL
Definition: SharedDefines.h:410
@ SPELL_ATTR0_USES_RANGED_SLOT
Definition: SharedDefines.h:383
@ SPELL_ATTR0_ALLOW_CAST_WHILE_DEAD
Definition: SharedDefines.h:405
@ SPELL_ATTR0_ON_NEXT_SWING_NO_DAMAGE
Definition: SharedDefines.h:384
@ SPELL_ATTR0_ONLY_STEALTHED
Definition: SharedDefines.h:399
@ SPELL_ATTR0_DO_NOT_SHEATH
Definition: SharedDefines.h:400

References SPELL_ATTR0_ALLOW_CAST_WHILE_DEAD, SPELL_ATTR0_ALLOW_ITEM_SPELL_IN_PVP, SPELL_ATTR0_ALLOW_WHILE_MOUNTED, SPELL_ATTR0_ALLOW_WHILE_SITTING, SPELL_ATTR0_AURA_IS_DEBUFF, SPELL_ATTR0_CANCELS_AUTO_ATTACK_COMBAT, SPELL_ATTR0_COOLDOWN_ON_EVENT, SPELL_ATTR0_DO_NOT_DISPLAY, SPELL_ATTR0_DO_NOT_LOG, SPELL_ATTR0_DO_NOT_LOG_IMMUNE_MISSES, SPELL_ATTR0_DO_NOT_SHEATH, SPELL_ATTR0_HEARTBEAT_RESIST, SPELL_ATTR0_HELD_ITEM_ONLY, SPELL_ATTR0_IS_ABILITY, SPELL_ATTR0_IS_TRADESKILL, SPELL_ATTR0_NO_ACTIVE_DEFENSE, SPELL_ATTR0_NO_AURA_CANCEL, SPELL_ATTR0_NO_IMMUNITIES, SPELL_ATTR0_NOT_IN_COMBAT_ONLY_PEACEFUL, SPELL_ATTR0_NOT_SHAPESHIFTED, SPELL_ATTR0_ON_NEXT_SWING, SPELL_ATTR0_ON_NEXT_SWING_NO_DAMAGE, SPELL_ATTR0_ONLY_INDOORS, SPELL_ATTR0_ONLY_OUTDOORS, SPELL_ATTR0_ONLY_STEALTHED, SPELL_ATTR0_PASSIVE, SPELL_ATTR0_PROC_FAILURE_BURNS_CHARGE, SPELL_ATTR0_SCALES_WITH_CREATURE_LEVEL, SPELL_ATTR0_SERVER_ONLY, SPELL_ATTR0_TRACK_TARGET_IN_CAST_PLAYER_ONLY, SPELL_ATTR0_USES_RANGED_SLOT, and SPELL_ATTR0_WEARER_CASTS_PROC_TRIGGER.

◆ FromIndex() [21/32]

AC_API_EXPORT SpellAttr1 EnumUtils< SpellAttr1 >::FromIndex ( std::size_t  index)
330{
331 switch (index)
332 {
333 case 0: return SPELL_ATTR1_DISMISS_PET_FIRST;
334 case 1: return SPELL_ATTR1_USE_ALL_MANA;
335 case 2: return SPELL_ATTR1_IS_CHANNELED;
336 case 3: return SPELL_ATTR1_NO_REDIRECTION;
337 case 4: return SPELL_ATTR1_NO_SKILL_INCREASE;
339 case 6: return SPELL_ATTR1_IS_SELF_CHANNELED;
340 case 7: return SPELL_ATTR1_NO_REFLECTION;
342 case 9: return SPELL_ATTR1_INITIATE_COMBAT;
343 case 10: return SPELL_ATTR1_NO_THREAT;
344 case 11: return SPELL_ATTR1_AURA_UNIQUE;
346 case 13: return SPELL_ATTR1_TOGGLE_FAR_SIGHT;
350 case 17: return SPELL_ATTR1_NO_AUTOCAST_AI;
351 case 18: return SPELL_ATTR1_PREVENTS_ANIM;
352 case 19: return SPELL_ATTR1_EXCLUDE_CASTER;
353 case 20: return SPELL_ATTR1_FINISHING_MOVE_DAMAGE;
354 case 21: return SPELL_ATTR1_THREAT_ONLY_ON_MISS;
356 case 23: return SPELL_ATTR1_IGNORE_OWNERS_DEATH;
357 case 24: return SPELL_ATTR1_SPECIAL_SKILLUP;
359 case 26: return SPELL_ATTR1_REQUIRE_ALL_TARGETS;
361 case 28: return SPELL_ATTR1_NO_AURA_ICON;
362 case 29: return SPELL_ATTR1_NAME_IN_CHANNEL_BAR;
363 case 30: return SPELL_ATTR1_COMBO_ON_BLOCK;
364 case 31: return SPELL_ATTR1_CAST_WHEN_LEARNED;
365 default: throw std::out_of_range("index");
366 }
367}
@ SPELL_ATTR1_PREVENTS_ANIM
Definition: SharedDefines.h:437
@ SPELL_ATTR1_NO_THREAT
Definition: SharedDefines.h:429
@ SPELL_ATTR1_IGNORE_OWNERS_DEATH
Definition: SharedDefines.h:442
@ SPELL_ATTR1_REQUIRE_ALL_TARGETS
Definition: SharedDefines.h:445
@ SPELL_ATTR1_EXCLUDE_CASTER
Definition: SharedDefines.h:438
@ SPELL_ATTR1_SPECIAL_SKILLUP
Definition: SharedDefines.h:443
@ SPELL_ATTR1_IS_CHANNELED
Definition: SharedDefines.h:421
@ SPELL_ATTR1_CAST_WHEN_LEARNED
Definition: SharedDefines.h:450
@ SPELL_ATTR1_USE_ALL_MANA
Definition: SharedDefines.h:420
@ SPELL_ATTR1_ALLOW_WHILE_STEALTHED
Definition: SharedDefines.h:424
@ SPELL_ATTR1_NO_AURA_ICON
Definition: SharedDefines.h:447
@ SPELL_ATTR1_TOGGLE_FAR_SIGHT
Definition: SharedDefines.h:432
@ SPELL_ATTR1_IS_SELF_CHANNELED
Definition: SharedDefines.h:425
@ SPELL_ATTR1_AURA_STAYS_AFTER_COMBAT
Definition: SharedDefines.h:444
@ SPELL_ATTR1_TRACK_TARGET_IN_CHANNEL
Definition: SharedDefines.h:433
@ SPELL_ATTR1_FAILURE_BREAKS_STEALTH
Definition: SharedDefines.h:431
@ SPELL_ATTR1_NAME_IN_CHANNEL_BAR
Definition: SharedDefines.h:448
@ SPELL_ATTR1_AURA_UNIQUE
Definition: SharedDefines.h:430
@ SPELL_ATTR1_FINISHING_MOVE_DURATION
Definition: SharedDefines.h:441
@ SPELL_ATTR1_NO_AUTOCAST_AI
Definition: SharedDefines.h:436
@ SPELL_ATTR1_NO_SKILL_INCREASE
Definition: SharedDefines.h:423
@ SPELL_ATTR1_COMBO_ON_BLOCK
Definition: SharedDefines.h:449
@ SPELL_ATTR1_INITIATE_COMBAT
Definition: SharedDefines.h:428
@ SPELL_ATTR1_IMMUNITY_PURGES_EFFECT
Definition: SharedDefines.h:434
@ SPELL_ATTR1_NO_REFLECTION
Definition: SharedDefines.h:426
@ SPELL_ATTR1_FINISHING_MOVE_DAMAGE
Definition: SharedDefines.h:439
@ SPELL_ATTR1_THREAT_ONLY_ON_MISS
Definition: SharedDefines.h:440
@ SPELL_ATTR1_IMMUNITY_TO_HOSTILE_AND_FRIENDLY_EFFECTS
Definition: SharedDefines.h:435
@ SPELL_ATTR1_DISMISS_PET_FIRST
Definition: SharedDefines.h:419
@ SPELL_ATTR1_DISCOUNT_POWER_ON_MISS
Definition: SharedDefines.h:446
@ SPELL_ATTR1_ONLY_PEACEFUL_TARGETS
Definition: SharedDefines.h:427
@ SPELL_ATTR1_NO_REDIRECTION
Definition: SharedDefines.h:422

References SPELL_ATTR1_ALLOW_WHILE_STEALTHED, SPELL_ATTR1_AURA_STAYS_AFTER_COMBAT, SPELL_ATTR1_AURA_UNIQUE, SPELL_ATTR1_CAST_WHEN_LEARNED, SPELL_ATTR1_COMBO_ON_BLOCK, SPELL_ATTR1_DISCOUNT_POWER_ON_MISS, SPELL_ATTR1_DISMISS_PET_FIRST, SPELL_ATTR1_EXCLUDE_CASTER, SPELL_ATTR1_FAILURE_BREAKS_STEALTH, SPELL_ATTR1_FINISHING_MOVE_DAMAGE, SPELL_ATTR1_FINISHING_MOVE_DURATION, SPELL_ATTR1_IGNORE_OWNERS_DEATH, SPELL_ATTR1_IMMUNITY_PURGES_EFFECT, SPELL_ATTR1_IMMUNITY_TO_HOSTILE_AND_FRIENDLY_EFFECTS, SPELL_ATTR1_INITIATE_COMBAT, SPELL_ATTR1_IS_CHANNELED, SPELL_ATTR1_IS_SELF_CHANNELED, SPELL_ATTR1_NAME_IN_CHANNEL_BAR, SPELL_ATTR1_NO_AURA_ICON, SPELL_ATTR1_NO_AUTOCAST_AI, SPELL_ATTR1_NO_REDIRECTION, SPELL_ATTR1_NO_REFLECTION, SPELL_ATTR1_NO_SKILL_INCREASE, SPELL_ATTR1_NO_THREAT, SPELL_ATTR1_ONLY_PEACEFUL_TARGETS, SPELL_ATTR1_PREVENTS_ANIM, SPELL_ATTR1_REQUIRE_ALL_TARGETS, SPELL_ATTR1_SPECIAL_SKILLUP, SPELL_ATTR1_THREAT_ONLY_ON_MISS, SPELL_ATTR1_TOGGLE_FAR_SIGHT, SPELL_ATTR1_TRACK_TARGET_IN_CHANNEL, and SPELL_ATTR1_USE_ALL_MANA.

◆ FromIndex() [22/32]

AC_API_EXPORT SpellAttr2 EnumUtils< SpellAttr2 >::FromIndex ( std::size_t  index)
459{
460 switch (index)
461 {
462 case 0: return SPELL_ATTR2_ALLOW_DEAD_TARGET;
463 case 1: return SPELL_ATTR2_NO_SHAPESHIFT_UI;
466 case 4: return SPELL_ATTR2_USE_SHAPESHIFT_BAR;
467 case 5: return SPELL_ATTR2_AUTO_REPEAT;
471 case 9: return SPELL_ATTR2_ALWAYS_CAST_AS_UNIT;
472 case 10: return SPELL_ATTR2_SPECIAL_TAMING_FLAG;
474 case 12: return SPELL_ATTR2_CHAIN_FROM_CASTER;
475 case 13: return SPELL_ATTR2_ENCHANT_OWN_ITEM_ONLY;
476 case 14: return SPELL_ATTR2_ALLOW_WHILE_INVISIBLE;
478 case 16: return SPELL_ATTR2_NO_ACTIVE_PETS;
484 case 22: return SPELL_ATTR2_NO_INITIAL_THREAD;
487 case 25: return SPELL_ATTR2_DONT_BLOCK_MANA_REGEN;
488 case 26: return SPELL_ATTR2_NO_SCHOOL_IMMUNITIES;
489 case 27: return SPELL_ATTR2_IGNORE_WEAPONSKILL;
490 case 28: return SPELL_ATTR2_NOT_AN_ACTION;
491 case 29: return SPELL_ATTR2_CANT_CRIT;
492 case 30: return SPELL_ATTR2_ACTIVE_THREAT;
493 case 31: return SPELL_ATTR2_RETAIN_ITEM_CAST;
494 default: throw std::out_of_range("index");
495 }
496}
@ SPELL_ATTR2_AUTO_REPEAT
Definition: SharedDefines.h:461
@ SPELL_ATTR2_CHAIN_FROM_CASTER
Definition: SharedDefines.h:468
@ SPELL_ATTR2_DONT_BLOCK_MANA_REGEN
Definition: SharedDefines.h:481
@ SPELL_ATTR2_ITEM_CAST_WITH_OWNER_SKILL
Definition: SharedDefines.h:480
@ SPELL_ATTR2_SPECIAL_TAMING_FLAG
Definition: SharedDefines.h:466
@ SPELL_ATTR2_ALLOW_WHILE_INVISIBLE
Definition: SharedDefines.h:470
@ SPELL_ATTR2_CANT_CRIT
Definition: SharedDefines.h:485
@ SPELL_ATTR2_PROC_COOLDOWN_ON_FAILURE
Definition: SharedDefines.h:479
@ SPELL_ATTR2_NO_TARGET_PER_SECOND_COST
Definition: SharedDefines.h:467
@ SPELL_ATTR2_ENCHANT_OWN_ITEM_ONLY
Definition: SharedDefines.h:469
@ SPELL_ATTR2_CANNOT_CAST_ON_TAPPED
Definition: SharedDefines.h:462
@ SPELL_ATTR2_DO_NOT_REPORT_SPELL_FAILURE
Definition: SharedDefines.h:463
@ SPELL_ATTR2_USE_SHAPESHIFT_BAR
Definition: SharedDefines.h:460
@ SPELL_ATTR2_RETAIN_ITEM_CAST
Definition: SharedDefines.h:487
@ SPELL_ATTR2_DO_NOT_CONSUME_IF_GAINED_DURING_CAST
Definition: SharedDefines.h:471
@ SPELL_ATTR2_NO_SHAPESHIFT_UI
Definition: SharedDefines.h:457
@ SPELL_ATTR2_ALLOW_WHILE_NOT_SHAPESHIFTED
Definition: SharedDefines.h:475
@ SPELL_ATTR2_ACTIVE_THREAT
Definition: SharedDefines.h:486
@ SPELL_ATTR2_NOT_AN_ACTION
Definition: SharedDefines.h:484
@ SPELL_ATTR2_IGNORE_WEAPONSKILL
Definition: SharedDefines.h:483
@ SPELL_ATTR2_ALLOW_LOW_LEVEL_BUFF
Definition: SharedDefines.h:459
@ SPELL_ATTR2_NO_INITIAL_THREAD
Definition: SharedDefines.h:478
@ SPELL_ATTR2_INITIATE_COMBAT_POST_CAST
Definition: SharedDefines.h:476
@ SPELL_ATTR2_INCLUDE_IN_ADVANCED_COMBAT_LOG
Definition: SharedDefines.h:464
@ SPELL_ATTR2_ALWAYS_CAST_AS_UNIT
Definition: SharedDefines.h:465
@ SPELL_ATTR2_NO_JUMP_WHILE_CAST_PENDING
Definition: SharedDefines.h:474
@ SPELL_ATTR2_NO_ACTIVE_PETS
Definition: SharedDefines.h:472
@ SPELL_ATTR2_ALLOW_DEAD_TARGET
Definition: SharedDefines.h:456
@ SPELL_ATTR2_IGNORE_LINE_OF_SIGHT
Definition: SharedDefines.h:458
@ SPELL_ATTR2_FAIL_ON_ALL_TARGETS_IMMUNE
Definition: SharedDefines.h:477
@ SPELL_ATTR2_DO_NOT_RESET_COMBAT_TIMERS
Definition: SharedDefines.h:473
@ SPELL_ATTR2_NO_SCHOOL_IMMUNITIES
Definition: SharedDefines.h:482

References SPELL_ATTR2_ACTIVE_THREAT, SPELL_ATTR2_ALLOW_DEAD_TARGET, SPELL_ATTR2_ALLOW_LOW_LEVEL_BUFF, SPELL_ATTR2_ALLOW_WHILE_INVISIBLE, SPELL_ATTR2_ALLOW_WHILE_NOT_SHAPESHIFTED, SPELL_ATTR2_ALWAYS_CAST_AS_UNIT, SPELL_ATTR2_AUTO_REPEAT, SPELL_ATTR2_CANNOT_CAST_ON_TAPPED, SPELL_ATTR2_CANT_CRIT, SPELL_ATTR2_CHAIN_FROM_CASTER, SPELL_ATTR2_DO_NOT_CONSUME_IF_GAINED_DURING_CAST, SPELL_ATTR2_DO_NOT_REPORT_SPELL_FAILURE, SPELL_ATTR2_DO_NOT_RESET_COMBAT_TIMERS, SPELL_ATTR2_DONT_BLOCK_MANA_REGEN, SPELL_ATTR2_ENCHANT_OWN_ITEM_ONLY, SPELL_ATTR2_FAIL_ON_ALL_TARGETS_IMMUNE, SPELL_ATTR2_IGNORE_LINE_OF_SIGHT, SPELL_ATTR2_IGNORE_WEAPONSKILL, SPELL_ATTR2_INCLUDE_IN_ADVANCED_COMBAT_LOG, SPELL_ATTR2_INITIATE_COMBAT_POST_CAST, SPELL_ATTR2_ITEM_CAST_WITH_OWNER_SKILL, SPELL_ATTR2_NO_ACTIVE_PETS, SPELL_ATTR2_NO_INITIAL_THREAD, SPELL_ATTR2_NO_JUMP_WHILE_CAST_PENDING, SPELL_ATTR2_NO_SCHOOL_IMMUNITIES, SPELL_ATTR2_NO_SHAPESHIFT_UI, SPELL_ATTR2_NO_TARGET_PER_SECOND_COST, SPELL_ATTR2_NOT_AN_ACTION, SPELL_ATTR2_PROC_COOLDOWN_ON_FAILURE, SPELL_ATTR2_RETAIN_ITEM_CAST, SPELL_ATTR2_SPECIAL_TAMING_FLAG, and SPELL_ATTR2_USE_SHAPESHIFT_BAR.

◆ FromIndex() [23/32]

AC_API_EXPORT SpellAttr3 EnumUtils< SpellAttr3 >::FromIndex ( std::size_t  index)
588{
589 switch (index)
590 {
591 case 0: return SPELL_ATTR3_PVP_ENABLING;
593 case 2: return SPELL_ATTR3_NO_CASTING_BAR_TEXT;
594 case 3: return SPELL_ATTR3_COMPLETELY_BLOCKED;
595 case 4: return SPELL_ATTR3_NO_RES_TIMER;
596 case 5: return SPELL_ATTR3_NO_DURABILITY_LOSS;
597 case 6: return SPELL_ATTR3_NO_AVOIDANCE;
598 case 7: return SPELL_ATTR3_DOT_STACKING_RULE;
599 case 8: return SPELL_ATTR3_ONLY_ON_PLAYER;
600 case 9: return SPELL_ATTR3_NOT_A_PROC;
602 case 11: return SPELL_ATTR3_ONLY_BATTLEGROUNDS;
603 case 12: return SPELL_ATTR3_ONLY_ON_GHOSTS;
604 case 13: return SPELL_ATTR3_HIDE_CHANNEL_BAR;
605 case 14: return SPELL_ATTR3_HIDE_IN_RAID_FILTER;
606 case 15: return SPELL_ATTR3_NORMAL_RANGED_ATTACK;
607 case 16: return SPELL_ATTR3_SUPRESS_CASTER_PROCS;
608 case 17: return SPELL_ATTR3_SUPRESS_TARGET_PROCS;
609 case 18: return SPELL_ATTR3_ALWAYS_HIT;
610 case 19: return SPELL_ATTR3_INSTANT_TARGET_PROCS;
611 case 20: return SPELL_ATTR3_ALLOW_AURA_WHILE_DEAD;
612 case 21: return SPELL_ATTR3_ONLY_PROC_OUTDOORS;
614 case 23: return SPELL_ATTR3_NO_DAMAGE_HISTORY;
616 case 25: return SPELL_ATTR3_TREAT_AS_PERIODIC;
617 case 26: return SPELL_ATTR3_CAN_PROC_FROM_PROCS;
618 case 27: return SPELL_ATTR3_ONLY_PROC_ON_CASTER;
621 case 30: return SPELL_ATTR3_DO_NOT_DISPLAY_RANGE;
622 case 31: return SPELL_ATTR3_NOT_ON_AOE_IMMUNE;
623 default: throw std::out_of_range("index");
624 }
625}
@ SPELL_ATTR3_TREAT_AS_PERIODIC
Definition: SharedDefines.h:518
@ SPELL_ATTR3_ALLOW_AURA_WHILE_DEAD
Definition: SharedDefines.h:513
@ SPELL_ATTR3_NOT_A_PROC
Definition: SharedDefines.h:502
@ SPELL_ATTR3_NO_CASTING_BAR_TEXT
Definition: SharedDefines.h:495
@ SPELL_ATTR3_ONLY_BATTLEGROUNDS
Definition: SharedDefines.h:504
@ SPELL_ATTR3_DO_NOT_DISPLAY_RANGE
Definition: SharedDefines.h:523
@ SPELL_ATTR3_ONLY_PROC_ON_CASTER
Definition: SharedDefines.h:520
@ SPELL_ATTR3_IGNORE_CASTER_AND_TARGET_RESTRICTIONS
Definition: SharedDefines.h:521
@ SPELL_ATTR3_NO_DURABILITY_LOSS
Definition: SharedDefines.h:498
@ SPELL_ATTR3_ONLY_ON_GHOSTS
Definition: SharedDefines.h:505
@ SPELL_ATTR3_NO_RES_TIMER
Definition: SharedDefines.h:497
@ SPELL_ATTR3_NOT_ON_AOE_IMMUNE
Definition: SharedDefines.h:524
@ SPELL_ATTR3_ALWAYS_HIT
Definition: SharedDefines.h:511
@ SPELL_ATTR3_DOT_STACKING_RULE
Definition: SharedDefines.h:500
@ SPELL_ATTR3_NO_DAMAGE_HISTORY
Definition: SharedDefines.h:516
@ SPELL_ATTR3_NO_PROC_EQUIP_REQUIREMENT
Definition: SharedDefines.h:494
@ SPELL_ATTR3_HIDE_CHANNEL_BAR
Definition: SharedDefines.h:506
@ SPELL_ATTR3_NORMAL_RANGED_ATTACK
Definition: SharedDefines.h:508
@ SPELL_ATTR3_CAN_PROC_FROM_PROCS
Definition: SharedDefines.h:519
@ SPELL_ATTR3_PVP_ENABLING
Definition: SharedDefines.h:493
@ SPELL_ATTR3_REQUIRES_MAIN_HAND_WEAPON
Definition: SharedDefines.h:503
@ SPELL_ATTR3_INSTANT_TARGET_PROCS
Definition: SharedDefines.h:512
@ SPELL_ATTR3_ONLY_PROC_OUTDOORS
Definition: SharedDefines.h:514
@ SPELL_ATTR3_HIDE_IN_RAID_FILTER
Definition: SharedDefines.h:507
@ SPELL_ATTR3_SUPRESS_CASTER_PROCS
Definition: SharedDefines.h:509
@ SPELL_ATTR3_NO_AVOIDANCE
Definition: SharedDefines.h:499
@ SPELL_ATTR3_CASTING_CANCELS_AUTOREPEAT
Definition: SharedDefines.h:515
@ SPELL_ATTR3_REQUIRES_OFF_HAND_WEAPON
Definition: SharedDefines.h:517
@ SPELL_ATTR3_SUPRESS_TARGET_PROCS
Definition: SharedDefines.h:510
@ SPELL_ATTR3_COMPLETELY_BLOCKED
Definition: SharedDefines.h:496
@ SPELL_ATTR3_IGNORE_CASTER_MODIFIERS
Definition: SharedDefines.h:522
@ SPELL_ATTR3_ONLY_ON_PLAYER
Definition: SharedDefines.h:501

References SPELL_ATTR3_ALLOW_AURA_WHILE_DEAD, SPELL_ATTR3_ALWAYS_HIT, SPELL_ATTR3_CAN_PROC_FROM_PROCS, SPELL_ATTR3_CASTING_CANCELS_AUTOREPEAT, SPELL_ATTR3_COMPLETELY_BLOCKED, SPELL_ATTR3_DO_NOT_DISPLAY_RANGE, SPELL_ATTR3_DOT_STACKING_RULE, SPELL_ATTR3_HIDE_CHANNEL_BAR, SPELL_ATTR3_HIDE_IN_RAID_FILTER, SPELL_ATTR3_IGNORE_CASTER_AND_TARGET_RESTRICTIONS, SPELL_ATTR3_IGNORE_CASTER_MODIFIERS, SPELL_ATTR3_INSTANT_TARGET_PROCS, SPELL_ATTR3_NO_AVOIDANCE, SPELL_ATTR3_NO_CASTING_BAR_TEXT, SPELL_ATTR3_NO_DAMAGE_HISTORY, SPELL_ATTR3_NO_DURABILITY_LOSS, SPELL_ATTR3_NO_PROC_EQUIP_REQUIREMENT, SPELL_ATTR3_NO_RES_TIMER, SPELL_ATTR3_NORMAL_RANGED_ATTACK, SPELL_ATTR3_NOT_A_PROC, SPELL_ATTR3_NOT_ON_AOE_IMMUNE, SPELL_ATTR3_ONLY_BATTLEGROUNDS, SPELL_ATTR3_ONLY_ON_GHOSTS, SPELL_ATTR3_ONLY_ON_PLAYER, SPELL_ATTR3_ONLY_PROC_ON_CASTER, SPELL_ATTR3_ONLY_PROC_OUTDOORS, SPELL_ATTR3_PVP_ENABLING, SPELL_ATTR3_REQUIRES_MAIN_HAND_WEAPON, SPELL_ATTR3_REQUIRES_OFF_HAND_WEAPON, SPELL_ATTR3_SUPRESS_CASTER_PROCS, SPELL_ATTR3_SUPRESS_TARGET_PROCS, and SPELL_ATTR3_TREAT_AS_PERIODIC.

◆ FromIndex() [24/32]

AC_API_EXPORT SpellAttr4 EnumUtils< SpellAttr4 >::FromIndex ( std::size_t  index)
717{
718 switch (index)
719 {
720 case 0: return SPELL_ATTR4_NO_CAST_LOG;
723 case 3: return SPELL_ATTR4_NO_HELPFUL_THREAT;
724 case 4: return SPELL_ATTR4_NO_HARMFUL_THREAT;
726 case 6: return SPELL_ATTR4_CANNOT_BE_STOLEN;
731 case 11: return SPELL_ATTR4_NO_PARTIAL_IMMUNITY;
732 case 12: return SPELL_ATTR4_AURA_IS_BUFF;
733 case 13: return SPELL_ATTR4_DO_NOT_LOG_CASTER;
734 case 14: return SPELL_ATTR4_REACTIVE_DAMAGE_PROC;
735 case 15: return SPELL_ATTR4_NOT_IN_SPELLBOOK;
738 case 18: return SPELL_ATTR4_BOUNCY_CHAIN_MISSILES;
740 case 20: return SPELL_ATTR4_AURA_NEVER_BOUNCES;
741 case 21: return SPELL_ATTR4_ALLOW_ENETRING_ARENA;
743 case 23: return SPELL_ATTR4_SUPRESS_WEAPON_PROCS;
744 case 24: return SPELL_ATTR4_AUTO_RANGED_COMBAT;
745 case 25: return SPELL_ATTR4_OWNER_POWER_SCALING;
746 case 26: return SPELL_ATTR4_ONLY_FLYING_AREAS;
747 case 27: return SPELL_ATTR4_FORCE_DISPLAY_CASTBAR;
748 case 28: return SPELL_ATTR4_IGNORE_COMBAT_TIMERS;
750 case 30: return SPELL_ATTR4_OBSOLETE;
751 case 31: return SPELL_ATTR4_USE_FACING_FROM_SPELL;
752 default: throw std::out_of_range("index");
753 }
754}
@ SPELL_ATTR4_ONLY_FLYING_AREAS
Definition: SharedDefines.h:556
@ SPELL_ATTR4_BOUNCY_CHAIN_MISSILES
Definition: SharedDefines.h:548
@ SPELL_ATTR4_AURA_EXPIRES_OFFLINE
Definition: SharedDefines.h:532
@ SPELL_ATTR4_FORCE_DISPLAY_CASTBAR
Definition: SharedDefines.h:557
@ SPELL_ATTR4_ALLOW_CLIENT_TARGETING
Definition: SharedDefines.h:535
@ SPELL_ATTR4_IGNORE_DEFAULT_ARENA_RESTRICTIONS
Definition: SharedDefines.h:547
@ SPELL_ATTR4_OWNER_POWER_SCALING
Definition: SharedDefines.h:555
@ SPELL_ATTR4_ALLOW_PROC_WHILE_SITTING
Definition: SharedDefines.h:549
@ SPELL_ATTR4_ALLOW_ENETRING_ARENA
Definition: SharedDefines.h:551
@ SPELL_ATTR4_SUPRESS_WEAPON_PROCS
Definition: SharedDefines.h:553
@ SPELL_ATTR4_AUTO_RANGED_COMBAT
Definition: SharedDefines.h:554
@ SPELL_ATTR4_CLASS_TRIGGER_ONLY_ON_TARGET
Definition: SharedDefines.h:531
@ SPELL_ATTR4_NOT_IN_ARENA_OR_RATED_BATTLEGROUND
Definition: SharedDefines.h:546
@ SPELL_ATTR4_USE_FACING_FROM_SPELL
Definition: SharedDefines.h:561
@ SPELL_ATTR4_DO_NOT_LOG_CASTER
Definition: SharedDefines.h:543
@ SPELL_ATTR4_NO_HARMFUL_THREAT
Definition: SharedDefines.h:534
@ SPELL_ATTR4_NOT_IN_SPELLBOOK
Definition: SharedDefines.h:545
@ SPELL_ATTR4_AURA_NEVER_BOUNCES
Definition: SharedDefines.h:550
@ SPELL_ATTR4_COMBAT_FEEDBACK_WHEN_USABLE
Definition: SharedDefines.h:539
@ SPELL_ATTR4_AURA_BOUNCE_FAILS_SPELL
Definition: SharedDefines.h:559
@ SPELL_ATTR4_AURA_IS_BUFF
Definition: SharedDefines.h:542
@ SPELL_ATTR4_IGNORE_DAMAGE_TAKEN_MODIFIERS
Definition: SharedDefines.h:538
@ SPELL_ATTR4_NO_HELPFUL_THREAT
Definition: SharedDefines.h:533
@ SPELL_ATTR4_NO_CAST_LOG
Definition: SharedDefines.h:530
@ SPELL_ATTR4_ALLOW_CAST_WHILE_CASTING
Definition: SharedDefines.h:537
@ SPELL_ATTR4_NO_PARTIAL_IMMUNITY
Definition: SharedDefines.h:541
@ SPELL_ATTR4_WEAPON_SPEED_COST_SCALING
Definition: SharedDefines.h:540
@ SPELL_ATTR4_CANNOT_BE_STOLEN
Definition: SharedDefines.h:536
@ SPELL_ATTR4_REACTIVE_DAMAGE_PROC
Definition: SharedDefines.h:544
@ SPELL_ATTR4_IGNORE_COMBAT_TIMERS
Definition: SharedDefines.h:558
@ SPELL_ATTR4_OBSOLETE
Definition: SharedDefines.h:560
@ SPELL_ATTR4_PROC_SUPPRESS_SWING_ANIM
Definition: SharedDefines.h:552

References SPELL_ATTR4_ALLOW_CAST_WHILE_CASTING, SPELL_ATTR4_ALLOW_CLIENT_TARGETING, SPELL_ATTR4_ALLOW_ENETRING_ARENA, SPELL_ATTR4_ALLOW_PROC_WHILE_SITTING, SPELL_ATTR4_AURA_BOUNCE_FAILS_SPELL, SPELL_ATTR4_AURA_EXPIRES_OFFLINE, SPELL_ATTR4_AURA_IS_BUFF, SPELL_ATTR4_AURA_NEVER_BOUNCES, SPELL_ATTR4_AUTO_RANGED_COMBAT, SPELL_ATTR4_BOUNCY_CHAIN_MISSILES, SPELL_ATTR4_CANNOT_BE_STOLEN, SPELL_ATTR4_CLASS_TRIGGER_ONLY_ON_TARGET, SPELL_ATTR4_COMBAT_FEEDBACK_WHEN_USABLE, SPELL_ATTR4_DO_NOT_LOG_CASTER, SPELL_ATTR4_FORCE_DISPLAY_CASTBAR, SPELL_ATTR4_IGNORE_COMBAT_TIMERS, SPELL_ATTR4_IGNORE_DAMAGE_TAKEN_MODIFIERS, SPELL_ATTR4_IGNORE_DEFAULT_ARENA_RESTRICTIONS, SPELL_ATTR4_NO_CAST_LOG, SPELL_ATTR4_NO_HARMFUL_THREAT, SPELL_ATTR4_NO_HELPFUL_THREAT, SPELL_ATTR4_NO_PARTIAL_IMMUNITY, SPELL_ATTR4_NOT_IN_ARENA_OR_RATED_BATTLEGROUND, SPELL_ATTR4_NOT_IN_SPELLBOOK, SPELL_ATTR4_OBSOLETE, SPELL_ATTR4_ONLY_FLYING_AREAS, SPELL_ATTR4_OWNER_POWER_SCALING, SPELL_ATTR4_PROC_SUPPRESS_SWING_ANIM, SPELL_ATTR4_REACTIVE_DAMAGE_PROC, SPELL_ATTR4_SUPRESS_WEAPON_PROCS, SPELL_ATTR4_USE_FACING_FROM_SPELL, and SPELL_ATTR4_WEAPON_SPEED_COST_SCALING.

◆ FromIndex() [25/32]

AC_API_EXPORT SpellAttr5 EnumUtils< SpellAttr5 >::FromIndex ( std::size_t  index)
846{
847 switch (index)
848 {
852 case 3: return SPELL_ATTR5_ALLOW_WHILE_STUNNED;
853 case 4: return SPELL_ATTR5_TRIGGERS_CHANNELING;
854 case 5: return SPELL_ATTR5_LIMIT_N;
856 case 7: return SPELL_ATTR5_NOT_ON_PLAYER;
860 case 11: return SPELL_ATTR5_IMPLIED_TARGETING;
861 case 12: return SPELL_ATTR5_MELEE_CHAIN_TARGETING;
864 case 15: return SPELL_ATTR5_TREAT_AS_AREA_EFFECT;
866 case 17: return SPELL_ATTR5_ALLOW_WHILE_FLEEING;
867 case 18: return SPELL_ATTR5_ALLOW_WHILE_CONFUSED;
868 case 19: return SPELL_ATTR5_AI_DOESNT_FACE_TARGET;
871 case 22: return SPELL_ATTR5_NOT_ON_TRIVIAL;
872 case 23: return SPELL_ATTR5_NO_PARTIAL_RESISTS;
874 case 25: return SPELL_ATTR5_ALWAYS_LINE_OF_SIGHT;
876 case 27: return SPELL_ATTR5_NO_CASTER_AURA_ICON;
877 case 28: return SPELL_ATTR5_NO_TARGET_AURA_ICON;
880 case 31: return SPELL_ATTR5_ADD_MELEE_HIT_RATING;
881 default: throw std::out_of_range("index");
882 }
883}
@ SPELL_ATTR5_ADD_MELEE_HIT_RATING
Definition: SharedDefines.h:598
@ SPELL_ATTR5_NOT_AVALIABLE_WHILE_CHARMED
Definition: SharedDefines.h:581
@ SPELL_ATTR5_AI_DOESNT_FACE_TARGET
Definition: SharedDefines.h:586
@ SPELL_ATTR5_EXTRA_INITIAL_PERIOD
Definition: SharedDefines.h:576
@ SPELL_ATTR5_DO_NOT_ATTEMPT_A_PET_RESUMMON_WHEN_DISMOUNTING
Definition: SharedDefines.h:587
@ SPELL_ATTR5_AURA_AFFECTS_NOT_JUST_REQ_EQUIPPED_ITEM
Definition: SharedDefines.h:583
@ SPELL_ATTR5_TREAT_AS_AREA_EFFECT
Definition: SharedDefines.h:582
@ SPELL_ATTR5_IGNORE_AREA_EFFECT_PVP_CHECK
Definition: SharedDefines.h:573
@ SPELL_ATTR5_ALLOW_WHILE_STUNNED
Definition: SharedDefines.h:570
@ SPELL_ATTR5_ALWAYS_SHOW_GROUND_TEXTURE
Definition: SharedDefines.h:597
@ SPELL_ATTR5_NO_TARGET_AURA_ICON
Definition: SharedDefines.h:595
@ SPELL_ATTR5_NOT_ON_TRIVIAL
Definition: SharedDefines.h:589
@ SPELL_ATTR5_DO_NOT_DISPLAY_DURATION
Definition: SharedDefines.h:577
@ SPELL_ATTR5_NO_PARTIAL_RESISTS
Definition: SharedDefines.h:590
@ SPELL_ATTR5_NO_CASTER_AURA_ICON
Definition: SharedDefines.h:594
@ SPELL_ATTR5_NOT_ON_PLAYER_CONTROLLED_NPC
Definition: SharedDefines.h:575
@ SPELL_ATTR5_NO_REAGENT_COST_WITH_AURA
Definition: SharedDefines.h:568
@ SPELL_ATTR5_ALLOW_WHILE_FLEEING
Definition: SharedDefines.h:584
@ SPELL_ATTR5_IMPLIED_TARGETING
Definition: SharedDefines.h:578
@ SPELL_ATTR5_ALWAYS_LINE_OF_SIGHT
Definition: SharedDefines.h:592
@ SPELL_ATTR5_IGNORE_TARGET_REQUIREMENTS
Definition: SharedDefines.h:588
@ SPELL_ATTR5_SPELL_HASTE_AFFECTS_PERIODIC
Definition: SharedDefines.h:580
@ SPELL_ATTR5_MELEE_CHAIN_TARGETING
Definition: SharedDefines.h:579
@ SPELL_ATTR5_ALLOW_ACTION_DURING_CHANNEL
Definition: SharedDefines.h:567
@ SPELL_ATTR5_ALWAYS_AOE_LINE_OF_SIGHT
Definition: SharedDefines.h:593
@ SPELL_ATTR5_NOT_ON_PLAYER
Definition: SharedDefines.h:574
@ SPELL_ATTR5_AURA_UNIQUE_PER_CASTER
Definition: SharedDefines.h:596
@ SPELL_ATTR5_IGNORE_CASTER_REQUIREMENETS
Definition: SharedDefines.h:591
@ SPELL_ATTR5_LIMIT_N
Definition: SharedDefines.h:572
@ SPELL_ATTR5_ALLOW_WHILE_CONFUSED
Definition: SharedDefines.h:585
@ SPELL_ATTR5_REMOVE_ENTERING_ARENA
Definition: SharedDefines.h:569
@ SPELL_ATTR5_TRIGGERS_CHANNELING
Definition: SharedDefines.h:571

References SPELL_ATTR5_ADD_MELEE_HIT_RATING, SPELL_ATTR5_AI_DOESNT_FACE_TARGET, SPELL_ATTR5_ALLOW_ACTION_DURING_CHANNEL, SPELL_ATTR5_ALLOW_WHILE_CONFUSED, SPELL_ATTR5_ALLOW_WHILE_FLEEING, SPELL_ATTR5_ALLOW_WHILE_STUNNED, SPELL_ATTR5_ALWAYS_AOE_LINE_OF_SIGHT, SPELL_ATTR5_ALWAYS_LINE_OF_SIGHT, SPELL_ATTR5_ALWAYS_SHOW_GROUND_TEXTURE, SPELL_ATTR5_AURA_AFFECTS_NOT_JUST_REQ_EQUIPPED_ITEM, SPELL_ATTR5_AURA_UNIQUE_PER_CASTER, SPELL_ATTR5_DO_NOT_ATTEMPT_A_PET_RESUMMON_WHEN_DISMOUNTING, SPELL_ATTR5_DO_NOT_DISPLAY_DURATION, SPELL_ATTR5_EXTRA_INITIAL_PERIOD, SPELL_ATTR5_IGNORE_AREA_EFFECT_PVP_CHECK, SPELL_ATTR5_IGNORE_CASTER_REQUIREMENETS, SPELL_ATTR5_IGNORE_TARGET_REQUIREMENTS, SPELL_ATTR5_IMPLIED_TARGETING, SPELL_ATTR5_LIMIT_N, SPELL_ATTR5_MELEE_CHAIN_TARGETING, SPELL_ATTR5_NO_CASTER_AURA_ICON, SPELL_ATTR5_NO_PARTIAL_RESISTS, SPELL_ATTR5_NO_REAGENT_COST_WITH_AURA, SPELL_ATTR5_NO_TARGET_AURA_ICON, SPELL_ATTR5_NOT_AVALIABLE_WHILE_CHARMED, SPELL_ATTR5_NOT_ON_PLAYER, SPELL_ATTR5_NOT_ON_PLAYER_CONTROLLED_NPC, SPELL_ATTR5_NOT_ON_TRIVIAL, SPELL_ATTR5_REMOVE_ENTERING_ARENA, SPELL_ATTR5_SPELL_HASTE_AFFECTS_PERIODIC, SPELL_ATTR5_TREAT_AS_AREA_EFFECT, and SPELL_ATTR5_TRIGGERS_CHANNELING.

◆ FromIndex() [26/32]

AC_API_EXPORT SpellAttr6 EnumUtils< SpellAttr6 >::FromIndex ( std::size_t  index)
975{
976 switch (index)
977 {
980 case 2: return SPELL_ATTR6_NOT_AN_ATTACK;
985 case 7: return SPELL_ATTR6_AURA_IS_WEAPON_PROC;
988 case 10: return SPELL_ATTR6_NO_AURA_LOG;
989 case 11: return SPELL_ATTR6_NOT_IN_RAID_INSTANCES;
991 case 13: return SPELL_ATTR6_IGNORE_PHASE_SHIFT;
993 case 15: return SPELL_ATTR6_NO_PUSHBACK;
994 case 16: return SPELL_ATTR6_NO_JUMP_PATHING;
1001 case 23: return SPELL_ATTR6_TAPS_IMMEDIATELY;
1010 default: throw std::out_of_range("index");
1011 }
1012}
@ SPELL_ATTR6_NO_AURA_LOG
Definition: SharedDefines.h:614
@ SPELL_ATTR6_NO_PUSHBACK
Definition: SharedDefines.h:619
@ SPELL_ATTR6_DO_NOT_SELECT_TARGET_WITH_INITIATES_COMBAT
Definition: SharedDefines.h:632
@ SPELL_ATTR6_NO_JUMP_PATHING
Definition: SharedDefines.h:620
@ SPELL_ATTR6_CAN_TARGET_UNTARGETABLE
Definition: SharedDefines.h:628
@ SPELL_ATTR6_ALLOW_WHILE_RIDING_VEHICLE
Definition: SharedDefines.h:616
@ SPELL_ATTR6_ORIGINATE_FROM_CONTROLLER
Definition: SharedDefines.h:622
@ SPELL_ATTR6_DO_NOT_CHAIN_TO_CROWD_CONTROLLED_TARGETS
Definition: SharedDefines.h:612
@ SPELL_ATTR6_ALLOW_ON_CHARMED_TARGETS
Definition: SharedDefines.h:613
@ SPELL_ATTR6_AURA_ICON_ONLY_FOR_CASTER
Definition: SharedDefines.h:624
@ SPELL_ATTR6_SHOW_MECHANIC_AS_COMBAT_TEXT
Definition: SharedDefines.h:625
@ SPELL_ATTR6_IGNORE_HEALTH_MODIFIERS
Definition: SharedDefines.h:631
@ SPELL_ATTR6_IGNORE_CASTER_DAMAGE_MODIFIERS
Definition: SharedDefines.h:633
@ SPELL_ATTR6_IGNORE_PHASE_SHIFT
Definition: SharedDefines.h:617
@ SPELL_ATTR6_DOESNT_RESET_SWING_TIMER_IF_INSTANT
Definition: SharedDefines.h:629
@ SPELL_ATTR6_DO_NOT_CONSUME_RESOURCES
Definition: SharedDefines.h:609
@ SPELL_ATTR6_ABSORB_CANNOT_BE_IGNORED
Definition: SharedDefines.h:626
@ SPELL_ATTR6_CAN_ASSIST_IMMUNE_PC
Definition: SharedDefines.h:607
@ SPELL_ATTR6_IGNORE_FOR_MOD_TIME_RATE
Definition: SharedDefines.h:608
@ SPELL_ATTR6_NOT_AN_ATTACK
Definition: SharedDefines.h:606
@ SPELL_ATTR6_AI_PRIMARY_RANGED_ATTACK
Definition: SharedDefines.h:618
@ SPELL_ATTR6_DO_NOT_RESET_COOLDOWN_IN_ARENA
Definition: SharedDefines.h:605
@ SPELL_ATTR6_DISABLE_TIED_EFFECT_POINTS
Definition: SharedDefines.h:634
@ SPELL_ATTR6_VEHICLE_IMMUNITY_CATEGORY
Definition: SharedDefines.h:630
@ SPELL_ATTR6_NO_CATEGORY_COOLDOWN_MODS
Definition: SharedDefines.h:635
@ SPELL_ATTR6_NO_COOLDOWN_ON_TOOLTIP
Definition: SharedDefines.h:604
@ SPELL_ATTR6_FLOATING_COMBAT_TEXT_ON_CAST
Definition: SharedDefines.h:610
@ SPELL_ATTR6_ALLOW_EQUIP_WHILE_CASTING
Definition: SharedDefines.h:621
@ SPELL_ATTR6_AURA_IS_WEAPON_PROC
Definition: SharedDefines.h:611
@ SPELL_ATTR6_DELAY_COMBAT_TIMER_DURING_CAST
Definition: SharedDefines.h:623
@ SPELL_ATTR6_TAPS_IMMEDIATELY
Definition: SharedDefines.h:627
@ SPELL_ATTR6_NOT_IN_RAID_INSTANCES
Definition: SharedDefines.h:615

References SPELL_ATTR6_ABSORB_CANNOT_BE_IGNORED, SPELL_ATTR6_AI_PRIMARY_RANGED_ATTACK, SPELL_ATTR6_ALLOW_EQUIP_WHILE_CASTING, SPELL_ATTR6_ALLOW_ON_CHARMED_TARGETS, SPELL_ATTR6_ALLOW_WHILE_RIDING_VEHICLE, SPELL_ATTR6_AURA_ICON_ONLY_FOR_CASTER, SPELL_ATTR6_AURA_IS_WEAPON_PROC, SPELL_ATTR6_CAN_ASSIST_IMMUNE_PC, SPELL_ATTR6_CAN_TARGET_UNTARGETABLE, SPELL_ATTR6_DELAY_COMBAT_TIMER_DURING_CAST, SPELL_ATTR6_DISABLE_TIED_EFFECT_POINTS, SPELL_ATTR6_DO_NOT_CHAIN_TO_CROWD_CONTROLLED_TARGETS, SPELL_ATTR6_DO_NOT_CONSUME_RESOURCES, SPELL_ATTR6_DO_NOT_RESET_COOLDOWN_IN_ARENA, SPELL_ATTR6_DO_NOT_SELECT_TARGET_WITH_INITIATES_COMBAT, SPELL_ATTR6_DOESNT_RESET_SWING_TIMER_IF_INSTANT, SPELL_ATTR6_FLOATING_COMBAT_TEXT_ON_CAST, SPELL_ATTR6_IGNORE_CASTER_DAMAGE_MODIFIERS, SPELL_ATTR6_IGNORE_FOR_MOD_TIME_RATE, SPELL_ATTR6_IGNORE_HEALTH_MODIFIERS, SPELL_ATTR6_IGNORE_PHASE_SHIFT, SPELL_ATTR6_NO_AURA_LOG, SPELL_ATTR6_NO_CATEGORY_COOLDOWN_MODS, SPELL_ATTR6_NO_COOLDOWN_ON_TOOLTIP, SPELL_ATTR6_NO_JUMP_PATHING, SPELL_ATTR6_NO_PUSHBACK, SPELL_ATTR6_NOT_AN_ATTACK, SPELL_ATTR6_NOT_IN_RAID_INSTANCES, SPELL_ATTR6_ORIGINATE_FROM_CONTROLLER, SPELL_ATTR6_SHOW_MECHANIC_AS_COMBAT_TEXT, SPELL_ATTR6_TAPS_IMMEDIATELY, and SPELL_ATTR6_VEHICLE_IMMUNITY_CATEGORY.

◆ FromIndex() [27/32]

AC_API_EXPORT SpellAttr7 EnumUtils< SpellAttr7 >::FromIndex ( std::size_t  index)
1104{
1105 switch (index)
1106 {
1110 case 3: return SPELL_ATTR7_DEBUG_SPELL;
1111 case 4: return SPELL_ATTR7_TREAT_AS_RAID_BUFF;
1112 case 5: return SPELL_ATTR7_CAN_BE_MULTI_CAST;
1115 case 8: return SPELL_ATTR7_HORDE_SPECIFIC_SPELL;
1117 case 10: return SPELL_ATTR7_DISPEL_REMOVES_CHARGES;
1118 case 11: return SPELL_ATTR7_CAN_CAUSE_INTERRUPT;
1119 case 12: return SPELL_ATTR7_CAN_CAUSE_SILENCE;
1121 case 14: return SPELL_ATTR7_RECAST_ON_RESUMMON;
1124 case 17: return SPELL_ATTR7_DO_NOT_LOG_PVP_KILL;
1130 case 23: return SPELL_ATTR7_NO_ATTACK_DODGE;
1131 case 24: return SPELL_ATTR7_NO_ATTACK_PARRY;
1132 case 25: return SPELL_ATTR7_NO_ATTACK_MISS;
1133 case 26: return SPELL_ATTR7_TREAT_AS_NPC_AOE;
1138 case 31: return SPELL_ATTR7_ALWAYS_CAST_LOG;
1139 default: throw std::out_of_range("index");
1140 }
1141}
@ SPELL_ATTR7_REFLECTION_ONLY_DEFENDS
Definition: SharedDefines.h:670
@ SPELL_ATTR7_DONT_CAUSE_SPELL_PUSHBACK
Definition: SharedDefines.h:647
@ SPELL_ATTR7_ALWAYS_CAST_LOG
Definition: SharedDefines.h:672
@ SPELL_ATTR7_RECAST_ON_RESUMMON
Definition: SharedDefines.h:655
@ SPELL_ATTR7_CAN_CAUSE_INTERRUPT
Definition: SharedDefines.h:652
@ SPELL_ATTR7_ONLY_IN_SPELLBOOK_UNTIL_LEARNED
Definition: SharedDefines.h:657
@ SPELL_ATTR7_DO_NOT_LOG_PVP_KILL
Definition: SharedDefines.h:658
@ SPELL_ATTR7_CAN_PROC_FROM_SUPPRESSED_TARGET_PROCS
Definition: SharedDefines.h:671
@ SPELL_ATTR7_RETAIN_COOLDOWN_THROUGH_LOAD
Definition: SharedDefines.h:662
@ SPELL_ATTR7_PREPARE_FOR_VEHICLE_CONTROL_END
Definition: SharedDefines.h:648
@ SPELL_ATTR7_DISPEL_REMOVES_CHARGES
Definition: SharedDefines.h:651
@ SPELL_ATTR7_NO_ATTACK_PARRY
Definition: SharedDefines.h:665
@ SPELL_ATTR7_DO_NOT_COUNT_FOR_PVP_SCOREBOARD
Definition: SharedDefines.h:669
@ SPELL_ATTR7_CAN_BE_MULTI_CAST
Definition: SharedDefines.h:646
@ SPELL_ATTR7_HORDE_SPECIFIC_SPELL
Definition: SharedDefines.h:649
@ SPELL_ATTR7_IGNORES_COLD_WEATHER_FLYING_REQUIREMENT
Definition: SharedDefines.h:663
@ SPELL_ATTR7_NO_ATTACK_MISS
Definition: SharedDefines.h:666
@ SPELL_ATTR7_RESET_SWING_TIMER_AT_SPELL_START
Definition: SharedDefines.h:656
@ SPELL_ATTR7_ALLIANCE_SPECIFIC_SPELL
Definition: SharedDefines.h:650
@ SPELL_ATTR7_CAN_CAUSE_SILENCE
Definition: SharedDefines.h:653
@ SPELL_ATTR7_ALLOW_SPELL_REFLECTION
Definition: SharedDefines.h:641
@ SPELL_ATTR7_TREAT_AS_RAID_BUFF
Definition: SharedDefines.h:645
@ SPELL_ATTR7_NO_CLIENT_FAIL_WHILE_STUNNED_FLEEING_CONFUSED
Definition: SharedDefines.h:661
@ SPELL_ATTR7_TREAT_AS_NPC_AOE
Definition: SharedDefines.h:667
@ SPELL_ATTR7_NO_UI_NOT_INTERRUPTIBLE
Definition: SharedDefines.h:654
@ SPELL_ATTR7_REPORT_SPELL_FAILURE_TO_UNIT_TARGET
Definition: SharedDefines.h:660
@ SPELL_ATTR7_ATTACK_ON_CHARGE_TO_UNIT
Definition: SharedDefines.h:659
@ SPELL_ATTR7_NO_ATTACK_DODGE
Definition: SharedDefines.h:664
@ SPELL_ATTR7_DISABLE_AURA_WHILE_DEAD
Definition: SharedDefines.h:643
@ SPELL_ATTR7_DEBUG_SPELL
Definition: SharedDefines.h:644
@ SPELL_ATTR7_BYPASS_NO_RESURRECTION_AURA
Definition: SharedDefines.h:668
@ SPELL_ATTR7_NO_TARGET_DURATION_MOD
Definition: SharedDefines.h:642

References SPELL_ATTR7_ALLIANCE_SPECIFIC_SPELL, SPELL_ATTR7_ALLOW_SPELL_REFLECTION, SPELL_ATTR7_ALWAYS_CAST_LOG, SPELL_ATTR7_ATTACK_ON_CHARGE_TO_UNIT, SPELL_ATTR7_BYPASS_NO_RESURRECTION_AURA, SPELL_ATTR7_CAN_BE_MULTI_CAST, SPELL_ATTR7_CAN_CAUSE_INTERRUPT, SPELL_ATTR7_CAN_CAUSE_SILENCE, SPELL_ATTR7_CAN_PROC_FROM_SUPPRESSED_TARGET_PROCS, SPELL_ATTR7_DEBUG_SPELL, SPELL_ATTR7_DISABLE_AURA_WHILE_DEAD, SPELL_ATTR7_DISPEL_REMOVES_CHARGES, SPELL_ATTR7_DO_NOT_COUNT_FOR_PVP_SCOREBOARD, SPELL_ATTR7_DO_NOT_LOG_PVP_KILL, SPELL_ATTR7_DONT_CAUSE_SPELL_PUSHBACK, SPELL_ATTR7_HORDE_SPECIFIC_SPELL, SPELL_ATTR7_IGNORES_COLD_WEATHER_FLYING_REQUIREMENT, SPELL_ATTR7_NO_ATTACK_DODGE, SPELL_ATTR7_NO_ATTACK_MISS, SPELL_ATTR7_NO_ATTACK_PARRY, SPELL_ATTR7_NO_CLIENT_FAIL_WHILE_STUNNED_FLEEING_CONFUSED, SPELL_ATTR7_NO_TARGET_DURATION_MOD, SPELL_ATTR7_NO_UI_NOT_INTERRUPTIBLE, SPELL_ATTR7_ONLY_IN_SPELLBOOK_UNTIL_LEARNED, SPELL_ATTR7_PREPARE_FOR_VEHICLE_CONTROL_END, SPELL_ATTR7_RECAST_ON_RESUMMON, SPELL_ATTR7_REFLECTION_ONLY_DEFENDS, SPELL_ATTR7_REPORT_SPELL_FAILURE_TO_UNIT_TARGET, SPELL_ATTR7_RESET_SWING_TIMER_AT_SPELL_START, SPELL_ATTR7_RETAIN_COOLDOWN_THROUGH_LOAD, SPELL_ATTR7_TREAT_AS_NPC_AOE, and SPELL_ATTR7_TREAT_AS_RAID_BUFF.

◆ FromIndex() [28/32]

AC_API_EXPORT SpellCastResult EnumUtils< SpellCastResult >::FromIndex ( std::size_t  index)
1390{
1391 switch (index)
1392 {
1393 case 0: return SPELL_FAILED_SUCCESS;
1394 case 1: return SPELL_FAILED_AFFECTING_COMBAT;
1396 case 3: return SPELL_FAILED_ALREADY_AT_FULL_MANA;
1398 case 5: return SPELL_FAILED_ALREADY_BEING_TAMED;
1399 case 6: return SPELL_FAILED_ALREADY_HAVE_CHARM;
1400 case 7: return SPELL_FAILED_ALREADY_HAVE_SUMMON;
1401 case 8: return SPELL_FAILED_ALREADY_OPEN;
1402 case 9: return SPELL_FAILED_AURA_BOUNCED;
1403 case 10: return SPELL_FAILED_AUTOTRACK_INTERRUPTED;
1404 case 11: return SPELL_FAILED_BAD_IMPLICIT_TARGETS;
1405 case 12: return SPELL_FAILED_BAD_TARGETS;
1406 case 13: return SPELL_FAILED_CANT_BE_CHARMED;
1407 case 14: return SPELL_FAILED_CANT_BE_DISENCHANTED;
1409 case 16: return SPELL_FAILED_CANT_BE_MILLED;
1410 case 17: return SPELL_FAILED_CANT_BE_PROSPECTED;
1411 case 18: return SPELL_FAILED_CANT_CAST_ON_TAPPED;
1414 case 21: return SPELL_FAILED_CANT_STEALTH;
1415 case 22: return SPELL_FAILED_CASTER_AURASTATE;
1416 case 23: return SPELL_FAILED_CASTER_DEAD;
1417 case 24: return SPELL_FAILED_CHARMED;
1418 case 25: return SPELL_FAILED_CHEST_IN_USE;
1419 case 26: return SPELL_FAILED_CONFUSED;
1420 case 27: return SPELL_FAILED_DONT_REPORT;
1421 case 28: return SPELL_FAILED_EQUIPPED_ITEM;
1422 case 29: return SPELL_FAILED_EQUIPPED_ITEM_CLASS;
1425 case 32: return SPELL_FAILED_ERROR;
1426 case 33: return SPELL_FAILED_FIZZLE;
1427 case 34: return SPELL_FAILED_FLEEING;
1428 case 35: return SPELL_FAILED_FOOD_LOWLEVEL;
1429 case 36: return SPELL_FAILED_HIGHLEVEL;
1430 case 37: return SPELL_FAILED_HUNGER_SATIATED;
1431 case 38: return SPELL_FAILED_IMMUNE;
1432 case 39: return SPELL_FAILED_INCORRECT_AREA;
1433 case 40: return SPELL_FAILED_INTERRUPTED;
1434 case 41: return SPELL_FAILED_INTERRUPTED_COMBAT;
1436 case 43: return SPELL_FAILED_ITEM_GONE;
1437 case 44: return SPELL_FAILED_ITEM_NOT_FOUND;
1438 case 45: return SPELL_FAILED_ITEM_NOT_READY;
1439 case 46: return SPELL_FAILED_LEVEL_REQUIREMENT;
1440 case 47: return SPELL_FAILED_LINE_OF_SIGHT;
1441 case 48: return SPELL_FAILED_LOWLEVEL;
1442 case 49: return SPELL_FAILED_LOW_CASTLEVEL;
1443 case 50: return SPELL_FAILED_MAINHAND_EMPTY;
1444 case 51: return SPELL_FAILED_MOVING;
1445 case 52: return SPELL_FAILED_NEED_AMMO;
1446 case 53: return SPELL_FAILED_NEED_AMMO_POUCH;
1447 case 54: return SPELL_FAILED_NEED_EXOTIC_AMMO;
1448 case 55: return SPELL_FAILED_NEED_MORE_ITEMS;
1449 case 56: return SPELL_FAILED_NOPATH;
1450 case 57: return SPELL_FAILED_NOT_BEHIND;
1451 case 58: return SPELL_FAILED_NOT_FISHABLE;
1452 case 59: return SPELL_FAILED_NOT_FLYING;
1453 case 60: return SPELL_FAILED_NOT_HERE;
1454 case 61: return SPELL_FAILED_NOT_INFRONT;
1455 case 62: return SPELL_FAILED_NOT_IN_CONTROL;
1456 case 63: return SPELL_FAILED_NOT_KNOWN;
1457 case 64: return SPELL_FAILED_NOT_MOUNTED;
1458 case 65: return SPELL_FAILED_NOT_ON_TAXI;
1459 case 66: return SPELL_FAILED_NOT_ON_TRANSPORT;
1460 case 67: return SPELL_FAILED_NOT_READY;
1461 case 68: return SPELL_FAILED_NOT_SHAPESHIFT;
1462 case 69: return SPELL_FAILED_NOT_STANDING;
1463 case 70: return SPELL_FAILED_NOT_TRADEABLE;
1464 case 71: return SPELL_FAILED_NOT_TRADING;
1465 case 72: return SPELL_FAILED_NOT_UNSHEATHED;
1466 case 73: return SPELL_FAILED_NOT_WHILE_GHOST;
1467 case 74: return SPELL_FAILED_NOT_WHILE_LOOTING;
1468 case 75: return SPELL_FAILED_NO_AMMO;
1469 case 76: return SPELL_FAILED_NO_CHARGES_REMAIN;
1470 case 77: return SPELL_FAILED_NO_CHAMPION;
1471 case 78: return SPELL_FAILED_NO_COMBO_POINTS;
1472 case 79: return SPELL_FAILED_NO_DUELING;
1473 case 80: return SPELL_FAILED_NO_ENDURANCE;
1474 case 81: return SPELL_FAILED_NO_FISH;
1476 case 83: return SPELL_FAILED_NO_MOUNTS_ALLOWED;
1477 case 84: return SPELL_FAILED_NO_PET;
1478 case 85: return SPELL_FAILED_NO_POWER;
1479 case 86: return SPELL_FAILED_NOTHING_TO_DISPEL;
1480 case 87: return SPELL_FAILED_NOTHING_TO_STEAL;
1481 case 88: return SPELL_FAILED_ONLY_ABOVEWATER;
1482 case 89: return SPELL_FAILED_ONLY_DAYTIME;
1483 case 90: return SPELL_FAILED_ONLY_INDOORS;
1484 case 91: return SPELL_FAILED_ONLY_MOUNTED;
1485 case 92: return SPELL_FAILED_ONLY_NIGHTTIME;
1486 case 93: return SPELL_FAILED_ONLY_OUTDOORS;
1487 case 94: return SPELL_FAILED_ONLY_SHAPESHIFT;
1488 case 95: return SPELL_FAILED_ONLY_STEALTHED;
1489 case 96: return SPELL_FAILED_ONLY_UNDERWATER;
1490 case 97: return SPELL_FAILED_OUT_OF_RANGE;
1491 case 98: return SPELL_FAILED_PACIFIED;
1492 case 99: return SPELL_FAILED_POSSESSED;
1493 case 100: return SPELL_FAILED_REAGENTS;
1494 case 101: return SPELL_FAILED_REQUIRES_AREA;
1495 case 102: return SPELL_FAILED_REQUIRES_SPELL_FOCUS;
1496 case 103: return SPELL_FAILED_ROOTED;
1497 case 104: return SPELL_FAILED_SILENCED;
1498 case 105: return SPELL_FAILED_SPELL_IN_PROGRESS;
1499 case 106: return SPELL_FAILED_SPELL_LEARNED;
1500 case 107: return SPELL_FAILED_SPELL_UNAVAILABLE;
1501 case 108: return SPELL_FAILED_STUNNED;
1502 case 109: return SPELL_FAILED_TARGETS_DEAD;
1503 case 110: return SPELL_FAILED_TARGET_AFFECTING_COMBAT;
1504 case 111: return SPELL_FAILED_TARGET_AURASTATE;
1505 case 112: return SPELL_FAILED_TARGET_DUELING;
1506 case 113: return SPELL_FAILED_TARGET_ENEMY;
1507 case 114: return SPELL_FAILED_TARGET_ENRAGED;
1508 case 115: return SPELL_FAILED_TARGET_FRIENDLY;
1509 case 116: return SPELL_FAILED_TARGET_IN_COMBAT;
1510 case 117: return SPELL_FAILED_TARGET_IS_PLAYER;
1512 case 119: return SPELL_FAILED_TARGET_NOT_DEAD;
1513 case 120: return SPELL_FAILED_TARGET_NOT_IN_PARTY;
1514 case 121: return SPELL_FAILED_TARGET_NOT_LOOTED;
1515 case 122: return SPELL_FAILED_TARGET_NOT_PLAYER;
1516 case 123: return SPELL_FAILED_TARGET_NO_POCKETS;
1517 case 124: return SPELL_FAILED_TARGET_NO_WEAPONS;
1519 case 126: return SPELL_FAILED_TARGET_UNSKINNABLE;
1520 case 127: return SPELL_FAILED_THIRST_SATIATED;
1521 case 128: return SPELL_FAILED_TOO_CLOSE;
1522 case 129: return SPELL_FAILED_TOO_MANY_OF_ITEM;
1523 case 130: return SPELL_FAILED_TOTEM_CATEGORY;
1524 case 131: return SPELL_FAILED_TOTEMS;
1525 case 132: return SPELL_FAILED_TRY_AGAIN;
1526 case 133: return SPELL_FAILED_UNIT_NOT_BEHIND;
1527 case 134: return SPELL_FAILED_UNIT_NOT_INFRONT;
1528 case 135: return SPELL_FAILED_WRONG_PET_FOOD;
1529 case 136: return SPELL_FAILED_NOT_WHILE_FATIGUED;
1530 case 137: return SPELL_FAILED_TARGET_NOT_IN_INSTANCE;
1531 case 138: return SPELL_FAILED_NOT_WHILE_TRADING;
1532 case 139: return SPELL_FAILED_TARGET_NOT_IN_RAID;
1533 case 140: return SPELL_FAILED_TARGET_FREEFORALL;
1534 case 141: return SPELL_FAILED_NO_EDIBLE_CORPSES;
1535 case 142: return SPELL_FAILED_ONLY_BATTLEGROUNDS;
1536 case 143: return SPELL_FAILED_TARGET_NOT_GHOST;
1537 case 144: return SPELL_FAILED_TRANSFORM_UNUSABLE;
1538 case 145: return SPELL_FAILED_WRONG_WEATHER;
1539 case 146: return SPELL_FAILED_DAMAGE_IMMUNE;
1540 case 147: return SPELL_FAILED_PREVENTED_BY_MECHANIC;
1541 case 148: return SPELL_FAILED_PLAY_TIME;
1542 case 149: return SPELL_FAILED_REPUTATION;
1543 case 150: return SPELL_FAILED_MIN_SKILL;
1544 case 151: return SPELL_FAILED_NOT_IN_ARENA;
1545 case 152: return SPELL_FAILED_NOT_ON_SHAPESHIFT;
1546 case 153: return SPELL_FAILED_NOT_ON_STEALTHED;
1547 case 154: return SPELL_FAILED_NOT_ON_DAMAGE_IMMUNE;
1548 case 155: return SPELL_FAILED_NOT_ON_MOUNTED;
1549 case 156: return SPELL_FAILED_TOO_SHALLOW;
1550 case 157: return SPELL_FAILED_TARGET_NOT_IN_SANCTUARY;
1551 case 158: return SPELL_FAILED_TARGET_IS_TRIVIAL;
1552 case 159: return SPELL_FAILED_BM_OR_INVISGOD;
1555 case 162: return SPELL_FAILED_NOT_IDLE;
1556 case 163: return SPELL_FAILED_NOT_INACTIVE;
1557 case 164: return SPELL_FAILED_PARTIAL_PLAYTIME;
1558 case 165: return SPELL_FAILED_NO_PLAYTIME;
1559 case 166: return SPELL_FAILED_NOT_IN_BATTLEGROUND;
1560 case 167: return SPELL_FAILED_NOT_IN_RAID_INSTANCE;
1561 case 168: return SPELL_FAILED_ONLY_IN_ARENA;
1563 case 170: return SPELL_FAILED_ON_USE_ENCHANT;
1564 case 171: return SPELL_FAILED_NOT_ON_GROUND;
1565 case 172: return SPELL_FAILED_CUSTOM_ERROR;
1566 case 173: return SPELL_FAILED_CANT_DO_THAT_RIGHT_NOW;
1567 case 174: return SPELL_FAILED_TOO_MANY_SOCKETS;
1568 case 175: return SPELL_FAILED_INVALID_GLYPH;
1569 case 176: return SPELL_FAILED_UNIQUE_GLYPH;
1570 case 177: return SPELL_FAILED_GLYPH_SOCKET_LOCKED;
1571 case 178: return SPELL_FAILED_NO_VALID_TARGETS;
1572 case 179: return SPELL_FAILED_ITEM_AT_MAX_CHARGES;
1573 case 180: return SPELL_FAILED_NOT_IN_BARBERSHOP;
1574 case 181: return SPELL_FAILED_FISHING_TOO_LOW;
1576 case 183: return SPELL_FAILED_SUMMON_PENDING;
1577 case 184: return SPELL_FAILED_MAX_SOCKETS;
1578 case 185: return SPELL_FAILED_PET_CAN_RENAME;
1580 case 187: return SPELL_FAILED_UNKNOWN;
1581 case 188: return SPELL_CAST_OK;
1582 default: throw std::out_of_range("index");
1583 }
1584}
@ SPELL_FAILED_TARGET_NOT_LOOTED
Definition: SharedDefines.h:1070
@ SPELL_FAILED_HUNGER_SATIATED
Definition: SharedDefines.h:986
@ SPELL_FAILED_UNIT_NOT_INFRONT
Definition: SharedDefines.h:1083
@ SPELL_FAILED_TRANSFORM_UNUSABLE
Definition: SharedDefines.h:1093
@ SPELL_FAILED_NEED_EXOTIC_AMMO
Definition: SharedDefines.h:1003
@ SPELL_FAILED_NOT_INFRONT
Definition: SharedDefines.h:1010
@ SPELL_FAILED_MOVING
Definition: SharedDefines.h:1000
@ SPELL_FAILED_LEVEL_REQUIREMENT
Definition: SharedDefines.h:995
@ SPELL_FAILED_STUNNED
Definition: SharedDefines.h:1057
@ SPELL_FAILED_ALREADY_BEING_TAMED
Definition: SharedDefines.h:954
@ SPELL_FAILED_FISHING_TOO_LOW
Definition: SharedDefines.h:1130
@ SPELL_FAILED_CANT_BE_MILLED
Definition: SharedDefines.h:965
@ SPELL_FAILED_NOT_MOUNTED
Definition: SharedDefines.h:1013
@ SPELL_FAILED_NOT_ON_STEALTHED
Definition: SharedDefines.h:1102
@ SPELL_FAILED_EQUIPPED_ITEM_CLASS_OFFHAND
Definition: SharedDefines.h:980
@ SPELL_FAILED_AFFECTING_COMBAT
Definition: SharedDefines.h:950
@ SPELL_FAILED_CASTER_AURASTATE
Definition: SharedDefines.h:971
@ SPELL_FAILED_EQUIPPED_ITEM_CLASS
Definition: SharedDefines.h:978
@ SPELL_FAILED_TOO_CLOSE
Definition: SharedDefines.h:1077
@ SPELL_FAILED_ITEM_AT_MAX_CHARGES
Definition: SharedDefines.h:1128
@ SPELL_FAILED_TARGET_NOT_PLAYER
Definition: SharedDefines.h:1071
@ SPELL_FAILED_MIN_SKILL
Definition: SharedDefines.h:1099
@ SPELL_FAILED_NOTHING_TO_DISPEL
Definition: SharedDefines.h:1035
@ SPELL_FAILED_INTERRUPTED_COMBAT
Definition: SharedDefines.h:990
@ SPELL_FAILED_NO_POWER
Definition: SharedDefines.h:1034
@ SPELL_FAILED_NOT_KNOWN
Definition: SharedDefines.h:1012
@ SPELL_FAILED_NOT_UNSHEATHED
Definition: SharedDefines.h:1021
@ SPELL_FAILED_FOOD_LOWLEVEL
Definition: SharedDefines.h:984
@ SPELL_FAILED_NO_CHAMPION
Definition: SharedDefines.h:1026
@ SPELL_FAILED_NOT_HERE
Definition: SharedDefines.h:1009
@ SPELL_FAILED_NO_FISH
Definition: SharedDefines.h:1030
@ SPELL_FAILED_NOT_STANDING
Definition: SharedDefines.h:1018
@ SPELL_FAILED_ROOTED
Definition: SharedDefines.h:1052
@ SPELL_FAILED_TARGET_NOT_DEAD
Definition: SharedDefines.h:1068
@ SPELL_FAILED_CHEST_IN_USE
Definition: SharedDefines.h:974
@ SPELL_FAILED_TARGET_IN_COMBAT
Definition: SharedDefines.h:1065
@ SPELL_FAILED_WRONG_PET_FOOD
Definition: SharedDefines.h:1084
@ SPELL_FAILED_CUSTOM_ERROR
Definition: SharedDefines.h:1121
@ SPELL_FAILED_SUMMON_PENDING
Definition: SharedDefines.h:1132
@ SPELL_FAILED_ONLY_DAYTIME
Definition: SharedDefines.h:1038
@ SPELL_FAILED_NOT_FLYING
Definition: SharedDefines.h:1008
@ SPELL_FAILED_TARGET_FREEFORALL
Definition: SharedDefines.h:1089
@ SPELL_FAILED_UNKNOWN
Definition: SharedDefines.h:1136
@ SPELL_FAILED_DAMAGE_IMMUNE
Definition: SharedDefines.h:1095
@ SPELL_FAILED_BAD_IMPLICIT_TARGETS
Definition: SharedDefines.h:960
@ SPELL_FAILED_TARGET_IS_TRIVIAL
Definition: SharedDefines.h:1107
@ SPELL_FAILED_TRY_AGAIN
Definition: SharedDefines.h:1081
@ SPELL_FAILED_NO_ITEMS_WHILE_SHAPESHIFTED
Definition: SharedDefines.h:1031
@ SPELL_FAILED_NO_COMBO_POINTS
Definition: SharedDefines.h:1027
@ SPELL_FAILED_ALREADY_HAVE_SUMMON
Definition: SharedDefines.h:956
@ SPELL_FAILED_ALREADY_AT_FULL_POWER
Definition: SharedDefines.h:953
@ SPELL_FAILED_NOT_TRADEABLE
Definition: SharedDefines.h:1019
@ SPELL_FAILED_ALREADY_OPEN
Definition: SharedDefines.h:957
@ SPELL_FAILED_ITEM_NOT_READY
Definition: SharedDefines.h:994
@ SPELL_FAILED_WRONG_WEATHER
Definition: SharedDefines.h:1094
@ SPELL_FAILED_TOO_SHALLOW
Definition: SharedDefines.h:1105
@ SPELL_FAILED_NOT_TRADING
Definition: SharedDefines.h:1020
@ SPELL_FAILED_NO_CHARGES_REMAIN
Definition: SharedDefines.h:1025
@ SPELL_FAILED_ITEM_GONE
Definition: SharedDefines.h:992
@ SPELL_FAILED_TARGET_NO_POCKETS
Definition: SharedDefines.h:1072
@ SPELL_FAILED_NOTHING_TO_STEAL
Definition: SharedDefines.h:1036
@ SPELL_FAILED_NEED_AMMO
Definition: SharedDefines.h:1001
@ SPELL_FAILED_NO_AMMO
Definition: SharedDefines.h:1024
@ SPELL_FAILED_INCORRECT_AREA
Definition: SharedDefines.h:988
@ SPELL_FAILED_PLAY_TIME
Definition: SharedDefines.h:1097
@ SPELL_FAILED_NO_MOUNTS_ALLOWED
Definition: SharedDefines.h:1032
@ SPELL_FAILED_ITEM_NOT_FOUND
Definition: SharedDefines.h:993
@ SPELL_FAILED_GLYPH_SOCKET_LOCKED
Definition: SharedDefines.h:1126
@ SPELL_FAILED_TARGET_IS_PLAYER
Definition: SharedDefines.h:1066
@ SPELL_FAILED_OUT_OF_RANGE
Definition: SharedDefines.h:1046
@ SPELL_FAILED_NOT_IN_BATTLEGROUND
Definition: SharedDefines.h:1115
@ SPELL_FAILED_NOT_IN_BARBERSHOP
Definition: SharedDefines.h:1129
@ SPELL_FAILED_NOT_ON_SHAPESHIFT
Definition: SharedDefines.h:1101
@ SPELL_FAILED_NOT_FISHABLE
Definition: SharedDefines.h:1007
@ SPELL_FAILED_IMMUNE
Definition: SharedDefines.h:987
@ SPELL_FAILED_EQUIPPED_ITEM
Definition: SharedDefines.h:977
@ SPELL_FAILED_TARGET_DUELING
Definition: SharedDefines.h:1061
@ SPELL_FAILED_CANT_DUEL_WHILE_STEALTHED
Definition: SharedDefines.h:969
@ SPELL_FAILED_NOT_BEHIND
Definition: SharedDefines.h:1006
@ SPELL_FAILED_ALREADY_AT_FULL_HEALTH
Definition: SharedDefines.h:951
@ SPELL_FAILED_PREVENTED_BY_MECHANIC
Definition: SharedDefines.h:1096
@ SPELL_FAILED_SPELL_LEARNED
Definition: SharedDefines.h:1055
@ SPELL_FAILED_NOT_ON_GROUND
Definition: SharedDefines.h:1120
@ SPELL_FAILED_ALREADY_HAVE_CHARM
Definition: SharedDefines.h:955
@ SPELL_FAILED_TARGET_NOT_IN_INSTANCE
Definition: SharedDefines.h:1086
@ SPELL_FAILED_TARGET_ENEMY
Definition: SharedDefines.h:1062
@ SPELL_FAILED_HIGHLEVEL
Definition: SharedDefines.h:985
@ SPELL_FAILED_DONT_REPORT
Definition: SharedDefines.h:976
@ SPELL_FAILED_THIRST_SATIATED
Definition: SharedDefines.h:1076
@ SPELL_FAILED_NOT_ON_DAMAGE_IMMUNE
Definition: SharedDefines.h:1103
@ SPELL_FAILED_CANT_CAST_ON_TAPPED
Definition: SharedDefines.h:967
@ SPELL_FAILED_ON_USE_ENCHANT
Definition: SharedDefines.h:1119
@ SPELL_FAILED_PET_CAN_RENAME
Definition: SharedDefines.h:1134
@ SPELL_FAILED_NOT_WHILE_LOOTING
Definition: SharedDefines.h:1023
@ SPELL_FAILED_TARGET_AURASTATE
Definition: SharedDefines.h:1060
@ SPELL_FAILED_TOTEMS
Definition: SharedDefines.h:1080
@ SPELL_FAILED_NOT_IN_RAID_INSTANCE
Definition: SharedDefines.h:1116
@ SPELL_FAILED_ERROR
Definition: SharedDefines.h:981
@ SPELL_FAILED_TARGET_NOT_IN_RAID
Definition: SharedDefines.h:1088
@ SPELL_FAILED_SUCCESS
Definition: SharedDefines.h:949
@ SPELL_FAILED_LOWLEVEL
Definition: SharedDefines.h:997
@ SPELL_FAILED_NOT_READY
Definition: SharedDefines.h:1016
@ SPELL_FAILED_ONLY_BATTLEGROUNDS
Definition: SharedDefines.h:1091
@ SPELL_FAILED_NO_ENDURANCE
Definition: SharedDefines.h:1029
@ SPELL_FAILED_NOT_IN_ARENA
Definition: SharedDefines.h:1100
@ SPELL_FAILED_NEED_AMMO_POUCH
Definition: SharedDefines.h:1002
@ SPELL_FAILED_ITEM_ALREADY_ENCHANTED
Definition: SharedDefines.h:991
@ SPELL_FAILED_ONLY_IN_ARENA
Definition: SharedDefines.h:1117
@ SPELL_FAILED_ONLY_STEALTHED
Definition: SharedDefines.h:1044
@ SPELL_FAILED_CANT_BE_DISENCHANTED_SKILL
Definition: SharedDefines.h:964
@ SPELL_FAILED_BM_OR_INVISGOD
Definition: SharedDefines.h:1108
@ SPELL_FAILED_CANT_DUEL_WHILE_INVISIBLE
Definition: SharedDefines.h:968
@ SPELL_FAILED_CANT_DO_THAT_RIGHT_NOW
Definition: SharedDefines.h:1122
@ SPELL_FAILED_ONLY_SHAPESHIFT
Definition: SharedDefines.h:1043
@ SPELL_FAILED_NOT_WHILE_FATIGUED
Definition: SharedDefines.h:1085
@ SPELL_FAILED_TARGET_IS_PLAYER_CONTROLLED
Definition: SharedDefines.h:1067
@ SPELL_FAILED_REAGENTS
Definition: SharedDefines.h:1049
@ SPELL_FAILED_ONLY_ABOVEWATER
Definition: SharedDefines.h:1037
@ SPELL_FAILED_TARGETS_DEAD
Definition: SharedDefines.h:1058
@ SPELL_FAILED_AURA_BOUNCED
Definition: SharedDefines.h:958
@ SPELL_FAILED_UNIT_NOT_BEHIND
Definition: SharedDefines.h:1082
@ SPELL_FAILED_CANT_BE_CHARMED
Definition: SharedDefines.h:962
@ SPELL_FAILED_MAX_SOCKETS
Definition: SharedDefines.h:1133
@ SPELL_FAILED_TARGET_NOT_GHOST
Definition: SharedDefines.h:1092
@ SPELL_FAILED_CASTER_DEAD
Definition: SharedDefines.h:972
@ SPELL_FAILED_NOT_ON_MOUNTED
Definition: SharedDefines.h:1104
@ SPELL_FAILED_NO_DUELING
Definition: SharedDefines.h:1028
@ SPELL_FAILED_ONLY_UNDERWATER
Definition: SharedDefines.h:1045
@ SPELL_FAILED_BAD_TARGETS
Definition: SharedDefines.h:961
@ SPELL_FAILED_CANT_BE_DISENCHANTED
Definition: SharedDefines.h:963
@ SPELL_FAILED_TARGET_ENRAGED
Definition: SharedDefines.h:1063
@ SPELL_FAILED_ITEM_ENCHANT_TRADE_WINDOW
Definition: SharedDefines.h:1131
@ SPELL_FAILED_ONLY_NIGHTTIME
Definition: SharedDefines.h:1041
@ SPELL_FAILED_TARGET_CANNOT_BE_RESURRECTED
Definition: SharedDefines.h:1135
@ SPELL_FAILED_TOO_MANY_OF_ITEM
Definition: SharedDefines.h:1078
@ SPELL_FAILED_FIZZLE
Definition: SharedDefines.h:982
@ SPELL_FAILED_CONFUSED
Definition: SharedDefines.h:975
@ SPELL_FAILED_REPUTATION
Definition: SharedDefines.h:1098
@ SPELL_FAILED_ARTISAN_RIDING_REQUIREMENT
Definition: SharedDefines.h:1110
@ SPELL_FAILED_TARGET_UNSKINNABLE
Definition: SharedDefines.h:1075
@ SPELL_FAILED_SILENCED
Definition: SharedDefines.h:1053
@ SPELL_FAILED_NOT_SHAPESHIFT
Definition: SharedDefines.h:1017
@ SPELL_FAILED_AUTOTRACK_INTERRUPTED
Definition: SharedDefines.h:959
@ SPELL_FAILED_NOT_WHILE_TRADING
Definition: SharedDefines.h:1087
@ SPELL_FAILED_NO_PLAYTIME
Definition: SharedDefines.h:1114
@ SPELL_FAILED_UNIQUE_GLYPH
Definition: SharedDefines.h:1125
@ SPELL_FAILED_POSSESSED
Definition: SharedDefines.h:1048
@ SPELL_FAILED_NEED_MORE_ITEMS
Definition: SharedDefines.h:1004
@ SPELL_FAILED_TARGET_NO_WEAPONS
Definition: SharedDefines.h:1073
@ SPELL_FAILED_ONLY_OUTDOORS
Definition: SharedDefines.h:1042
@ SPELL_CAST_OK
Definition: SharedDefines.h:1138
@ SPELL_FAILED_NO_VALID_TARGETS
Definition: SharedDefines.h:1127
@ SPELL_FAILED_CHARMED
Definition: SharedDefines.h:973
@ SPELL_FAILED_INVALID_GLYPH
Definition: SharedDefines.h:1124
@ SPELL_FAILED_PARTIAL_PLAYTIME
Definition: SharedDefines.h:1113
@ SPELL_FAILED_LOW_CASTLEVEL
Definition: SharedDefines.h:998
@ SPELL_FAILED_TARGET_NO_RANGED_WEAPONS
Definition: SharedDefines.h:1074
@ SPELL_FAILED_CANT_BE_PROSPECTED
Definition: SharedDefines.h:966
@ SPELL_FAILED_ONLY_MOUNTED
Definition: SharedDefines.h:1040
@ SPELL_FAILED_NOT_ON_TRANSPORT
Definition: SharedDefines.h:1015
@ SPELL_FAILED_LINE_OF_SIGHT
Definition: SharedDefines.h:996
@ SPELL_FAILED_NOT_IN_CONTROL
Definition: SharedDefines.h:1011
@ SPELL_FAILED_FLEEING
Definition: SharedDefines.h:983
@ SPELL_FAILED_PACIFIED
Definition: SharedDefines.h:1047
@ SPELL_FAILED_CANT_STEALTH
Definition: SharedDefines.h:970
@ SPELL_FAILED_EQUIPPED_ITEM_CLASS_MAINHAND
Definition: SharedDefines.h:979
@ SPELL_FAILED_SPELL_IN_PROGRESS
Definition: SharedDefines.h:1054
@ SPELL_FAILED_NO_PET
Definition: SharedDefines.h:1033
@ SPELL_FAILED_MAINHAND_EMPTY
Definition: SharedDefines.h:999
@ SPELL_FAILED_TARGET_LOCKED_TO_RAID_INSTANCE
Definition: SharedDefines.h:1118
@ SPELL_FAILED_EXPERT_RIDING_REQUIREMENT
Definition: SharedDefines.h:1109
@ SPELL_FAILED_ALREADY_AT_FULL_MANA
Definition: SharedDefines.h:952
@ SPELL_FAILED_REQUIRES_SPELL_FOCUS
Definition: SharedDefines.h:1051
@ SPELL_FAILED_NOPATH
Definition: SharedDefines.h:1005
@ SPELL_FAILED_TOTEM_CATEGORY
Definition: SharedDefines.h:1079
@ SPELL_FAILED_NOT_IDLE
Definition: SharedDefines.h:1111
@ SPELL_FAILED_SPELL_UNAVAILABLE
Definition: SharedDefines.h:1056
@ SPELL_FAILED_REQUIRES_AREA
Definition: SharedDefines.h:1050
@ SPELL_FAILED_TARGET_NOT_IN_SANCTUARY
Definition: SharedDefines.h:1106
@ SPELL_FAILED_NOT_INACTIVE
Definition: SharedDefines.h:1112
@ SPELL_FAILED_NOT_WHILE_GHOST
Definition: SharedDefines.h:1022
@ SPELL_FAILED_TOO_MANY_SOCKETS
Definition: SharedDefines.h:1123
@ SPELL_FAILED_NO_EDIBLE_CORPSES
Definition: SharedDefines.h:1090
@ SPELL_FAILED_INTERRUPTED
Definition: SharedDefines.h:989
@ SPELL_FAILED_TARGET_NOT_IN_PARTY
Definition: SharedDefines.h:1069
@ SPELL_FAILED_TARGET_AFFECTING_COMBAT
Definition: SharedDefines.h:1059
@ SPELL_FAILED_ONLY_INDOORS
Definition: SharedDefines.h:1039
@ SPELL_FAILED_NOT_ON_TAXI
Definition: SharedDefines.h:1014
@ SPELL_FAILED_TARGET_FRIENDLY
Definition: SharedDefines.h:1064

References SPELL_CAST_OK, SPELL_FAILED_AFFECTING_COMBAT, SPELL_FAILED_ALREADY_AT_FULL_HEALTH, SPELL_FAILED_ALREADY_AT_FULL_MANA, SPELL_FAILED_ALREADY_AT_FULL_POWER, SPELL_FAILED_ALREADY_BEING_TAMED, SPELL_FAILED_ALREADY_HAVE_CHARM, SPELL_FAILED_ALREADY_HAVE_SUMMON, SPELL_FAILED_ALREADY_OPEN, SPELL_FAILED_ARTISAN_RIDING_REQUIREMENT, SPELL_FAILED_AURA_BOUNCED, SPELL_FAILED_AUTOTRACK_INTERRUPTED, SPELL_FAILED_BAD_IMPLICIT_TARGETS, SPELL_FAILED_BAD_TARGETS, SPELL_FAILED_BM_OR_INVISGOD, SPELL_FAILED_CANT_BE_CHARMED, SPELL_FAILED_CANT_BE_DISENCHANTED, SPELL_FAILED_CANT_BE_DISENCHANTED_SKILL, SPELL_FAILED_CANT_BE_MILLED, SPELL_FAILED_CANT_BE_PROSPECTED, SPELL_FAILED_CANT_CAST_ON_TAPPED, SPELL_FAILED_CANT_DO_THAT_RIGHT_NOW, SPELL_FAILED_CANT_DUEL_WHILE_INVISIBLE, SPELL_FAILED_CANT_DUEL_WHILE_STEALTHED, SPELL_FAILED_CANT_STEALTH, SPELL_FAILED_CASTER_AURASTATE, SPELL_FAILED_CASTER_DEAD, SPELL_FAILED_CHARMED, SPELL_FAILED_CHEST_IN_USE, SPELL_FAILED_CONFUSED, SPELL_FAILED_CUSTOM_ERROR, SPELL_FAILED_DAMAGE_IMMUNE, SPELL_FAILED_DONT_REPORT, SPELL_FAILED_EQUIPPED_ITEM, SPELL_FAILED_EQUIPPED_ITEM_CLASS, SPELL_FAILED_EQUIPPED_ITEM_CLASS_MAINHAND, SPELL_FAILED_EQUIPPED_ITEM_CLASS_OFFHAND, SPELL_FAILED_ERROR, SPELL_FAILED_EXPERT_RIDING_REQUIREMENT, SPELL_FAILED_FISHING_TOO_LOW, SPELL_FAILED_FIZZLE, SPELL_FAILED_FLEEING, SPELL_FAILED_FOOD_LOWLEVEL, SPELL_FAILED_GLYPH_SOCKET_LOCKED, SPELL_FAILED_HIGHLEVEL, SPELL_FAILED_HUNGER_SATIATED, SPELL_FAILED_IMMUNE, SPELL_FAILED_INCORRECT_AREA, SPELL_FAILED_INTERRUPTED, SPELL_FAILED_INTERRUPTED_COMBAT, SPELL_FAILED_INVALID_GLYPH, SPELL_FAILED_ITEM_ALREADY_ENCHANTED, SPELL_FAILED_ITEM_AT_MAX_CHARGES, SPELL_FAILED_ITEM_ENCHANT_TRADE_WINDOW, SPELL_FAILED_ITEM_GONE, SPELL_FAILED_ITEM_NOT_FOUND, SPELL_FAILED_ITEM_NOT_READY, SPELL_FAILED_LEVEL_REQUIREMENT, SPELL_FAILED_LINE_OF_SIGHT, SPELL_FAILED_LOW_CASTLEVEL, SPELL_FAILED_LOWLEVEL, SPELL_FAILED_MAINHAND_EMPTY, SPELL_FAILED_MAX_SOCKETS, SPELL_FAILED_MIN_SKILL, SPELL_FAILED_MOVING, SPELL_FAILED_NEED_AMMO, SPELL_FAILED_NEED_AMMO_POUCH, SPELL_FAILED_NEED_EXOTIC_AMMO, SPELL_FAILED_NEED_MORE_ITEMS, SPELL_FAILED_NO_AMMO, SPELL_FAILED_NO_CHAMPION, SPELL_FAILED_NO_CHARGES_REMAIN, SPELL_FAILED_NO_COMBO_POINTS, SPELL_FAILED_NO_DUELING, SPELL_FAILED_NO_EDIBLE_CORPSES, SPELL_FAILED_NO_ENDURANCE, SPELL_FAILED_NO_FISH, SPELL_FAILED_NO_ITEMS_WHILE_SHAPESHIFTED, SPELL_FAILED_NO_MOUNTS_ALLOWED, SPELL_FAILED_NO_PET, SPELL_FAILED_NO_PLAYTIME, SPELL_FAILED_NO_POWER, SPELL_FAILED_NO_VALID_TARGETS, SPELL_FAILED_NOPATH, SPELL_FAILED_NOT_BEHIND, SPELL_FAILED_NOT_FISHABLE, SPELL_FAILED_NOT_FLYING, SPELL_FAILED_NOT_HERE, SPELL_FAILED_NOT_IDLE, SPELL_FAILED_NOT_IN_ARENA, SPELL_FAILED_NOT_IN_BARBERSHOP, SPELL_FAILED_NOT_IN_BATTLEGROUND, SPELL_FAILED_NOT_IN_CONTROL, SPELL_FAILED_NOT_IN_RAID_INSTANCE, SPELL_FAILED_NOT_INACTIVE, SPELL_FAILED_NOT_INFRONT, SPELL_FAILED_NOT_KNOWN, SPELL_FAILED_NOT_MOUNTED, SPELL_FAILED_NOT_ON_DAMAGE_IMMUNE, SPELL_FAILED_NOT_ON_GROUND, SPELL_FAILED_NOT_ON_MOUNTED, SPELL_FAILED_NOT_ON_SHAPESHIFT, SPELL_FAILED_NOT_ON_STEALTHED, SPELL_FAILED_NOT_ON_TAXI, SPELL_FAILED_NOT_ON_TRANSPORT, SPELL_FAILED_NOT_READY, SPELL_FAILED_NOT_SHAPESHIFT, SPELL_FAILED_NOT_STANDING, SPELL_FAILED_NOT_TRADEABLE, SPELL_FAILED_NOT_TRADING, SPELL_FAILED_NOT_UNSHEATHED, SPELL_FAILED_NOT_WHILE_FATIGUED, SPELL_FAILED_NOT_WHILE_GHOST, SPELL_FAILED_NOT_WHILE_LOOTING, SPELL_FAILED_NOT_WHILE_TRADING, SPELL_FAILED_NOTHING_TO_DISPEL, SPELL_FAILED_NOTHING_TO_STEAL, SPELL_FAILED_ON_USE_ENCHANT, SPELL_FAILED_ONLY_ABOVEWATER, SPELL_FAILED_ONLY_BATTLEGROUNDS, SPELL_FAILED_ONLY_DAYTIME, SPELL_FAILED_ONLY_IN_ARENA, SPELL_FAILED_ONLY_INDOORS, SPELL_FAILED_ONLY_MOUNTED, SPELL_FAILED_ONLY_NIGHTTIME, SPELL_FAILED_ONLY_OUTDOORS, SPELL_FAILED_ONLY_SHAPESHIFT, SPELL_FAILED_ONLY_STEALTHED, SPELL_FAILED_ONLY_UNDERWATER, SPELL_FAILED_OUT_OF_RANGE, SPELL_FAILED_PACIFIED, SPELL_FAILED_PARTIAL_PLAYTIME, SPELL_FAILED_PET_CAN_RENAME, SPELL_FAILED_PLAY_TIME, SPELL_FAILED_POSSESSED, SPELL_FAILED_PREVENTED_BY_MECHANIC, SPELL_FAILED_REAGENTS, SPELL_FAILED_REPUTATION, SPELL_FAILED_REQUIRES_AREA, SPELL_FAILED_REQUIRES_SPELL_FOCUS, SPELL_FAILED_ROOTED, SPELL_FAILED_SILENCED, SPELL_FAILED_SPELL_IN_PROGRESS, SPELL_FAILED_SPELL_LEARNED, SPELL_FAILED_SPELL_UNAVAILABLE, SPELL_FAILED_STUNNED, SPELL_FAILED_SUCCESS, SPELL_FAILED_SUMMON_PENDING, SPELL_FAILED_TARGET_AFFECTING_COMBAT, SPELL_FAILED_TARGET_AURASTATE, SPELL_FAILED_TARGET_CANNOT_BE_RESURRECTED, SPELL_FAILED_TARGET_DUELING, SPELL_FAILED_TARGET_ENEMY, SPELL_FAILED_TARGET_ENRAGED, SPELL_FAILED_TARGET_FREEFORALL, SPELL_FAILED_TARGET_FRIENDLY, SPELL_FAILED_TARGET_IN_COMBAT, SPELL_FAILED_TARGET_IS_PLAYER, SPELL_FAILED_TARGET_IS_PLAYER_CONTROLLED, SPELL_FAILED_TARGET_IS_TRIVIAL, SPELL_FAILED_TARGET_LOCKED_TO_RAID_INSTANCE, SPELL_FAILED_TARGET_NO_POCKETS, SPELL_FAILED_TARGET_NO_RANGED_WEAPONS, SPELL_FAILED_TARGET_NO_WEAPONS, SPELL_FAILED_TARGET_NOT_DEAD, SPELL_FAILED_TARGET_NOT_GHOST, SPELL_FAILED_TARGET_NOT_IN_INSTANCE, SPELL_FAILED_TARGET_NOT_IN_PARTY, SPELL_FAILED_TARGET_NOT_IN_RAID, SPELL_FAILED_TARGET_NOT_IN_SANCTUARY, SPELL_FAILED_TARGET_NOT_LOOTED, SPELL_FAILED_TARGET_NOT_PLAYER, SPELL_FAILED_TARGET_UNSKINNABLE, SPELL_FAILED_TARGETS_DEAD, SPELL_FAILED_THIRST_SATIATED, SPELL_FAILED_TOO_CLOSE, SPELL_FAILED_TOO_MANY_OF_ITEM, SPELL_FAILED_TOO_MANY_SOCKETS, SPELL_FAILED_TOO_SHALLOW, SPELL_FAILED_TOTEM_CATEGORY, SPELL_FAILED_TOTEMS, SPELL_FAILED_TRANSFORM_UNUSABLE, SPELL_FAILED_TRY_AGAIN, SPELL_FAILED_UNIQUE_GLYPH, SPELL_FAILED_UNIT_NOT_BEHIND, SPELL_FAILED_UNIT_NOT_INFRONT, SPELL_FAILED_UNKNOWN, SPELL_FAILED_WRONG_PET_FOOD, and SPELL_FAILED_WRONG_WEATHER.

◆ FromIndex() [29/32]

AC_API_EXPORT AuraStateType EnumUtils< AuraStateType >::FromIndex ( std::size_t  index)
1819{
1820 switch (index)
1821 {
1822 case 0: return AURA_STATE_NONE;
1823 case 1: return AURA_STATE_DEFENSE;
1824 case 2: return AURA_STATE_HEALTHLESS_20_PERCENT;
1825 case 3: return AURA_STATE_BERSERKING;
1826 case 4: return AURA_STATE_FROZEN;
1827 case 5: return AURA_STATE_JUDGEMENT;
1828 case 6: return AURA_STATE_HUNTER_PARRY;
1829 case 7: return AURA_STATE_WARRIOR_VICTORY_RUSH;
1830 case 8: return AURA_STATE_FAERIE_FIRE;
1831 case 9: return AURA_STATE_HEALTHLESS_35_PERCENT;
1832 case 10: return AURA_STATE_CONFLAGRATE;
1833 case 11: return AURA_STATE_SWIFTMEND;
1834 case 12: return AURA_STATE_DEADLY_POISON;
1835 case 13: return AURA_STATE_ENRAGE;
1836 case 14: return AURA_STATE_BLEEDING;
1837 case 15: return AURA_STATE_UNKNOWN19;
1838 case 16: return AURA_STATE_UNKNOWN22;
1839 case 17: return AURA_STATE_HEALTH_ABOVE_75_PERCENT;
1840 default: throw std::out_of_range("index");
1841 }
1842}
@ AURA_STATE_DEFENSE
Definition: SharedDefines.h:1292
@ AURA_STATE_NONE
Definition: SharedDefines.h:1291
@ AURA_STATE_FROZEN
Definition: SharedDefines.h:1295
@ AURA_STATE_BERSERKING
Definition: SharedDefines.h:1294
@ AURA_STATE_UNKNOWN19
Definition: SharedDefines.h:1311
@ AURA_STATE_DEADLY_POISON
Definition: SharedDefines.h:1308
@ AURA_STATE_BLEEDING
Definition: SharedDefines.h:1310
@ AURA_STATE_FAERIE_FIRE
Definition: SharedDefines.h:1304
@ AURA_STATE_ENRAGE
Definition: SharedDefines.h:1309
@ AURA_STATE_WARRIOR_VICTORY_RUSH
Definition: SharedDefines.h:1302
@ AURA_STATE_UNKNOWN22
Definition: SharedDefines.h:1314
@ AURA_STATE_JUDGEMENT
Definition: SharedDefines.h:1296
@ AURA_STATE_HEALTHLESS_35_PERCENT
Definition: SharedDefines.h:1305
@ AURA_STATE_SWIFTMEND
Definition: SharedDefines.h:1307
@ AURA_STATE_HEALTH_ABOVE_75_PERCENT
Definition: SharedDefines.h:1315
@ AURA_STATE_HEALTHLESS_20_PERCENT
Definition: SharedDefines.h:1293
@ AURA_STATE_CONFLAGRATE
Definition: SharedDefines.h:1306
@ AURA_STATE_HUNTER_PARRY
Definition: SharedDefines.h:1298

References AURA_STATE_BERSERKING, AURA_STATE_BLEEDING, AURA_STATE_CONFLAGRATE, AURA_STATE_DEADLY_POISON, AURA_STATE_DEFENSE, AURA_STATE_ENRAGE, AURA_STATE_FAERIE_FIRE, AURA_STATE_FROZEN, AURA_STATE_HEALTH_ABOVE_75_PERCENT, AURA_STATE_HEALTHLESS_20_PERCENT, AURA_STATE_HEALTHLESS_35_PERCENT, AURA_STATE_HUNTER_PARRY, AURA_STATE_JUDGEMENT, AURA_STATE_NONE, AURA_STATE_SWIFTMEND, AURA_STATE_UNKNOWN19, AURA_STATE_UNKNOWN22, and AURA_STATE_WARRIOR_VICTORY_RUSH.

◆ FromIndex() [30/32]

AC_API_EXPORT Mechanics EnumUtils< Mechanics >::FromIndex ( std::size_t  index)
1920{
1921 switch (index)
1922 {
1923 case 0: return MECHANIC_NONE;
1924 case 1: return MECHANIC_CHARM;
1925 case 2: return MECHANIC_DISORIENTED;
1926 case 3: return MECHANIC_DISARM;
1927 case 4: return MECHANIC_DISTRACT;
1928 case 5: return MECHANIC_FEAR;
1929 case 6: return MECHANIC_GRIP;
1930 case 7: return MECHANIC_ROOT;
1931 case 8: return MECHANIC_SLOW_ATTACK;
1932 case 9: return MECHANIC_SILENCE;
1933 case 10: return MECHANIC_SLEEP;
1934 case 11: return MECHANIC_SNARE;
1935 case 12: return MECHANIC_STUN;
1936 case 13: return MECHANIC_FREEZE;
1937 case 14: return MECHANIC_KNOCKOUT;
1938 case 15: return MECHANIC_BLEED;
1939 case 16: return MECHANIC_BANDAGE;
1940 case 17: return MECHANIC_POLYMORPH;
1941 case 18: return MECHANIC_BANISH;
1942 case 19: return MECHANIC_SHIELD;
1943 case 20: return MECHANIC_SHACKLE;
1944 case 21: return MECHANIC_MOUNT;
1945 case 22: return MECHANIC_INFECTED;
1946 case 23: return MECHANIC_TURN;
1947 case 24: return MECHANIC_HORROR;
1948 case 25: return MECHANIC_INVULNERABILITY;
1949 case 26: return MECHANIC_INTERRUPT;
1950 case 27: return MECHANIC_DAZE;
1951 case 28: return MECHANIC_DISCOVERY;
1952 case 29: return MECHANIC_IMMUNE_SHIELD;
1953 case 30: return MECHANIC_SAPPED;
1954 case 31: return MECHANIC_ENRAGED;
1955 default: throw std::out_of_range("index");
1956 }
1957}
@ MECHANIC_SLOW_ATTACK
Definition: SharedDefines.h:1333
@ MECHANIC_DISARM
Definition: SharedDefines.h:1328
@ MECHANIC_NONE
Definition: SharedDefines.h:1325
@ MECHANIC_ENRAGED
Definition: SharedDefines.h:1356
@ MECHANIC_MOUNT
Definition: SharedDefines.h:1346
@ MECHANIC_FEAR
Definition: SharedDefines.h:1330
@ MECHANIC_INVULNERABILITY
Definition: SharedDefines.h:1350
@ MECHANIC_DISORIENTED
Definition: SharedDefines.h:1327
@ MECHANIC_KNOCKOUT
Definition: SharedDefines.h:1339
@ MECHANIC_CHARM
Definition: SharedDefines.h:1326
@ MECHANIC_TURN
Definition: SharedDefines.h:1348
@ MECHANIC_STUN
Definition: SharedDefines.h:1337
@ MECHANIC_FREEZE
Definition: SharedDefines.h:1338
@ MECHANIC_INTERRUPT
Definition: SharedDefines.h:1351
@ MECHANIC_ROOT
Definition: SharedDefines.h:1332
@ MECHANIC_BANDAGE
Definition: SharedDefines.h:1341
@ MECHANIC_GRIP
Definition: SharedDefines.h:1331
@ MECHANIC_SLEEP
Definition: SharedDefines.h:1335
@ MECHANIC_BLEED
Definition: SharedDefines.h:1340
@ MECHANIC_POLYMORPH
Definition: SharedDefines.h:1342
@ MECHANIC_BANISH
Definition: SharedDefines.h:1343
@ MECHANIC_DAZE
Definition: SharedDefines.h:1352
@ MECHANIC_IMMUNE_SHIELD
Definition: SharedDefines.h:1354
@ MECHANIC_SNARE
Definition: SharedDefines.h:1336
@ MECHANIC_SILENCE
Definition: SharedDefines.h:1334
@ MECHANIC_SHACKLE
Definition: SharedDefines.h:1345
@ MECHANIC_SAPPED
Definition: SharedDefines.h:1355
@ MECHANIC_DISTRACT
Definition: SharedDefines.h:1329
@ MECHANIC_DISCOVERY
Definition: SharedDefines.h:1353
@ MECHANIC_SHIELD
Definition: SharedDefines.h:1344
@ MECHANIC_HORROR
Definition: SharedDefines.h:1349
@ MECHANIC_INFECTED
Definition: SharedDefines.h:1347

References MECHANIC_BANDAGE, MECHANIC_BANISH, MECHANIC_BLEED, MECHANIC_CHARM, MECHANIC_DAZE, MECHANIC_DISARM, MECHANIC_DISCOVERY, MECHANIC_DISORIENTED, MECHANIC_DISTRACT, MECHANIC_ENRAGED, MECHANIC_FEAR, MECHANIC_FREEZE, MECHANIC_GRIP, MECHANIC_HORROR, MECHANIC_IMMUNE_SHIELD, MECHANIC_INFECTED, MECHANIC_INTERRUPT, MECHANIC_INVULNERABILITY, MECHANIC_KNOCKOUT, MECHANIC_MOUNT, MECHANIC_NONE, MECHANIC_POLYMORPH, MECHANIC_ROOT, MECHANIC_SAPPED, MECHANIC_SHACKLE, MECHANIC_SHIELD, MECHANIC_SILENCE, MECHANIC_SLEEP, MECHANIC_SLOW_ATTACK, MECHANIC_SNARE, MECHANIC_STUN, and MECHANIC_TURN.

◆ FromIndex() [31/32]

AC_API_EXPORT Emote EnumUtils< Emote >::FromIndex ( std::size_t  index)
2191{
2192 switch (index)
2193 {
2194 case 0: return EMOTE_ONESHOT_TALK;
2195 case 1: return EMOTE_ONESHOT_BOW;
2196 case 2: return EMOTE_ONESHOT_WAVE;
2197 case 3: return EMOTE_ONESHOT_CHEER;
2198 case 4: return EMOTE_ONESHOT_EXCLAMATION;
2199 case 5: return EMOTE_ONESHOT_QUESTION;
2200 case 6: return EMOTE_ONESHOT_EAT;
2201 case 7: return EMOTE_STATE_DANCE;
2202 case 8: return EMOTE_ONESHOT_LAUGH;
2203 case 9: return EMOTE_STATE_SLEEP;
2204 case 10: return EMOTE_STATE_SIT;
2205 case 11: return EMOTE_ONESHOT_RUDE;
2206 case 12: return EMOTE_ONESHOT_ROAR;
2207 case 13: return EMOTE_ONESHOT_KNEEL;
2208 case 14: return EMOTE_ONESHOT_KISS;
2209 case 15: return EMOTE_ONESHOT_CRY;
2210 case 16: return EMOTE_ONESHOT_CHICKEN;
2211 case 17: return EMOTE_ONESHOT_BEG;
2212 case 18: return EMOTE_ONESHOT_APPLAUD;
2213 case 19: return EMOTE_ONESHOT_SHOUT;
2214 case 20: return EMOTE_ONESHOT_FLEX;
2215 case 21: return EMOTE_ONESHOT_SHY;
2216 case 22: return EMOTE_ONESHOT_POINT;
2217 case 23: return EMOTE_STATE_STAND;
2218 case 24: return EMOTE_STATE_READY_UNARMED;
2219 case 25: return EMOTE_STATE_WORK_SHEATHED;
2220 case 26: return EMOTE_STATE_POINT;
2221 case 27: return EMOTE_STATE_NONE;
2222 case 28: return EMOTE_ONESHOT_WOUND;
2223 case 29: return EMOTE_ONESHOT_WOUND_CRITICAL;
2224 case 30: return EMOTE_ONESHOT_ATTACK_UNARMED;
2225 case 31: return EMOTE_ONESHOT_ATTACK1H;
2226 case 32: return EMOTE_ONESHOT_ATTACK2HTIGHT;
2227 case 33: return EMOTE_ONESHOT_ATTACK2H_LOOSE;
2228 case 34: return EMOTE_ONESHOT_PARRY_UNARMED;
2229 case 35: return EMOTE_ONESHOT_PARRY_SHIELD;
2230 case 36: return EMOTE_ONESHOT_READY_UNARMED;
2231 case 37: return EMOTE_ONESHOT_READY1H;
2232 case 38: return EMOTE_ONESHOT_READY_BOW;
2233 case 39: return EMOTE_ONESHOT_SPELL_PRECAST;
2234 case 40: return EMOTE_ONESHOT_SPELL_CAST;
2235 case 41: return EMOTE_ONESHOT_BATTLE_ROAR;
2236 case 42: return EMOTE_ONESHOT_SPECIALATTACK1H;
2237 case 43: return EMOTE_ONESHOT_KICK;
2238 case 44: return EMOTE_ONESHOT_ATTACK_THROWN;
2239 case 45: return EMOTE_STATE_STUN;
2240 case 46: return EMOTE_STATE_DEAD;
2241 case 47: return EMOTE_ONESHOT_SALUTE;
2242 case 48: return EMOTE_STATE_KNEEL;
2243 case 49: return EMOTE_STATE_USE_STANDING;
2244 case 50: return EMOTE_ONESHOT_WAVE_NO_SHEATHE;
2245 case 51: return EMOTE_ONESHOT_CHEER_NO_SHEATHE;
2246 case 52: return EMOTE_ONESHOT_EAT_NO_SHEATHE;
2247 case 53: return EMOTE_STATE_STUN_NO_SHEATHE;
2248 case 54: return EMOTE_ONESHOT_DANCE;
2249 case 55: return EMOTE_ONESHOT_SALUTE_NO_SHEATH;
2251 case 57: return EMOTE_ONESHOT_LAUGH_NO_SHEATHE;
2252 case 58: return EMOTE_STATE_WORK;
2253 case 59: return EMOTE_STATE_SPELL_PRECAST;
2254 case 60: return EMOTE_ONESHOT_READY_RIFLE;
2255 case 61: return EMOTE_STATE_READY_RIFLE;
2256 case 62: return EMOTE_STATE_WORK_MINING;
2257 case 63: return EMOTE_STATE_WORK_CHOPWOOD;
2258 case 64: return EMOTE_STATE_APPLAUD;
2259 case 65: return EMOTE_ONESHOT_LIFTOFF;
2260 case 66: return EMOTE_ONESHOT_YES;
2261 case 67: return EMOTE_ONESHOT_NO;
2262 case 68: return EMOTE_ONESHOT_TRAIN;
2263 case 69: return EMOTE_ONESHOT_LAND;
2264 case 70: return EMOTE_STATE_AT_EASE;
2265 case 71: return EMOTE_STATE_READY1H;
2266 case 72: return EMOTE_STATE_SPELL_KNEEL_START;
2267 case 73: return EMOTE_STATE_SUBMERGED;
2268 case 74: return EMOTE_ONESHOT_SUBMERGE;
2269 case 75: return EMOTE_STATE_READY2H;
2270 case 76: return EMOTE_STATE_READY_BOW;
2271 case 77: return EMOTE_ONESHOT_MOUNT_SPECIAL;
2272 case 78: return EMOTE_STATE_TALK;
2273 case 79: return EMOTE_STATE_FISHING;
2274 case 80: return EMOTE_ONESHOT_FISHING;
2275 case 81: return EMOTE_ONESHOT_LOOT;
2276 case 82: return EMOTE_STATE_WHIRLWIND;
2277 case 83: return EMOTE_STATE_DROWNED;
2278 case 84: return EMOTE_STATE_HOLD_BOW;
2279 case 85: return EMOTE_STATE_HOLD_RIFLE;
2280 case 86: return EMOTE_STATE_HOLD_THROWN;
2281 case 87: return EMOTE_ONESHOT_DROWN;
2282 case 88: return EMOTE_ONESHOT_STOMP;
2283 case 89: return EMOTE_ONESHOT_ATTACK_OFF;
2284 case 90: return EMOTE_ONESHOT_ATTACK_OFF_PIERCE;
2285 case 91: return EMOTE_STATE_ROAR;
2286 case 92: return EMOTE_STATE_LAUGH;
2287 case 93: return EMOTE_ONESHOT_CREATURE_SPECIAL;
2288 case 94: return EMOTE_ONESHOT_JUMPLANDRUN;
2289 case 95: return EMOTE_ONESHOT_JUMPEND;
2290 case 96: return EMOTE_ONESHOT_TALK_NO_SHEATHE;
2291 case 97: return EMOTE_ONESHOT_POINT_NO_SHEATHE;
2292 case 98: return EMOTE_STATE_CANNIBALIZE;
2293 case 99: return EMOTE_ONESHOT_JUMPSTART;
2294 case 100: return EMOTE_STATE_DANCESPECIAL;
2295 case 101: return EMOTE_ONESHOT_DANCESPECIAL;
2296 case 102: return EMOTE_ONESHOT_CUSTOM_SPELL_01;
2297 case 103: return EMOTE_ONESHOT_CUSTOM_SPELL_02;
2298 case 104: return EMOTE_ONESHOT_CUSTOM_SPELL_03;
2299 case 105: return EMOTE_ONESHOT_CUSTOM_SPELL_04;
2300 case 106: return EMOTE_ONESHOT_CUSTOM_SPELL_05;
2301 case 107: return EMOTE_ONESHOT_CUSTOM_SPELL_06;
2302 case 108: return EMOTE_ONESHOT_CUSTOM_SPELL_07;
2303 case 109: return EMOTE_ONESHOT_CUSTOM_SPELL_08;
2304 case 110: return EMOTE_ONESHOT_CUSTOM_SPELL_09;
2305 case 111: return EMOTE_ONESHOT_CUSTOM_SPELL_10;
2306 case 112: return EMOTE_STATE_EXCLAIM;
2307 case 113: return EMOTE_STATE_DANCE_CUSTOM;
2308 case 114: return EMOTE_STATE_SIT_CHAIR_MED;
2309 case 115: return EMOTE_STATE_CUSTOM_SPELL_01;
2310 case 116: return EMOTE_STATE_CUSTOM_SPELL_02;
2311 case 117: return EMOTE_STATE_EAT;
2312 case 118: return EMOTE_STATE_CUSTOM_SPELL_04;
2313 case 119: return EMOTE_STATE_CUSTOM_SPELL_03;
2314 case 120: return EMOTE_STATE_CUSTOM_SPELL_05;
2315 case 121: return EMOTE_STATE_SPELLEFFECT_HOLD;
2316 case 122: return EMOTE_STATE_EAT_NO_SHEATHE;
2317 case 123: return EMOTE_STATE_MOUNT;
2318 case 124: return EMOTE_STATE_READY2HL;
2319 case 125: return EMOTE_STATE_SIT_CHAIR_HIGH;
2320 case 126: return EMOTE_STATE_FALL;
2321 case 127: return EMOTE_STATE_LOOT;
2322 case 128: return EMOTE_STATE_SUBMERGED_NEW;
2323 case 129: return EMOTE_ONESHOT_COWER;
2324 case 130: return EMOTE_STATE_COWER;
2325 case 131: return EMOTE_ONESHOT_USE_STANDING;
2326 case 132: return EMOTE_STATE_STEALTH_STAND;
2327 case 133: return EMOTE_ONESHOT_OMNICAST_GHOUL;
2328 case 134: return EMOTE_ONESHOT_ATTACK_BOW;
2329 case 135: return EMOTE_ONESHOT_ATTACK_RIFLE;
2330 case 136: return EMOTE_STATE_SWIM_IDLE;
2331 case 137: return EMOTE_STATE_ATTACK_UNARMED;
2332 case 138: return EMOTE_ONESHOT_SPELL_CAST_W_SOUND;
2333 case 139: return EMOTE_ONESHOT_DODGE;
2334 case 140: return EMOTE_ONESHOT_PARRY1H;
2335 case 141: return EMOTE_ONESHOT_PARRY2H;
2336 case 142: return EMOTE_ONESHOT_PARRY2HL;
2337 case 143: return EMOTE_STATE_FLYFALL;
2338 case 144: return EMOTE_ONESHOT_FLYDEATH;
2339 case 145: return EMOTE_STATE_FLY_FALL;
2340 case 146: return EMOTE_ONESHOT_FLY_SIT_GROUND_DOWN;
2341 case 147: return EMOTE_ONESHOT_FLY_SIT_GROUND_UP;
2342 case 148: return EMOTE_ONESHOT_EMERGE;
2343 case 149: return EMOTE_ONESHOT_DRAGON_SPIT;
2344 case 150: return EMOTE_STATE_SPECIAL_UNARMED;
2345 case 151: return EMOTE_ONESHOT_FLYGRAB;
2346 case 152: return EMOTE_STATE_FLYGRABCLOSED;
2347 case 153: return EMOTE_ONESHOT_FLYGRABTHROWN;
2348 case 154: return EMOTE_STATE_FLY_SIT_GROUND;
2349 case 155: return EMOTE_STATE_WALK_BACKWARDS;
2350 case 156: return EMOTE_ONESHOT_FLYTALK;
2351 case 157: return EMOTE_ONESHOT_FLYATTACK1H;
2352 case 158: return EMOTE_STATE_CUSTOM_SPELL_08;
2353 case 159: return EMOTE_ONESHOT_FLY_DRAGON_SPIT;
2354 case 160: return EMOTE_STATE_SIT_CHAIR_LOW;
2355 case 161: return EMOTE_ONESHOT_STUN;
2356 case 162: return EMOTE_ONESHOT_SPELL_CAST_OMNI;
2357 case 163: return EMOTE_STATE_READY_THROWN;
2358 case 164: return EMOTE_ONESHOT_WORK_CHOPWOOD;
2359 case 165: return EMOTE_ONESHOT_WORK_MINING;
2360 case 166: return EMOTE_STATE_SPELL_CHANNEL_OMNI;
2361 case 167: return EMOTE_STATE_SPELL_CHANNEL_DIRECTED;
2362 case 168: return EMOTE_STAND_STATE_NONE;
2363 case 169: return EMOTE_STATE_READYJOUST;
2364 case 170: return EMOTE_STATE_STRANGULATE;
2365 case 171: return EMOTE_STATE_READY_SPELL_OMNI;
2366 case 172: return EMOTE_STATE_HOLD_JOUST;
2367 case 173: return EMOTE_ONESHOT_CRY_JAINA;
2368 default: throw std::out_of_range("index");
2369 }
2370}
@ EMOTE_ONESHOT_PARRY2H
Definition: SharedDefines.h:2036
@ EMOTE_ONESHOT_CUSTOM_SPELL_06
Definition: SharedDefines.h:2002
@ EMOTE_ONESHOT_CHEER_NO_SHEATHE
Definition: SharedDefines.h:1946
@ EMOTE_STATE_HOLD_RIFLE
Definition: SharedDefines.h:1980
@ EMOTE_ONESHOT_CUSTOM_SPELL_03
Definition: SharedDefines.h:1999
@ EMOTE_ONESHOT_PARRY_UNARMED
Definition: SharedDefines.h:1929
@ EMOTE_STATE_SPELL_PRECAST
Definition: SharedDefines.h:1954
@ EMOTE_STATE_WORK_SHEATHED
Definition: SharedDefines.h:1920
@ EMOTE_STATE_EAT
Definition: SharedDefines.h:2012
@ EMOTE_ONESHOT_CRY_JAINA
Definition: SharedDefines.h:2068
@ EMOTE_ONESHOT_LAUGH_NO_SHEATHE
Definition: SharedDefines.h:1952
@ EMOTE_STATE_READY_SPELL_OMNI
Definition: SharedDefines.h:2066
@ EMOTE_STATE_READY_RIFLE
Definition: SharedDefines.h:1956
@ EMOTE_STATE_SLEEP
Definition: SharedDefines.h:1904
@ EMOTE_ONESHOT_PARRY2HL
Definition: SharedDefines.h:2037
@ EMOTE_STATE_READY1H
Definition: SharedDefines.h:1966
@ EMOTE_ONESHOT_SPECIALATTACK1H
Definition: SharedDefines.h:1937
@ EMOTE_ONESHOT_LOOT
Definition: SharedDefines.h:1976
@ EMOTE_ONESHOT_ATTACK_THROWN
Definition: SharedDefines.h:1939
@ EMOTE_STATE_SIT_CHAIR_LOW
Definition: SharedDefines.h:2055
@ EMOTE_ONESHOT_FLY_SIT_GROUND_UP
Definition: SharedDefines.h:2042
@ EMOTE_ONESHOT_KNEEL
Definition: SharedDefines.h:1908
@ EMOTE_STATE_CUSTOM_SPELL_03
Definition: SharedDefines.h:2014
@ EMOTE_STATE_SIT
Definition: SharedDefines.h:1905
@ EMOTE_ONESHOT_KICK
Definition: SharedDefines.h:1938
@ EMOTE_ONESHOT_WORK_CHOPWOOD
Definition: SharedDefines.h:2059
@ EMOTE_ONESHOT_NO
Definition: SharedDefines.h:1962
@ EMOTE_ONESHOT_USE_STANDING
Definition: SharedDefines.h:2026
@ EMOTE_STATE_FLY_FALL
Definition: SharedDefines.h:2040
@ EMOTE_ONESHOT_POINT
Definition: SharedDefines.h:1917
@ EMOTE_ONESHOT_JUMPSTART
Definition: SharedDefines.h:1994
@ EMOTE_ONESHOT_ATTACK2HTIGHT
Definition: SharedDefines.h:1927
@ EMOTE_ONESHOT_WOUND_CRITICAL
Definition: SharedDefines.h:1924
@ EMOTE_ONESHOT_POINT_NO_SHEATHE
Definition: SharedDefines.h:1992
@ EMOTE_STATE_STAND
Definition: SharedDefines.h:1918
@ EMOTE_ONESHOT_SPELL_PRECAST
Definition: SharedDefines.h:1934
@ EMOTE_ONESHOT_YES
Definition: SharedDefines.h:1961
@ EMOTE_ONESHOT_EXCLAMATION
Definition: SharedDefines.h:1899
@ EMOTE_STATE_FISHING
Definition: SharedDefines.h:1974
@ EMOTE_STATE_SIT_CHAIR_MED
Definition: SharedDefines.h:2009
@ EMOTE_ONESHOT_SPELL_CAST_OMNI
Definition: SharedDefines.h:2057
@ EMOTE_STATE_WORK_MINING
Definition: SharedDefines.h:1957
@ EMOTE_STAND_STATE_NONE
Definition: SharedDefines.h:2063
@ EMOTE_ONESHOT_ATTACK1H
Definition: SharedDefines.h:1926
@ EMOTE_ONESHOT_APPLAUD
Definition: SharedDefines.h:1913
@ EMOTE_ONESHOT_JUMPEND
Definition: SharedDefines.h:1990
@ EMOTE_STATE_STRANGULATE
Definition: SharedDefines.h:2065
@ EMOTE_STATE_READYJOUST
Definition: SharedDefines.h:2064
@ EMOTE_ONESHOT_LAND
Definition: SharedDefines.h:1964
@ EMOTE_STATE_LAUGH
Definition: SharedDefines.h:1987
@ EMOTE_STATE_POINT
Definition: SharedDefines.h:1921
@ EMOTE_STATE_SPELL_CHANNEL_DIRECTED
Definition: SharedDefines.h:2062
@ EMOTE_ONESHOT_CUSTOM_SPELL_01
Definition: SharedDefines.h:1997
@ EMOTE_STATE_STEALTH_STAND
Definition: SharedDefines.h:2027
@ EMOTE_STATE_WORK_CHOPWOOD
Definition: SharedDefines.h:1958
@ EMOTE_ONESHOT_FLYGRABTHROWN
Definition: SharedDefines.h:2048
@ EMOTE_STATE_FLY_SIT_GROUND
Definition: SharedDefines.h:2049
@ EMOTE_STATE_TALK
Definition: SharedDefines.h:1973
@ EMOTE_ONESHOT_PARRY1H
Definition: SharedDefines.h:2035
@ EMOTE_ONESHOT_CREATURE_SPECIAL
Definition: SharedDefines.h:1988
@ EMOTE_ONESHOT_QUESTION
Definition: SharedDefines.h:1900
@ EMOTE_ONESHOT_ATTACK_RIFLE
Definition: SharedDefines.h:2030
@ EMOTE_STATE_SPELLEFFECT_HOLD
Definition: SharedDefines.h:2016
@ EMOTE_ONESHOT_CUSTOM_SPELL_02
Definition: SharedDefines.h:1998
@ EMOTE_ONESHOT_SPELL_CAST_W_SOUND
Definition: SharedDefines.h:2033
@ EMOTE_STATE_DANCE_CUSTOM
Definition: SharedDefines.h:2008
@ EMOTE_ONESHOT_OMNICAST_GHOUL
Definition: SharedDefines.h:2028
@ EMOTE_ONESHOT_COWER
Definition: SharedDefines.h:2024
@ EMOTE_STATE_CUSTOM_SPELL_08
Definition: SharedDefines.h:2053
@ EMOTE_ONESHOT_SALUTE_NO_SHEATH
Definition: SharedDefines.h:1950
@ EMOTE_ONESHOT_STOMP
Definition: SharedDefines.h:1983
@ EMOTE_ONESHOT_SHY
Definition: SharedDefines.h:1916
@ EMOTE_STATE_SPELL_CHANNEL_OMNI
Definition: SharedDefines.h:2061
@ EMOTE_ONESHOT_READY_BOW
Definition: SharedDefines.h:1933
@ EMOTE_ONESHOT_DRAGON_SPIT
Definition: SharedDefines.h:2044
@ EMOTE_ONESHOT_CUSTOM_SPELL_09
Definition: SharedDefines.h:2005
@ EMOTE_ONESHOT_CUSTOM_SPELL_07
Definition: SharedDefines.h:2003
@ EMOTE_ONESHOT_FLYTALK
Definition: SharedDefines.h:2051
@ EMOTE_ONESHOT_FLYGRAB
Definition: SharedDefines.h:2046
@ EMOTE_ONESHOT_DROWN
Definition: SharedDefines.h:1982
@ EMOTE_STATE_LOOT
Definition: SharedDefines.h:2022
@ EMOTE_ONESHOT_WOUND
Definition: SharedDefines.h:1923
@ EMOTE_ONESHOT_BEG
Definition: SharedDefines.h:1912
@ EMOTE_ONESHOT_FLYATTACK1H
Definition: SharedDefines.h:2052
@ EMOTE_STATE_COWER
Definition: SharedDefines.h:2025
@ EMOTE_STATE_CUSTOM_SPELL_04
Definition: SharedDefines.h:2013
@ EMOTE_ONESHOT_FLY_SIT_GROUND_DOWN
Definition: SharedDefines.h:2041
@ EMOTE_STATE_DANCESPECIAL
Definition: SharedDefines.h:1995
@ EMOTE_STATE_HOLD_JOUST
Definition: SharedDefines.h:2067
@ EMOTE_ONESHOT_BATTLE_ROAR
Definition: SharedDefines.h:1936
@ EMOTE_STATE_DEAD
Definition: SharedDefines.h:1941
@ EMOTE_STATE_READY_UNARMED
Definition: SharedDefines.h:1919
@ EMOTE_STATE_READY_BOW
Definition: SharedDefines.h:1971
@ EMOTE_STATE_APPLAUD
Definition: SharedDefines.h:1959
@ EMOTE_ONESHOT_CUSTOM_SPELL_04
Definition: SharedDefines.h:2000
@ EMOTE_STATE_SWIM_IDLE
Definition: SharedDefines.h:2031
@ EMOTE_ONESHOT_CUSTOM_SPELL_10
Definition: SharedDefines.h:2006
@ EMOTE_STATE_AT_EASE
Definition: SharedDefines.h:1965
@ EMOTE_ONESHOT_LAUGH
Definition: SharedDefines.h:1903
@ EMOTE_STATE_FLYGRABCLOSED
Definition: SharedDefines.h:2047
@ EMOTE_STATE_WHIRLWIND
Definition: SharedDefines.h:1977
@ EMOTE_ONESHOT_FLEX
Definition: SharedDefines.h:1915
@ EMOTE_ONESHOT_CHEER
Definition: SharedDefines.h:1898
@ EMOTE_STATE_STUN_NO_SHEATHE
Definition: SharedDefines.h:1948
@ EMOTE_ONESHOT_EAT
Definition: SharedDefines.h:1901
@ EMOTE_ONESHOT_WORK_MINING
Definition: SharedDefines.h:2060
@ EMOTE_ONESHOT_EMERGE
Definition: SharedDefines.h:2043
@ EMOTE_STATE_SIT_CHAIR_HIGH
Definition: SharedDefines.h:2020
@ EMOTE_ONESHOT_DODGE
Definition: SharedDefines.h:2034
@ EMOTE_ONESHOT_ATTACK2H_LOOSE
Definition: SharedDefines.h:1928
@ EMOTE_ONESHOT_ATTACK_UNARMED
Definition: SharedDefines.h:1925
@ EMOTE_ONESHOT_READY1H
Definition: SharedDefines.h:1932
@ EMOTE_ONESHOT_CHICKEN
Definition: SharedDefines.h:1911
@ EMOTE_ONESHOT_ROAR
Definition: SharedDefines.h:1907
@ EMOTE_ONESHOT_BOW
Definition: SharedDefines.h:1896
@ EMOTE_STATE_HOLD_BOW
Definition: SharedDefines.h:1979
@ EMOTE_STATE_CUSTOM_SPELL_05
Definition: SharedDefines.h:2015
@ EMOTE_ONESHOT_WAVE_NO_SHEATHE
Definition: SharedDefines.h:1945
@ EMOTE_ONESHOT_SUBMERGE
Definition: SharedDefines.h:1969
@ EMOTE_ONESHOT_CUSTOM_SPELL_05
Definition: SharedDefines.h:2001
@ EMOTE_ONESHOT_FLY_DRAGON_SPIT
Definition: SharedDefines.h:2054
@ EMOTE_STATE_STUN
Definition: SharedDefines.h:1940
@ EMOTE_STATE_READY_THROWN
Definition: SharedDefines.h:2058
@ EMOTE_STATE_READY2HL
Definition: SharedDefines.h:2019
@ EMOTE_ONESHOT_FLYDEATH
Definition: SharedDefines.h:2039
@ EMOTE_ONESHOT_RUDE
Definition: SharedDefines.h:1906
@ EMOTE_STATE_SPECIAL_UNARMED
Definition: SharedDefines.h:2045
@ EMOTE_ONESHOT_CRY
Definition: SharedDefines.h:1910
@ EMOTE_ONESHOT_SALUTE
Definition: SharedDefines.h:1942
@ EMOTE_STATE_KNEEL
Definition: SharedDefines.h:1943
@ EMOTE_STATE_DANCE
Definition: SharedDefines.h:1902
@ EMOTE_ONESHOT_ATTACK_OFF
Definition: SharedDefines.h:1984
@ EMOTE_STATE_ROAR
Definition: SharedDefines.h:1986
@ EMOTE_STATE_NONE
Definition: SharedDefines.h:1922
@ EMOTE_ONESHOT_CUSTOM_SPELL_08
Definition: SharedDefines.h:2004
@ EMOTE_STATE_EAT_NO_SHEATHE
Definition: SharedDefines.h:2017
@ EMOTE_ONESHOT_DANCE
Definition: SharedDefines.h:1949
@ EMOTE_ONESHOT_READY_RIFLE
Definition: SharedDefines.h:1955
@ EMOTE_STATE_READY2H
Definition: SharedDefines.h:1970
@ EMOTE_STATE_MOUNT
Definition: SharedDefines.h:2018
@ EMOTE_ONESHOT_READY_UNARMED
Definition: SharedDefines.h:1931
@ EMOTE_ONESHOT_STUN
Definition: SharedDefines.h:2056
@ EMOTE_ONESHOT_EAT_NO_SHEATHE
Definition: SharedDefines.h:1947
@ EMOTE_ONESHOT_JUMPLANDRUN
Definition: SharedDefines.h:1989
@ EMOTE_STATE_HOLD_THROWN
Definition: SharedDefines.h:1981
@ EMOTE_STATE_FALL
Definition: SharedDefines.h:2021
@ EMOTE_ONESHOT_MOUNT_SPECIAL
Definition: SharedDefines.h:1972
@ EMOTE_ONESHOT_TRAIN
Definition: SharedDefines.h:1963
@ EMOTE_ONESHOT_PARRY_SHIELD
Definition: SharedDefines.h:1930
@ EMOTE_STATE_ATTACK_UNARMED
Definition: SharedDefines.h:2032
@ EMOTE_ONESHOT_ATTACK_OFF_PIERCE
Definition: SharedDefines.h:1985
@ EMOTE_STATE_EXCLAIM
Definition: SharedDefines.h:2007
@ EMOTE_STATE_WORK
Definition: SharedDefines.h:1953
@ EMOTE_ONESHOT_LIFTOFF
Definition: SharedDefines.h:1960
@ EMOTE_ONESHOT_FISHING
Definition: SharedDefines.h:1975
@ EMOTE_STATE_SUBMERGED_NEW
Definition: SharedDefines.h:2023
@ EMOTE_ONESHOT_KISS
Definition: SharedDefines.h:1909
@ EMOTE_ONESHOT_ATTACK_BOW
Definition: SharedDefines.h:2029
@ EMOTE_STATE_WALK_BACKWARDS
Definition: SharedDefines.h:2050
@ EMOTE_STATE_FLYFALL
Definition: SharedDefines.h:2038
@ EMOTE_STATE_CANNIBALIZE
Definition: SharedDefines.h:1993
@ EMOTE_ONESHOT_TALK_NO_SHEATHE
Definition: SharedDefines.h:1991
@ EMOTE_ONESHOT_SHOUT
Definition: SharedDefines.h:1914
@ EMOTE_ONESHOT_SPELL_CAST
Definition: SharedDefines.h:1935
@ EMOTE_ONESHOT_WAVE
Definition: SharedDefines.h:1897
@ EMOTE_STATE_DROWNED
Definition: SharedDefines.h:1978
@ EMOTE_ONESHOT_DANCESPECIAL
Definition: SharedDefines.h:1996
@ EMOTE_STATE_SPELL_KNEEL_START
Definition: SharedDefines.h:1967
@ EMOTE_STATE_CUSTOM_SPELL_01
Definition: SharedDefines.h:2010
@ EMOTE_STATE_SUBMERGED
Definition: SharedDefines.h:1968
@ EMOTE_ONESHOT_TALK
Definition: SharedDefines.h:1895
@ EMOTE_STATE_USE_STANDING
Definition: SharedDefines.h:1944
@ EMOTE_STATE_USE_STANDING_NO_SHEATHE
Definition: SharedDefines.h:1951
@ EMOTE_STATE_CUSTOM_SPELL_02
Definition: SharedDefines.h:2011

References EMOTE_ONESHOT_APPLAUD, EMOTE_ONESHOT_ATTACK1H, EMOTE_ONESHOT_ATTACK2H_LOOSE, EMOTE_ONESHOT_ATTACK2HTIGHT, EMOTE_ONESHOT_ATTACK_BOW, EMOTE_ONESHOT_ATTACK_OFF, EMOTE_ONESHOT_ATTACK_OFF_PIERCE, EMOTE_ONESHOT_ATTACK_RIFLE, EMOTE_ONESHOT_ATTACK_THROWN, EMOTE_ONESHOT_ATTACK_UNARMED, EMOTE_ONESHOT_BATTLE_ROAR, EMOTE_ONESHOT_BEG, EMOTE_ONESHOT_BOW, EMOTE_ONESHOT_CHEER, EMOTE_ONESHOT_CHEER_NO_SHEATHE, EMOTE_ONESHOT_CHICKEN, EMOTE_ONESHOT_COWER, EMOTE_ONESHOT_CREATURE_SPECIAL, EMOTE_ONESHOT_CRY, EMOTE_ONESHOT_CRY_JAINA, EMOTE_ONESHOT_CUSTOM_SPELL_01, EMOTE_ONESHOT_CUSTOM_SPELL_02, EMOTE_ONESHOT_CUSTOM_SPELL_03, EMOTE_ONESHOT_CUSTOM_SPELL_04, EMOTE_ONESHOT_CUSTOM_SPELL_05, EMOTE_ONESHOT_CUSTOM_SPELL_06, EMOTE_ONESHOT_CUSTOM_SPELL_07, EMOTE_ONESHOT_CUSTOM_SPELL_08, EMOTE_ONESHOT_CUSTOM_SPELL_09, EMOTE_ONESHOT_CUSTOM_SPELL_10, EMOTE_ONESHOT_DANCE, EMOTE_ONESHOT_DANCESPECIAL, EMOTE_ONESHOT_DODGE, EMOTE_ONESHOT_DRAGON_SPIT, EMOTE_ONESHOT_DROWN, EMOTE_ONESHOT_EAT, EMOTE_ONESHOT_EAT_NO_SHEATHE, EMOTE_ONESHOT_EMERGE, EMOTE_ONESHOT_EXCLAMATION, EMOTE_ONESHOT_FISHING, EMOTE_ONESHOT_FLEX, EMOTE_ONESHOT_FLY_DRAGON_SPIT, EMOTE_ONESHOT_FLY_SIT_GROUND_DOWN, EMOTE_ONESHOT_FLY_SIT_GROUND_UP, EMOTE_ONESHOT_FLYATTACK1H, EMOTE_ONESHOT_FLYDEATH, EMOTE_ONESHOT_FLYGRAB, EMOTE_ONESHOT_FLYGRABTHROWN, EMOTE_ONESHOT_FLYTALK, EMOTE_ONESHOT_JUMPEND, EMOTE_ONESHOT_JUMPLANDRUN, EMOTE_ONESHOT_JUMPSTART, EMOTE_ONESHOT_KICK, EMOTE_ONESHOT_KISS, EMOTE_ONESHOT_KNEEL, EMOTE_ONESHOT_LAND, EMOTE_ONESHOT_LAUGH, EMOTE_ONESHOT_LAUGH_NO_SHEATHE, EMOTE_ONESHOT_LIFTOFF, EMOTE_ONESHOT_LOOT, EMOTE_ONESHOT_MOUNT_SPECIAL, EMOTE_ONESHOT_NO, EMOTE_ONESHOT_OMNICAST_GHOUL, EMOTE_ONESHOT_PARRY1H, EMOTE_ONESHOT_PARRY2H, EMOTE_ONESHOT_PARRY2HL, EMOTE_ONESHOT_PARRY_SHIELD, EMOTE_ONESHOT_PARRY_UNARMED, EMOTE_ONESHOT_POINT, EMOTE_ONESHOT_POINT_NO_SHEATHE, EMOTE_ONESHOT_QUESTION, EMOTE_ONESHOT_READY1H, EMOTE_ONESHOT_READY_BOW, EMOTE_ONESHOT_READY_RIFLE, EMOTE_ONESHOT_READY_UNARMED, EMOTE_ONESHOT_ROAR, EMOTE_ONESHOT_RUDE, EMOTE_ONESHOT_SALUTE, EMOTE_ONESHOT_SALUTE_NO_SHEATH, EMOTE_ONESHOT_SHOUT, EMOTE_ONESHOT_SHY, EMOTE_ONESHOT_SPECIALATTACK1H, EMOTE_ONESHOT_SPELL_CAST, EMOTE_ONESHOT_SPELL_CAST_OMNI, EMOTE_ONESHOT_SPELL_CAST_W_SOUND, EMOTE_ONESHOT_SPELL_PRECAST, EMOTE_ONESHOT_STOMP, EMOTE_ONESHOT_STUN, EMOTE_ONESHOT_SUBMERGE, EMOTE_ONESHOT_TALK, EMOTE_ONESHOT_TALK_NO_SHEATHE, EMOTE_ONESHOT_TRAIN, EMOTE_ONESHOT_USE_STANDING, EMOTE_ONESHOT_WAVE, EMOTE_ONESHOT_WAVE_NO_SHEATHE, EMOTE_ONESHOT_WORK_CHOPWOOD, EMOTE_ONESHOT_WORK_MINING, EMOTE_ONESHOT_WOUND, EMOTE_ONESHOT_WOUND_CRITICAL, EMOTE_ONESHOT_YES, EMOTE_STAND_STATE_NONE, EMOTE_STATE_APPLAUD, EMOTE_STATE_AT_EASE, EMOTE_STATE_ATTACK_UNARMED, EMOTE_STATE_CANNIBALIZE, EMOTE_STATE_COWER, EMOTE_STATE_CUSTOM_SPELL_01, EMOTE_STATE_CUSTOM_SPELL_02, EMOTE_STATE_CUSTOM_SPELL_03, EMOTE_STATE_CUSTOM_SPELL_04, EMOTE_STATE_CUSTOM_SPELL_05, EMOTE_STATE_CUSTOM_SPELL_08, EMOTE_STATE_DANCE, EMOTE_STATE_DANCE_CUSTOM, EMOTE_STATE_DANCESPECIAL, EMOTE_STATE_DEAD, EMOTE_STATE_DROWNED, EMOTE_STATE_EAT, EMOTE_STATE_EAT_NO_SHEATHE, EMOTE_STATE_EXCLAIM, EMOTE_STATE_FALL, EMOTE_STATE_FISHING, EMOTE_STATE_FLY_FALL, EMOTE_STATE_FLY_SIT_GROUND, EMOTE_STATE_FLYFALL, EMOTE_STATE_FLYGRABCLOSED, EMOTE_STATE_HOLD_BOW, EMOTE_STATE_HOLD_JOUST, EMOTE_STATE_HOLD_RIFLE, EMOTE_STATE_HOLD_THROWN, EMOTE_STATE_KNEEL, EMOTE_STATE_LAUGH, EMOTE_STATE_LOOT, EMOTE_STATE_MOUNT, EMOTE_STATE_NONE, EMOTE_STATE_POINT, EMOTE_STATE_READY1H, EMOTE_STATE_READY2H, EMOTE_STATE_READY2HL, EMOTE_STATE_READY_BOW, EMOTE_STATE_READY_RIFLE, EMOTE_STATE_READY_SPELL_OMNI, EMOTE_STATE_READY_THROWN, EMOTE_STATE_READY_UNARMED, EMOTE_STATE_READYJOUST, EMOTE_STATE_ROAR, EMOTE_STATE_SIT, EMOTE_STATE_SIT_CHAIR_HIGH, EMOTE_STATE_SIT_CHAIR_LOW, EMOTE_STATE_SIT_CHAIR_MED, EMOTE_STATE_SLEEP, EMOTE_STATE_SPECIAL_UNARMED, EMOTE_STATE_SPELL_CHANNEL_DIRECTED, EMOTE_STATE_SPELL_CHANNEL_OMNI, EMOTE_STATE_SPELL_KNEEL_START, EMOTE_STATE_SPELL_PRECAST, EMOTE_STATE_SPELLEFFECT_HOLD, EMOTE_STATE_STAND, EMOTE_STATE_STEALTH_STAND, EMOTE_STATE_STRANGULATE, EMOTE_STATE_STUN, EMOTE_STATE_STUN_NO_SHEATHE, EMOTE_STATE_SUBMERGED, EMOTE_STATE_SUBMERGED_NEW, EMOTE_STATE_SWIM_IDLE, EMOTE_STATE_TALK, EMOTE_STATE_USE_STANDING, EMOTE_STATE_USE_STANDING_NO_SHEATHE, EMOTE_STATE_WALK_BACKWARDS, EMOTE_STATE_WHIRLWIND, EMOTE_STATE_WORK, EMOTE_STATE_WORK_CHOPWOOD, EMOTE_STATE_WORK_MINING, and EMOTE_STATE_WORK_SHEATHED.

◆ FromIndex() [32/32]

AC_API_EXPORT ChatMsg EnumUtils< ChatMsg >::FromIndex ( std::size_t  index)
2625{
2626 switch (index)
2627 {
2628 case 0: return CHAT_MSG_ADDON;
2629 case 1: return CHAT_MSG_SYSTEM;
2630 case 2: return CHAT_MSG_SAY;
2631 case 3: return CHAT_MSG_PARTY;
2632 case 4: return CHAT_MSG_RAID;
2633 case 5: return CHAT_MSG_GUILD;
2634 case 6: return CHAT_MSG_OFFICER;
2635 case 7: return CHAT_MSG_YELL;
2636 case 8: return CHAT_MSG_WHISPER;
2637 case 9: return CHAT_MSG_WHISPER_FOREIGN;
2638 case 10: return CHAT_MSG_WHISPER_INFORM;
2639 case 11: return CHAT_MSG_EMOTE;
2640 case 12: return CHAT_MSG_TEXT_EMOTE;
2641 case 13: return CHAT_MSG_MONSTER_SAY;
2642 case 14: return CHAT_MSG_MONSTER_PARTY;
2643 case 15: return CHAT_MSG_MONSTER_YELL;
2644 case 16: return CHAT_MSG_MONSTER_WHISPER;
2645 case 17: return CHAT_MSG_MONSTER_EMOTE;
2646 case 18: return CHAT_MSG_CHANNEL;
2647 case 19: return CHAT_MSG_CHANNEL_JOIN;
2648 case 20: return CHAT_MSG_CHANNEL_LEAVE;
2649 case 21: return CHAT_MSG_CHANNEL_LIST;
2650 case 22: return CHAT_MSG_CHANNEL_NOTICE;
2651 case 23: return CHAT_MSG_CHANNEL_NOTICE_USER;
2652 case 24: return CHAT_MSG_AFK;
2653 case 25: return CHAT_MSG_DND;
2654 case 26: return CHAT_MSG_IGNORED;
2655 case 27: return CHAT_MSG_SKILL;
2656 case 28: return CHAT_MSG_LOOT;
2657 case 29: return CHAT_MSG_MONEY;
2658 case 30: return CHAT_MSG_OPENING;
2659 case 31: return CHAT_MSG_TRADESKILLS;
2660 case 32: return CHAT_MSG_PET_INFO;
2661 case 33: return CHAT_MSG_COMBAT_MISC_INFO;
2662 case 34: return CHAT_MSG_COMBAT_XP_GAIN;
2663 case 35: return CHAT_MSG_COMBAT_HONOR_GAIN;
2664 case 36: return CHAT_MSG_COMBAT_FACTION_CHANGE;
2665 case 37: return CHAT_MSG_BG_SYSTEM_NEUTRAL;
2666 case 38: return CHAT_MSG_BG_SYSTEM_ALLIANCE;
2667 case 39: return CHAT_MSG_BG_SYSTEM_HORDE;
2668 case 40: return CHAT_MSG_RAID_LEADER;
2669 case 41: return CHAT_MSG_RAID_WARNING;
2670 case 42: return CHAT_MSG_RAID_BOSS_EMOTE;
2671 case 43: return CHAT_MSG_RAID_BOSS_WHISPER;
2672 case 44: return CHAT_MSG_FILTERED;
2673 case 45: return CHAT_MSG_BATTLEGROUND;
2674 case 46: return CHAT_MSG_BATTLEGROUND_LEADER;
2675 case 47: return CHAT_MSG_RESTRICTED;
2676 case 48: return CHAT_MSG_BATTLENET;
2677 case 49: return CHAT_MSG_ACHIEVEMENT;
2678 case 50: return CHAT_MSG_GUILD_ACHIEVEMENT;
2679 case 51: return CHAT_MSG_ARENA_POINTS;
2680 case 52: return CHAT_MSG_PARTY_LEADER;
2681 default: throw std::out_of_range("index");
2682 }
2683}
@ CHAT_MSG_RAID_WARNING
Definition: SharedDefines.h:3192
@ CHAT_MSG_IGNORED
Definition: SharedDefines.h:3177
@ CHAT_MSG_RAID
Definition: SharedDefines.h:3155
@ CHAT_MSG_MONSTER_WHISPER
Definition: SharedDefines.h:3167
@ CHAT_MSG_TRADESKILLS
Definition: SharedDefines.h:3182
@ CHAT_MSG_TEXT_EMOTE
Definition: SharedDefines.h:3163
@ CHAT_MSG_SAY
Definition: SharedDefines.h:3153
@ CHAT_MSG_RAID_BOSS_WHISPER
Definition: SharedDefines.h:3194
@ CHAT_MSG_COMBAT_XP_GAIN
Definition: SharedDefines.h:3185
@ CHAT_MSG_WHISPER_FOREIGN
Definition: SharedDefines.h:3160
@ CHAT_MSG_GUILD_ACHIEVEMENT
Definition: SharedDefines.h:3201
@ CHAT_MSG_BG_SYSTEM_ALLIANCE
Definition: SharedDefines.h:3189
@ CHAT_MSG_PARTY_LEADER
Definition: SharedDefines.h:3203
@ CHAT_MSG_RAID_LEADER
Definition: SharedDefines.h:3191
@ CHAT_MSG_DND
Definition: SharedDefines.h:3176
@ CHAT_MSG_CHANNEL_LEAVE
Definition: SharedDefines.h:3171
@ CHAT_MSG_CHANNEL_NOTICE
Definition: SharedDefines.h:3173
@ CHAT_MSG_WHISPER_INFORM
Definition: SharedDefines.h:3161
@ CHAT_MSG_YELL
Definition: SharedDefines.h:3158
@ CHAT_MSG_PET_INFO
Definition: SharedDefines.h:3183
@ CHAT_MSG_ARENA_POINTS
Definition: SharedDefines.h:3202
@ CHAT_MSG_PARTY
Definition: SharedDefines.h:3154
@ CHAT_MSG_WHISPER
Definition: SharedDefines.h:3159
@ CHAT_MSG_EMOTE
Definition: SharedDefines.h:3162
@ CHAT_MSG_OPENING
Definition: SharedDefines.h:3181
@ CHAT_MSG_GUILD
Definition: SharedDefines.h:3156
@ CHAT_MSG_MONSTER_PARTY
Definition: SharedDefines.h:3165
@ CHAT_MSG_SYSTEM
Definition: SharedDefines.h:3152
@ CHAT_MSG_FILTERED
Definition: SharedDefines.h:3195
@ CHAT_MSG_CHANNEL_LIST
Definition: SharedDefines.h:3172
@ CHAT_MSG_OFFICER
Definition: SharedDefines.h:3157
@ CHAT_MSG_ACHIEVEMENT
Definition: SharedDefines.h:3200
@ CHAT_MSG_RAID_BOSS_EMOTE
Definition: SharedDefines.h:3193
@ CHAT_MSG_RESTRICTED
Definition: SharedDefines.h:3198
@ CHAT_MSG_BATTLENET
Definition: SharedDefines.h:3199
@ CHAT_MSG_MONSTER_EMOTE
Definition: SharedDefines.h:3168
@ CHAT_MSG_CHANNEL_JOIN
Definition: SharedDefines.h:3170
@ CHAT_MSG_COMBAT_HONOR_GAIN
Definition: SharedDefines.h:3186
@ CHAT_MSG_AFK
Definition: SharedDefines.h:3175
@ CHAT_MSG_ADDON
Definition: SharedDefines.h:3151
@ CHAT_MSG_BATTLEGROUND
Definition: SharedDefines.h:3196
@ CHAT_MSG_BATTLEGROUND_LEADER
Definition: SharedDefines.h:3197
@ CHAT_MSG_MONSTER_SAY
Definition: SharedDefines.h:3164
@ CHAT_MSG_MONSTER_YELL
Definition: SharedDefines.h:3166
@ CHAT_MSG_BG_SYSTEM_HORDE
Definition: SharedDefines.h:3190
@ CHAT_MSG_COMBAT_FACTION_CHANGE
Definition: SharedDefines.h:3187
@ CHAT_MSG_SKILL
Definition: SharedDefines.h:3178
@ CHAT_MSG_CHANNEL_NOTICE_USER
Definition: SharedDefines.h:3174
@ CHAT_MSG_LOOT
Definition: SharedDefines.h:3179
@ CHAT_MSG_MONEY
Definition: SharedDefines.h:3180
@ CHAT_MSG_BG_SYSTEM_NEUTRAL
Definition: SharedDefines.h:3188
@ CHAT_MSG_CHANNEL
Definition: SharedDefines.h:3169
@ CHAT_MSG_COMBAT_MISC_INFO
Definition: SharedDefines.h:3184

References CHAT_MSG_ACHIEVEMENT, CHAT_MSG_ADDON, CHAT_MSG_AFK, CHAT_MSG_ARENA_POINTS, CHAT_MSG_BATTLEGROUND, CHAT_MSG_BATTLEGROUND_LEADER, CHAT_MSG_BATTLENET, CHAT_MSG_BG_SYSTEM_ALLIANCE, CHAT_MSG_BG_SYSTEM_HORDE, CHAT_MSG_BG_SYSTEM_NEUTRAL, CHAT_MSG_CHANNEL, CHAT_MSG_CHANNEL_JOIN, CHAT_MSG_CHANNEL_LEAVE, CHAT_MSG_CHANNEL_LIST, CHAT_MSG_CHANNEL_NOTICE, CHAT_MSG_CHANNEL_NOTICE_USER, CHAT_MSG_COMBAT_FACTION_CHANGE, CHAT_MSG_COMBAT_HONOR_GAIN, CHAT_MSG_COMBAT_MISC_INFO, CHAT_MSG_COMBAT_XP_GAIN, CHAT_MSG_DND, CHAT_MSG_EMOTE, CHAT_MSG_FILTERED, CHAT_MSG_GUILD, CHAT_MSG_GUILD_ACHIEVEMENT, CHAT_MSG_IGNORED, CHAT_MSG_LOOT, CHAT_MSG_MONEY, CHAT_MSG_MONSTER_EMOTE, CHAT_MSG_MONSTER_PARTY, CHAT_MSG_MONSTER_SAY, CHAT_MSG_MONSTER_WHISPER, CHAT_MSG_MONSTER_YELL, CHAT_MSG_OFFICER, CHAT_MSG_OPENING, CHAT_MSG_PARTY, CHAT_MSG_PARTY_LEADER, CHAT_MSG_PET_INFO, CHAT_MSG_RAID, CHAT_MSG_RAID_BOSS_EMOTE, CHAT_MSG_RAID_BOSS_WHISPER, CHAT_MSG_RAID_LEADER, CHAT_MSG_RAID_WARNING, CHAT_MSG_RESTRICTED, CHAT_MSG_SAY, CHAT_MSG_SKILL, CHAT_MSG_SYSTEM, CHAT_MSG_TEXT_EMOTE, CHAT_MSG_TRADESKILLS, CHAT_MSG_WHISPER, CHAT_MSG_WHISPER_FOREIGN, CHAT_MSG_WHISPER_INFORM, and CHAT_MSG_YELL.

◆ IsValid() [1/2]

template<typename Enum >
static bool EnumUtils::IsValid ( Enum  value)
inlinestatic
61 {
62 try
63 {
65 return true;
66 }
67 catch (...)
68 {
69 return false;
70 }
71 }
static std::size_t ToIndex(Enum index)

References Acore::Impl::EnumUtilsImpl::EnumUtils< Enum >::ToIndex().

◆ IsValid() [2/2]

template<typename Enum >
static bool EnumUtils::IsValid ( std::underlying_type_t< Enum >  value)
inlinestatic
74{ return IsValid(static_cast<Enum>(value)); }
static bool IsValid(Enum value)
Definition: SmartEnum.h:60

References IsValid().

Referenced by IsValid().

◆ Iterate()

template<typename Enum >
static Acore::IteratorPair< Iterator< Enum > > EnumUtils::Iterate ( )
inlinestatic
121{ return { Begin<Enum>(), End<Enum>() }; }

◆ ToConstant()

template<typename Enum >
static char const * EnumUtils::ToConstant ( Enum  value)
inlinestatic
124{ return ToString(value).Constant; }
char const *const Constant
Definition: SmartEnum.h:28
static EnumText ToString(Enum value)
Definition: SmartEnum.h:53

References EnumText::Constant, and ToString().

Referenced by debug_commandscript::HandleDebugAnimCommand().

◆ ToDescription()

template<typename Enum >
static char const * EnumUtils::ToDescription ( Enum  value)
inlinestatic
130{ return ToString(value).Description; }
char const *const Description
Definition: SmartEnum.h:32

References EnumText::Description, and ToString().

◆ ToIndex() [1/32]

AC_API_EXPORT std::size_t EnumUtils< AppenderFlags >::ToIndex ( AppenderFlags  value)
163{
164 switch (value)
165 {
166 case APPENDER_FLAGS_NONE: return 0;
167 case APPENDER_FLAGS_PREFIX_TIMESTAMP: return 1;
168 case APPENDER_FLAGS_PREFIX_LOGLEVEL: return 2;
170 case APPENDER_FLAGS_USE_TIMESTAMP: return 4;
171 case APPENDER_FLAGS_MAKE_FILE_BACKUP: return 5;
172 default: throw std::out_of_range("value");
173 }
174}

References APPENDER_FLAGS_MAKE_FILE_BACKUP, APPENDER_FLAGS_NONE, APPENDER_FLAGS_PREFIX_LOGFILTERTYPE, APPENDER_FLAGS_PREFIX_LOGLEVEL, APPENDER_FLAGS_PREFIX_TIMESTAMP, and APPENDER_FLAGS_USE_TIMESTAMP.

◆ ToIndex() [2/32]

AC_API_EXPORT std::size_t EnumUtils< AppenderType >::ToIndex ( AppenderType  value)
114{
115 switch (value)
116 {
117 case APPENDER_NONE: return 0;
118 case APPENDER_CONSOLE: return 1;
119 case APPENDER_FILE: return 2;
120 case APPENDER_DB: return 3;
121 default: throw std::out_of_range("value");
122 }
123}

References APPENDER_CONSOLE, APPENDER_DB, APPENDER_FILE, and APPENDER_NONE.

◆ ToIndex() [3/32]

AC_API_EXPORT std::size_t EnumUtils< ArenaTeamTypes >::ToIndex ( ArenaTeamTypes  value)
58{
59 switch (value)
60 {
61 case ARENA_TEAM_2v2: return 0;
62 case ARENA_TEAM_3v3: return 1;
63 case ARENA_TEAM_5v5: return 2;
64 default: throw std::out_of_range("value");
65 }
66}

References ARENA_TEAM_2v2, ARENA_TEAM_3v3, and ARENA_TEAM_5v5.

◆ ToIndex() [4/32]

AC_API_EXPORT std::size_t EnumUtils< AuraStateType >::ToIndex ( AuraStateType  value)
1846{
1847 switch (value)
1848 {
1849 case AURA_STATE_NONE: return 0;
1850 case AURA_STATE_DEFENSE: return 1;
1851 case AURA_STATE_HEALTHLESS_20_PERCENT: return 2;
1852 case AURA_STATE_BERSERKING: return 3;
1853 case AURA_STATE_FROZEN: return 4;
1854 case AURA_STATE_JUDGEMENT: return 5;
1855 case AURA_STATE_HUNTER_PARRY: return 6;
1856 case AURA_STATE_WARRIOR_VICTORY_RUSH: return 7;
1857 case AURA_STATE_FAERIE_FIRE: return 8;
1858 case AURA_STATE_HEALTHLESS_35_PERCENT: return 9;
1859 case AURA_STATE_CONFLAGRATE: return 10;
1860 case AURA_STATE_SWIFTMEND: return 11;
1861 case AURA_STATE_DEADLY_POISON: return 12;
1862 case AURA_STATE_ENRAGE: return 13;
1863 case AURA_STATE_BLEEDING: return 14;
1864 case AURA_STATE_UNKNOWN19: return 15;
1865 case AURA_STATE_UNKNOWN22: return 16;
1866 case AURA_STATE_HEALTH_ABOVE_75_PERCENT: return 17;
1867 default: throw std::out_of_range("value");
1868 }
1869}

References AURA_STATE_BERSERKING, AURA_STATE_BLEEDING, AURA_STATE_CONFLAGRATE, AURA_STATE_DEADLY_POISON, AURA_STATE_DEFENSE, AURA_STATE_ENRAGE, AURA_STATE_FAERIE_FIRE, AURA_STATE_FROZEN, AURA_STATE_HEALTH_ABOVE_75_PERCENT, AURA_STATE_HEALTHLESS_20_PERCENT, AURA_STATE_HEALTHLESS_35_PERCENT, AURA_STATE_HUNTER_PARRY, AURA_STATE_JUDGEMENT, AURA_STATE_NONE, AURA_STATE_SWIFTMEND, AURA_STATE_UNKNOWN19, AURA_STATE_UNKNOWN22, and AURA_STATE_WARRIOR_VICTORY_RUSH.

◆ ToIndex() [5/32]

AC_API_EXPORT std::size_t EnumUtils< BuyResult >::ToIndex ( BuyResult  value)
367{
368 switch (value)
369 {
370 case BUY_ERR_CANT_FIND_ITEM: return 0;
371 case BUY_ERR_ITEM_ALREADY_SOLD: return 1;
372 case BUY_ERR_NOT_ENOUGHT_MONEY: return 2;
373 case BUY_ERR_SELLER_DONT_LIKE_YOU: return 3;
374 case BUY_ERR_DISTANCE_TOO_FAR: return 4;
375 case BUY_ERR_ITEM_SOLD_OUT: return 5;
376 case BUY_ERR_CANT_CARRY_MORE: return 6;
377 case BUY_ERR_RANK_REQUIRE: return 7;
378 case BUY_ERR_REPUTATION_REQUIRE: return 8;
379 default: throw std::out_of_range("value");
380 }
381}

References BUY_ERR_CANT_CARRY_MORE, BUY_ERR_CANT_FIND_ITEM, BUY_ERR_DISTANCE_TOO_FAR, BUY_ERR_ITEM_ALREADY_SOLD, BUY_ERR_ITEM_SOLD_OUT, BUY_ERR_NOT_ENOUGHT_MONEY, BUY_ERR_RANK_REQUIRE, BUY_ERR_REPUTATION_REQUIRE, and BUY_ERR_SELLER_DONT_LIKE_YOU.

◆ ToIndex() [6/32]

AC_API_EXPORT std::size_t EnumUtils< ChatMsg >::ToIndex ( ChatMsg  value)
2687{
2688 switch (value)
2689 {
2690 case CHAT_MSG_ADDON: return 0;
2691 case CHAT_MSG_SYSTEM: return 1;
2692 case CHAT_MSG_SAY: return 2;
2693 case CHAT_MSG_PARTY: return 3;
2694 case CHAT_MSG_RAID: return 4;
2695 case CHAT_MSG_GUILD: return 5;
2696 case CHAT_MSG_OFFICER: return 6;
2697 case CHAT_MSG_YELL: return 7;
2698 case CHAT_MSG_WHISPER: return 8;
2699 case CHAT_MSG_WHISPER_FOREIGN: return 9;
2700 case CHAT_MSG_WHISPER_INFORM: return 10;
2701 case CHAT_MSG_EMOTE: return 11;
2702 case CHAT_MSG_TEXT_EMOTE: return 12;
2703 case CHAT_MSG_MONSTER_SAY: return 13;
2704 case CHAT_MSG_MONSTER_PARTY: return 14;
2705 case CHAT_MSG_MONSTER_YELL: return 15;
2706 case CHAT_MSG_MONSTER_WHISPER: return 16;
2707 case CHAT_MSG_MONSTER_EMOTE: return 17;
2708 case CHAT_MSG_CHANNEL: return 18;
2709 case CHAT_MSG_CHANNEL_JOIN: return 19;
2710 case CHAT_MSG_CHANNEL_LEAVE: return 20;
2711 case CHAT_MSG_CHANNEL_LIST: return 21;
2712 case CHAT_MSG_CHANNEL_NOTICE: return 22;
2713 case CHAT_MSG_CHANNEL_NOTICE_USER: return 23;
2714 case CHAT_MSG_AFK: return 24;
2715 case CHAT_MSG_DND: return 25;
2716 case CHAT_MSG_IGNORED: return 26;
2717 case CHAT_MSG_SKILL: return 27;
2718 case CHAT_MSG_LOOT: return 28;
2719 case CHAT_MSG_MONEY: return 29;
2720 case CHAT_MSG_OPENING: return 30;
2721 case CHAT_MSG_TRADESKILLS: return 31;
2722 case CHAT_MSG_PET_INFO: return 32;
2723 case CHAT_MSG_COMBAT_MISC_INFO: return 33;
2724 case CHAT_MSG_COMBAT_XP_GAIN: return 34;
2725 case CHAT_MSG_COMBAT_HONOR_GAIN: return 35;
2726 case CHAT_MSG_COMBAT_FACTION_CHANGE: return 36;
2727 case CHAT_MSG_BG_SYSTEM_NEUTRAL: return 37;
2728 case CHAT_MSG_BG_SYSTEM_ALLIANCE: return 38;
2729 case CHAT_MSG_BG_SYSTEM_HORDE: return 39;
2730 case CHAT_MSG_RAID_LEADER: return 40;
2731 case CHAT_MSG_RAID_WARNING: return 41;
2732 case CHAT_MSG_RAID_BOSS_EMOTE: return 42;
2733 case CHAT_MSG_RAID_BOSS_WHISPER: return 43;
2734 case CHAT_MSG_FILTERED: return 44;
2735 case CHAT_MSG_BATTLEGROUND: return 45;
2736 case CHAT_MSG_BATTLEGROUND_LEADER: return 46;
2737 case CHAT_MSG_RESTRICTED: return 47;
2738 case CHAT_MSG_BATTLENET: return 48;
2739 case CHAT_MSG_ACHIEVEMENT: return 49;
2740 case CHAT_MSG_GUILD_ACHIEVEMENT: return 50;
2741 case CHAT_MSG_ARENA_POINTS: return 51;
2742 case CHAT_MSG_PARTY_LEADER: return 52;
2743 default: throw std::out_of_range("value");
2744 }
2745}

References CHAT_MSG_ACHIEVEMENT, CHAT_MSG_ADDON, CHAT_MSG_AFK, CHAT_MSG_ARENA_POINTS, CHAT_MSG_BATTLEGROUND, CHAT_MSG_BATTLEGROUND_LEADER, CHAT_MSG_BATTLENET, CHAT_MSG_BG_SYSTEM_ALLIANCE, CHAT_MSG_BG_SYSTEM_HORDE, CHAT_MSG_BG_SYSTEM_NEUTRAL, CHAT_MSG_CHANNEL, CHAT_MSG_CHANNEL_JOIN, CHAT_MSG_CHANNEL_LEAVE, CHAT_MSG_CHANNEL_LIST, CHAT_MSG_CHANNEL_NOTICE, CHAT_MSG_CHANNEL_NOTICE_USER, CHAT_MSG_COMBAT_FACTION_CHANGE, CHAT_MSG_COMBAT_HONOR_GAIN, CHAT_MSG_COMBAT_MISC_INFO, CHAT_MSG_COMBAT_XP_GAIN, CHAT_MSG_DND, CHAT_MSG_EMOTE, CHAT_MSG_FILTERED, CHAT_MSG_GUILD, CHAT_MSG_GUILD_ACHIEVEMENT, CHAT_MSG_IGNORED, CHAT_MSG_LOOT, CHAT_MSG_MONEY, CHAT_MSG_MONSTER_EMOTE, CHAT_MSG_MONSTER_PARTY, CHAT_MSG_MONSTER_SAY, CHAT_MSG_MONSTER_WHISPER, CHAT_MSG_MONSTER_YELL, CHAT_MSG_OFFICER, CHAT_MSG_OPENING, CHAT_MSG_PARTY, CHAT_MSG_PARTY_LEADER, CHAT_MSG_PET_INFO, CHAT_MSG_RAID, CHAT_MSG_RAID_BOSS_EMOTE, CHAT_MSG_RAID_BOSS_WHISPER, CHAT_MSG_RAID_LEADER, CHAT_MSG_RAID_WARNING, CHAT_MSG_RESTRICTED, CHAT_MSG_SAY, CHAT_MSG_SKILL, CHAT_MSG_SYSTEM, CHAT_MSG_TEXT_EMOTE, CHAT_MSG_TRADESKILLS, CHAT_MSG_WHISPER, CHAT_MSG_WHISPER_FOREIGN, CHAT_MSG_WHISPER_INFORM, and CHAT_MSG_YELL.

◆ ToIndex() [7/32]

AC_API_EXPORT std::size_t EnumUtils< ChatNotify >::ToIndex ( ChatNotify  value)
124{
125 switch (value)
126 {
127 case CHAT_JOINED_NOTICE: return 0;
128 case CHAT_LEFT_NOTICE: return 1;
129 case CHAT_YOU_JOINED_NOTICE: return 2;
130 case CHAT_YOU_LEFT_NOTICE: return 3;
131 case CHAT_WRONG_PASSWORD_NOTICE: return 4;
132 case CHAT_NOT_MEMBER_NOTICE: return 5;
133 case CHAT_NOT_MODERATOR_NOTICE: return 6;
134 case CHAT_PASSWORD_CHANGED_NOTICE: return 7;
135 case CHAT_OWNER_CHANGED_NOTICE: return 8;
136 case CHAT_PLAYER_NOT_FOUND_NOTICE: return 9;
137 case CHAT_NOT_OWNER_NOTICE: return 10;
138 case CHAT_CHANNEL_OWNER_NOTICE: return 11;
139 case CHAT_MODE_CHANGE_NOTICE: return 12;
140 case CHAT_ANNOUNCEMENTS_ON_NOTICE: return 13;
141 case CHAT_ANNOUNCEMENTS_OFF_NOTICE: return 14;
142 case CHAT_MODERATION_ON_NOTICE: return 15;
143 case CHAT_MODERATION_OFF_NOTICE: return 16;
144 case CHAT_MUTED_NOTICE: return 17;
145 case CHAT_PLAYER_KICKED_NOTICE: return 18;
146 case CHAT_BANNED_NOTICE: return 19;
147 case CHAT_PLAYER_BANNED_NOTICE: return 20;
148 case CHAT_PLAYER_UNBANNED_NOTICE: return 21;
149 case CHAT_PLAYER_NOT_BANNED_NOTICE: return 22;
150 case CHAT_PLAYER_ALREADY_MEMBER_NOTICE: return 23;
151 case CHAT_INVITE_NOTICE: return 24;
152 case CHAT_INVITE_WRONG_FACTION_NOTICE: return 25;
153 case CHAT_WRONG_FACTION_NOTICE: return 26;
154 case CHAT_INVALID_NAME_NOTICE: return 27;
155 case CHAT_NOT_MODERATED_NOTICE: return 28;
156 case CHAT_PLAYER_INVITED_NOTICE: return 29;
157 case CHAT_PLAYER_INVITE_BANNED_NOTICE: return 30;
158 case CHAT_THROTTLED_NOTICE: return 31;
159 case CHAT_NOT_IN_AREA_NOTICE: return 32;
160 case CHAT_NOT_IN_LFG_NOTICE: return 33;
161 case CHAT_VOICE_ON_NOTICE: return 34;
162 case CHAT_VOICE_OFF_NOTICE: return 35;
163 default: throw std::out_of_range("value");
164 }
165}

References CHAT_ANNOUNCEMENTS_OFF_NOTICE, CHAT_ANNOUNCEMENTS_ON_NOTICE, CHAT_BANNED_NOTICE, CHAT_CHANNEL_OWNER_NOTICE, CHAT_INVALID_NAME_NOTICE, CHAT_INVITE_NOTICE, CHAT_INVITE_WRONG_FACTION_NOTICE, CHAT_JOINED_NOTICE, CHAT_LEFT_NOTICE, CHAT_MODE_CHANGE_NOTICE, CHAT_MODERATION_OFF_NOTICE, CHAT_MODERATION_ON_NOTICE, CHAT_MUTED_NOTICE, CHAT_NOT_IN_AREA_NOTICE, CHAT_NOT_IN_LFG_NOTICE, CHAT_NOT_MEMBER_NOTICE, CHAT_NOT_MODERATED_NOTICE, CHAT_NOT_MODERATOR_NOTICE, CHAT_NOT_OWNER_NOTICE, CHAT_OWNER_CHANGED_NOTICE, CHAT_PASSWORD_CHANGED_NOTICE, CHAT_PLAYER_ALREADY_MEMBER_NOTICE, CHAT_PLAYER_BANNED_NOTICE, CHAT_PLAYER_INVITE_BANNED_NOTICE, CHAT_PLAYER_INVITED_NOTICE, CHAT_PLAYER_KICKED_NOTICE, CHAT_PLAYER_NOT_BANNED_NOTICE, CHAT_PLAYER_NOT_FOUND_NOTICE, CHAT_PLAYER_UNBANNED_NOTICE, CHAT_THROTTLED_NOTICE, CHAT_VOICE_OFF_NOTICE, CHAT_VOICE_ON_NOTICE, CHAT_WRONG_FACTION_NOTICE, CHAT_WRONG_PASSWORD_NOTICE, CHAT_YOU_JOINED_NOTICE, and CHAT_YOU_LEFT_NOTICE.

◆ ToIndex() [8/32]

AC_API_EXPORT std::size_t EnumUtils< Classes >::ToIndex ( Classes  value)
135{
136 switch (value)
137 {
138 case CLASS_WARRIOR: return 0;
139 case CLASS_PALADIN: return 1;
140 case CLASS_HUNTER: return 2;
141 case CLASS_ROGUE: return 3;
142 case CLASS_PRIEST: return 4;
143 case CLASS_DEATH_KNIGHT: return 5;
144 case CLASS_SHAMAN: return 6;
145 case CLASS_MAGE: return 7;
146 case CLASS_WARLOCK: return 8;
147 case CLASS_DRUID: return 9;
148 default: throw std::out_of_range("value");
149 }
150}

References CLASS_DEATH_KNIGHT, CLASS_DRUID, CLASS_HUNTER, CLASS_MAGE, CLASS_PALADIN, CLASS_PRIEST, CLASS_ROGUE, CLASS_SHAMAN, CLASS_WARLOCK, and CLASS_WARRIOR.

◆ ToIndex() [9/32]

AC_API_EXPORT std::size_t EnumUtils< ColorTypes >::ToIndex ( ColorTypes  value)
82{
83 switch (value)
84 {
85 case BLACK: return 0;
86 case RED: return 1;
87 case GREEN: return 2;
88 case BROWN: return 3;
89 case BLUE: return 4;
90 case MAGENTA: return 5;
91 case CYAN: return 6;
92 case GREY: return 7;
93 case YELLOW: return 8;
94 case LRED: return 9;
95 case LGREEN: return 10;
96 case LBLUE: return 11;
97 case LMAGENTA: return 12;
98 case LCYAN: return 13;
99 case WHITE: return 14;
100 default: throw std::out_of_range("value");
101 }
102}

References BLACK, BLUE, BROWN, CYAN, GREEN, GREY, LBLUE, LCYAN, LGREEN, LMAGENTA, LRED, MAGENTA, RED, WHITE, and YELLOW.

◆ ToIndex() [10/32]

◆ ToIndex() [11/32]

AC_API_EXPORT std::size_t EnumUtils< CreatureFlagsExtra >::ToIndex ( CreatureFlagsExtra  value)
116{
117 switch (value)
118 {
120 case CREATURE_FLAG_EXTRA_CIVILIAN: return 1;
121 case CREATURE_FLAG_EXTRA_NO_PARRY: return 2;
123 case CREATURE_FLAG_EXTRA_NO_BLOCK: return 4;
125 case CREATURE_FLAG_EXTRA_NO_XP: return 6;
126 case CREATURE_FLAG_EXTRA_TRIGGER: return 7;
127 case CREATURE_FLAG_EXTRA_NO_TAUNT: return 8;
130 case CREATURE_FLAG_EXTRA_UNUSED_12: return 11;
132 case CREATURE_FLAG_EXTRA_IGNORE_COMBAT: return 13;
133 case CREATURE_FLAG_EXTRA_WORLDEVENT: return 14;
134 case CREATURE_FLAG_EXTRA_GUARD: return 15;
136 case CREATURE_FLAG_EXTRA_NO_CRIT: return 17;
139 case CREATURE_FLAG_EXTRA_ALL_DIMINISH: return 20;
141 case CREATURE_FLAG_EXTRA_AVOID_AOE: return 22;
142 case CREATURE_FLAG_EXTRA_NO_DODGE: return 23;
143 case CREATURE_FLAG_EXTRA_MODULE: return 24;
147 case CREATURE_FLAG_EXTRA_DUNGEON_BOSS: return 28;
150 case CREATURE_FLAG_EXTRA_HARD_RESET: return 31;
151 default: throw std::out_of_range("value");
152 }
153}

References CREATURE_FLAG_DONT_OVERRIDE_ENTRY_SAI, CREATURE_FLAG_EXTRA_ALL_DIMINISH, CREATURE_FLAG_EXTRA_AVOID_AOE, CREATURE_FLAG_EXTRA_CIVILIAN, CREATURE_FLAG_EXTRA_DONT_CALL_ASSISTANCE, CREATURE_FLAG_EXTRA_DUNGEON_BOSS, CREATURE_FLAG_EXTRA_GHOST_VISIBILITY, CREATURE_FLAG_EXTRA_GUARD, CREATURE_FLAG_EXTRA_HARD_RESET, CREATURE_FLAG_EXTRA_IGNORE_ALL_ASSISTANCE_CALLS, CREATURE_FLAG_EXTRA_IGNORE_COMBAT, CREATURE_FLAG_EXTRA_IGNORE_FEIGN_DEATH, CREATURE_FLAG_EXTRA_IGNORE_PATHFINDING, CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACK, CREATURE_FLAG_EXTRA_INSTANCE_BIND, CREATURE_FLAG_EXTRA_MODULE, CREATURE_FLAG_EXTRA_NO_BLOCK, CREATURE_FLAG_EXTRA_NO_CRIT, CREATURE_FLAG_EXTRA_NO_CRUSHING_BLOWS, CREATURE_FLAG_EXTRA_NO_DODGE, CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE, CREATURE_FLAG_EXTRA_NO_PARRY, CREATURE_FLAG_EXTRA_NO_PARRY_HASTEN, CREATURE_FLAG_EXTRA_NO_PLAYER_DAMAGE_REQ, CREATURE_FLAG_EXTRA_NO_SELL_VENDOR, CREATURE_FLAG_EXTRA_NO_SKILL_GAINS, CREATURE_FLAG_EXTRA_NO_TAUNT, CREATURE_FLAG_EXTRA_NO_XP, CREATURE_FLAG_EXTRA_OBEYS_TAUNT_DIMINISHING_RETURNS, CREATURE_FLAG_EXTRA_TRIGGER, CREATURE_FLAG_EXTRA_UNUSED_12, and CREATURE_FLAG_EXTRA_WORLDEVENT.

◆ ToIndex() [12/32]

AC_API_EXPORT std::size_t EnumUtils< Emote >::ToIndex ( Emote  value)
2374{
2375 switch (value)
2376 {
2377 case EMOTE_ONESHOT_TALK: return 0;
2378 case EMOTE_ONESHOT_BOW: return 1;
2379 case EMOTE_ONESHOT_WAVE: return 2;
2380 case EMOTE_ONESHOT_CHEER: return 3;
2381 case EMOTE_ONESHOT_EXCLAMATION: return 4;
2382 case EMOTE_ONESHOT_QUESTION: return 5;
2383 case EMOTE_ONESHOT_EAT: return 6;
2384 case EMOTE_STATE_DANCE: return 7;
2385 case EMOTE_ONESHOT_LAUGH: return 8;
2386 case EMOTE_STATE_SLEEP: return 9;
2387 case EMOTE_STATE_SIT: return 10;
2388 case EMOTE_ONESHOT_RUDE: return 11;
2389 case EMOTE_ONESHOT_ROAR: return 12;
2390 case EMOTE_ONESHOT_KNEEL: return 13;
2391 case EMOTE_ONESHOT_KISS: return 14;
2392 case EMOTE_ONESHOT_CRY: return 15;
2393 case EMOTE_ONESHOT_CHICKEN: return 16;
2394 case EMOTE_ONESHOT_BEG: return 17;
2395 case EMOTE_ONESHOT_APPLAUD: return 18;
2396 case EMOTE_ONESHOT_SHOUT: return 19;
2397 case EMOTE_ONESHOT_FLEX: return 20;
2398 case EMOTE_ONESHOT_SHY: return 21;
2399 case EMOTE_ONESHOT_POINT: return 22;
2400 case EMOTE_STATE_STAND: return 23;
2401 case EMOTE_STATE_READY_UNARMED: return 24;
2402 case EMOTE_STATE_WORK_SHEATHED: return 25;
2403 case EMOTE_STATE_POINT: return 26;
2404 case EMOTE_STATE_NONE: return 27;
2405 case EMOTE_ONESHOT_WOUND: return 28;
2406 case EMOTE_ONESHOT_WOUND_CRITICAL: return 29;
2407 case EMOTE_ONESHOT_ATTACK_UNARMED: return 30;
2408 case EMOTE_ONESHOT_ATTACK1H: return 31;
2409 case EMOTE_ONESHOT_ATTACK2HTIGHT: return 32;
2410 case EMOTE_ONESHOT_ATTACK2H_LOOSE: return 33;
2411 case EMOTE_ONESHOT_PARRY_UNARMED: return 34;
2412 case EMOTE_ONESHOT_PARRY_SHIELD: return 35;
2413 case EMOTE_ONESHOT_READY_UNARMED: return 36;
2414 case EMOTE_ONESHOT_READY1H: return 37;
2415 case EMOTE_ONESHOT_READY_BOW: return 38;
2416 case EMOTE_ONESHOT_SPELL_PRECAST: return 39;
2417 case EMOTE_ONESHOT_SPELL_CAST: return 40;
2418 case EMOTE_ONESHOT_BATTLE_ROAR: return 41;
2419 case EMOTE_ONESHOT_SPECIALATTACK1H: return 42;
2420 case EMOTE_ONESHOT_KICK: return 43;
2421 case EMOTE_ONESHOT_ATTACK_THROWN: return 44;
2422 case EMOTE_STATE_STUN: return 45;
2423 case EMOTE_STATE_DEAD: return 46;
2424 case EMOTE_ONESHOT_SALUTE: return 47;
2425 case EMOTE_STATE_KNEEL: return 48;
2426 case EMOTE_STATE_USE_STANDING: return 49;
2427 case EMOTE_ONESHOT_WAVE_NO_SHEATHE: return 50;
2428 case EMOTE_ONESHOT_CHEER_NO_SHEATHE: return 51;
2429 case EMOTE_ONESHOT_EAT_NO_SHEATHE: return 52;
2430 case EMOTE_STATE_STUN_NO_SHEATHE: return 53;
2431 case EMOTE_ONESHOT_DANCE: return 54;
2432 case EMOTE_ONESHOT_SALUTE_NO_SHEATH: return 55;
2434 case EMOTE_ONESHOT_LAUGH_NO_SHEATHE: return 57;
2435 case EMOTE_STATE_WORK: return 58;
2436 case EMOTE_STATE_SPELL_PRECAST: return 59;
2437 case EMOTE_ONESHOT_READY_RIFLE: return 60;
2438 case EMOTE_STATE_READY_RIFLE: return 61;
2439 case EMOTE_STATE_WORK_MINING: return 62;
2440 case EMOTE_STATE_WORK_CHOPWOOD: return 63;
2441 case EMOTE_STATE_APPLAUD: return 64;
2442 case EMOTE_ONESHOT_LIFTOFF: return 65;
2443 case EMOTE_ONESHOT_YES: return 66;
2444 case EMOTE_ONESHOT_NO: return 67;
2445 case EMOTE_ONESHOT_TRAIN: return 68;
2446 case EMOTE_ONESHOT_LAND: return 69;
2447 case EMOTE_STATE_AT_EASE: return 70;
2448 case EMOTE_STATE_READY1H: return 71;
2449 case EMOTE_STATE_SPELL_KNEEL_START: return 72;
2450 case EMOTE_STATE_SUBMERGED: return 73;
2451 case EMOTE_ONESHOT_SUBMERGE: return 74;
2452 case EMOTE_STATE_READY2H: return 75;
2453 case EMOTE_STATE_READY_BOW: return 76;
2454 case EMOTE_ONESHOT_MOUNT_SPECIAL: return 77;
2455 case EMOTE_STATE_TALK: return 78;
2456 case EMOTE_STATE_FISHING: return 79;
2457 case EMOTE_ONESHOT_FISHING: return 80;
2458 case EMOTE_ONESHOT_LOOT: return 81;
2459 case EMOTE_STATE_WHIRLWIND: return 82;
2460 case EMOTE_STATE_DROWNED: return 83;
2461 case EMOTE_STATE_HOLD_BOW: return 84;
2462 case EMOTE_STATE_HOLD_RIFLE: return 85;
2463 case EMOTE_STATE_HOLD_THROWN: return 86;
2464 case EMOTE_ONESHOT_DROWN: return 87;
2465 case EMOTE_ONESHOT_STOMP: return 88;
2466 case EMOTE_ONESHOT_ATTACK_OFF: return 89;
2467 case EMOTE_ONESHOT_ATTACK_OFF_PIERCE: return 90;
2468 case EMOTE_STATE_ROAR: return 91;
2469 case EMOTE_STATE_LAUGH: return 92;
2470 case EMOTE_ONESHOT_CREATURE_SPECIAL: return 93;
2471 case EMOTE_ONESHOT_JUMPLANDRUN: return 94;
2472 case EMOTE_ONESHOT_JUMPEND: return 95;
2473 case EMOTE_ONESHOT_TALK_NO_SHEATHE: return 96;
2474 case EMOTE_ONESHOT_POINT_NO_SHEATHE: return 97;
2475 case EMOTE_STATE_CANNIBALIZE: return 98;
2476 case EMOTE_ONESHOT_JUMPSTART: return 99;
2477 case EMOTE_STATE_DANCESPECIAL: return 100;
2478 case EMOTE_ONESHOT_DANCESPECIAL: return 101;
2479 case EMOTE_ONESHOT_CUSTOM_SPELL_01: return 102;
2480 case EMOTE_ONESHOT_CUSTOM_SPELL_02: return 103;
2481 case EMOTE_ONESHOT_CUSTOM_SPELL_03: return 104;
2482 case EMOTE_ONESHOT_CUSTOM_SPELL_04: return 105;
2483 case EMOTE_ONESHOT_CUSTOM_SPELL_05: return 106;
2484 case EMOTE_ONESHOT_CUSTOM_SPELL_06: return 107;
2485 case EMOTE_ONESHOT_CUSTOM_SPELL_07: return 108;
2486 case EMOTE_ONESHOT_CUSTOM_SPELL_08: return 109;
2487 case EMOTE_ONESHOT_CUSTOM_SPELL_09: return 110;
2488 case EMOTE_ONESHOT_CUSTOM_SPELL_10: return 111;
2489 case EMOTE_STATE_EXCLAIM: return 112;
2490 case EMOTE_STATE_DANCE_CUSTOM: return 113;
2491 case EMOTE_STATE_SIT_CHAIR_MED: return 114;
2492 case EMOTE_STATE_CUSTOM_SPELL_01: return 115;
2493 case EMOTE_STATE_CUSTOM_SPELL_02: return 116;
2494 case EMOTE_STATE_EAT: return 117;
2495 case EMOTE_STATE_CUSTOM_SPELL_04: return 118;
2496 case EMOTE_STATE_CUSTOM_SPELL_03: return 119;
2497 case EMOTE_STATE_CUSTOM_SPELL_05: return 120;
2498 case EMOTE_STATE_SPELLEFFECT_HOLD: return 121;
2499 case EMOTE_STATE_EAT_NO_SHEATHE: return 122;
2500 case EMOTE_STATE_MOUNT: return 123;
2501 case EMOTE_STATE_READY2HL: return 124;
2502 case EMOTE_STATE_SIT_CHAIR_HIGH: return 125;
2503 case EMOTE_STATE_FALL: return 126;
2504 case EMOTE_STATE_LOOT: return 127;
2505 case EMOTE_STATE_SUBMERGED_NEW: return 128;
2506 case EMOTE_ONESHOT_COWER: return 129;
2507 case EMOTE_STATE_COWER: return 130;
2508 case EMOTE_ONESHOT_USE_STANDING: return 131;
2509 case EMOTE_STATE_STEALTH_STAND: return 132;
2510 case EMOTE_ONESHOT_OMNICAST_GHOUL: return 133;
2511 case EMOTE_ONESHOT_ATTACK_BOW: return 134;
2512 case EMOTE_ONESHOT_ATTACK_RIFLE: return 135;
2513 case EMOTE_STATE_SWIM_IDLE: return 136;
2514 case EMOTE_STATE_ATTACK_UNARMED: return 137;
2515 case EMOTE_ONESHOT_SPELL_CAST_W_SOUND: return 138;
2516 case EMOTE_ONESHOT_DODGE: return 139;
2517 case EMOTE_ONESHOT_PARRY1H: return 140;
2518 case EMOTE_ONESHOT_PARRY2H: return 141;
2519 case EMOTE_ONESHOT_PARRY2HL: return 142;
2520 case EMOTE_STATE_FLYFALL: return 143;
2521 case EMOTE_ONESHOT_FLYDEATH: return 144;
2522 case EMOTE_STATE_FLY_FALL: return 145;
2523 case EMOTE_ONESHOT_FLY_SIT_GROUND_DOWN: return 146;
2524 case EMOTE_ONESHOT_FLY_SIT_GROUND_UP: return 147;
2525 case EMOTE_ONESHOT_EMERGE: return 148;
2526 case EMOTE_ONESHOT_DRAGON_SPIT: return 149;
2527 case EMOTE_STATE_SPECIAL_UNARMED: return 150;
2528 case EMOTE_ONESHOT_FLYGRAB: return 151;
2529 case EMOTE_STATE_FLYGRABCLOSED: return 152;
2530 case EMOTE_ONESHOT_FLYGRABTHROWN: return 153;
2531 case EMOTE_STATE_FLY_SIT_GROUND: return 154;
2532 case EMOTE_STATE_WALK_BACKWARDS: return 155;
2533 case EMOTE_ONESHOT_FLYTALK: return 156;
2534 case EMOTE_ONESHOT_FLYATTACK1H: return 157;
2535 case EMOTE_STATE_CUSTOM_SPELL_08: return 158;
2536 case EMOTE_ONESHOT_FLY_DRAGON_SPIT: return 159;
2537 case EMOTE_STATE_SIT_CHAIR_LOW: return 160;
2538 case EMOTE_ONESHOT_STUN: return 161;
2539 case EMOTE_ONESHOT_SPELL_CAST_OMNI: return 162;
2540 case EMOTE_STATE_READY_THROWN: return 163;
2541 case EMOTE_ONESHOT_WORK_CHOPWOOD: return 164;
2542 case EMOTE_ONESHOT_WORK_MINING: return 165;
2543 case EMOTE_STATE_SPELL_CHANNEL_OMNI: return 166;
2544 case EMOTE_STATE_SPELL_CHANNEL_DIRECTED: return 167;
2545 case EMOTE_STAND_STATE_NONE: return 168;
2546 case EMOTE_STATE_READYJOUST: return 169;
2547 case EMOTE_STATE_STRANGULATE: return 170;
2548 case EMOTE_STATE_READY_SPELL_OMNI: return 171;
2549 case EMOTE_STATE_HOLD_JOUST: return 172;
2550 case EMOTE_ONESHOT_CRY_JAINA: return 173;
2551 default: throw std::out_of_range("value");
2552 }
2553}

References EMOTE_ONESHOT_APPLAUD, EMOTE_ONESHOT_ATTACK1H, EMOTE_ONESHOT_ATTACK2H_LOOSE, EMOTE_ONESHOT_ATTACK2HTIGHT, EMOTE_ONESHOT_ATTACK_BOW, EMOTE_ONESHOT_ATTACK_OFF, EMOTE_ONESHOT_ATTACK_OFF_PIERCE, EMOTE_ONESHOT_ATTACK_RIFLE, EMOTE_ONESHOT_ATTACK_THROWN, EMOTE_ONESHOT_ATTACK_UNARMED, EMOTE_ONESHOT_BATTLE_ROAR, EMOTE_ONESHOT_BEG, EMOTE_ONESHOT_BOW, EMOTE_ONESHOT_CHEER, EMOTE_ONESHOT_CHEER_NO_SHEATHE, EMOTE_ONESHOT_CHICKEN, EMOTE_ONESHOT_COWER, EMOTE_ONESHOT_CREATURE_SPECIAL, EMOTE_ONESHOT_CRY, EMOTE_ONESHOT_CRY_JAINA, EMOTE_ONESHOT_CUSTOM_SPELL_01, EMOTE_ONESHOT_CUSTOM_SPELL_02, EMOTE_ONESHOT_CUSTOM_SPELL_03, EMOTE_ONESHOT_CUSTOM_SPELL_04, EMOTE_ONESHOT_CUSTOM_SPELL_05, EMOTE_ONESHOT_CUSTOM_SPELL_06, EMOTE_ONESHOT_CUSTOM_SPELL_07, EMOTE_ONESHOT_CUSTOM_SPELL_08, EMOTE_ONESHOT_CUSTOM_SPELL_09, EMOTE_ONESHOT_CUSTOM_SPELL_10, EMOTE_ONESHOT_DANCE, EMOTE_ONESHOT_DANCESPECIAL, EMOTE_ONESHOT_DODGE, EMOTE_ONESHOT_DRAGON_SPIT, EMOTE_ONESHOT_DROWN, EMOTE_ONESHOT_EAT, EMOTE_ONESHOT_EAT_NO_SHEATHE, EMOTE_ONESHOT_EMERGE, EMOTE_ONESHOT_EXCLAMATION, EMOTE_ONESHOT_FISHING, EMOTE_ONESHOT_FLEX, EMOTE_ONESHOT_FLY_DRAGON_SPIT, EMOTE_ONESHOT_FLY_SIT_GROUND_DOWN, EMOTE_ONESHOT_FLY_SIT_GROUND_UP, EMOTE_ONESHOT_FLYATTACK1H, EMOTE_ONESHOT_FLYDEATH, EMOTE_ONESHOT_FLYGRAB, EMOTE_ONESHOT_FLYGRABTHROWN, EMOTE_ONESHOT_FLYTALK, EMOTE_ONESHOT_JUMPEND, EMOTE_ONESHOT_JUMPLANDRUN, EMOTE_ONESHOT_JUMPSTART, EMOTE_ONESHOT_KICK, EMOTE_ONESHOT_KISS, EMOTE_ONESHOT_KNEEL, EMOTE_ONESHOT_LAND, EMOTE_ONESHOT_LAUGH, EMOTE_ONESHOT_LAUGH_NO_SHEATHE, EMOTE_ONESHOT_LIFTOFF, EMOTE_ONESHOT_LOOT, EMOTE_ONESHOT_MOUNT_SPECIAL, EMOTE_ONESHOT_NO, EMOTE_ONESHOT_OMNICAST_GHOUL, EMOTE_ONESHOT_PARRY1H, EMOTE_ONESHOT_PARRY2H, EMOTE_ONESHOT_PARRY2HL, EMOTE_ONESHOT_PARRY_SHIELD, EMOTE_ONESHOT_PARRY_UNARMED, EMOTE_ONESHOT_POINT, EMOTE_ONESHOT_POINT_NO_SHEATHE, EMOTE_ONESHOT_QUESTION, EMOTE_ONESHOT_READY1H, EMOTE_ONESHOT_READY_BOW, EMOTE_ONESHOT_READY_RIFLE, EMOTE_ONESHOT_READY_UNARMED, EMOTE_ONESHOT_ROAR, EMOTE_ONESHOT_RUDE, EMOTE_ONESHOT_SALUTE, EMOTE_ONESHOT_SALUTE_NO_SHEATH, EMOTE_ONESHOT_SHOUT, EMOTE_ONESHOT_SHY, EMOTE_ONESHOT_SPECIALATTACK1H, EMOTE_ONESHOT_SPELL_CAST, EMOTE_ONESHOT_SPELL_CAST_OMNI, EMOTE_ONESHOT_SPELL_CAST_W_SOUND, EMOTE_ONESHOT_SPELL_PRECAST, EMOTE_ONESHOT_STOMP, EMOTE_ONESHOT_STUN, EMOTE_ONESHOT_SUBMERGE, EMOTE_ONESHOT_TALK, EMOTE_ONESHOT_TALK_NO_SHEATHE, EMOTE_ONESHOT_TRAIN, EMOTE_ONESHOT_USE_STANDING, EMOTE_ONESHOT_WAVE, EMOTE_ONESHOT_WAVE_NO_SHEATHE, EMOTE_ONESHOT_WORK_CHOPWOOD, EMOTE_ONESHOT_WORK_MINING, EMOTE_ONESHOT_WOUND, EMOTE_ONESHOT_WOUND_CRITICAL, EMOTE_ONESHOT_YES, EMOTE_STAND_STATE_NONE, EMOTE_STATE_APPLAUD, EMOTE_STATE_AT_EASE, EMOTE_STATE_ATTACK_UNARMED, EMOTE_STATE_CANNIBALIZE, EMOTE_STATE_COWER, EMOTE_STATE_CUSTOM_SPELL_01, EMOTE_STATE_CUSTOM_SPELL_02, EMOTE_STATE_CUSTOM_SPELL_03, EMOTE_STATE_CUSTOM_SPELL_04, EMOTE_STATE_CUSTOM_SPELL_05, EMOTE_STATE_CUSTOM_SPELL_08, EMOTE_STATE_DANCE, EMOTE_STATE_DANCE_CUSTOM, EMOTE_STATE_DANCESPECIAL, EMOTE_STATE_DEAD, EMOTE_STATE_DROWNED, EMOTE_STATE_EAT, EMOTE_STATE_EAT_NO_SHEATHE, EMOTE_STATE_EXCLAIM, EMOTE_STATE_FALL, EMOTE_STATE_FISHING, EMOTE_STATE_FLY_FALL, EMOTE_STATE_FLY_SIT_GROUND, EMOTE_STATE_FLYFALL, EMOTE_STATE_FLYGRABCLOSED, EMOTE_STATE_HOLD_BOW, EMOTE_STATE_HOLD_JOUST, EMOTE_STATE_HOLD_RIFLE, EMOTE_STATE_HOLD_THROWN, EMOTE_STATE_KNEEL, EMOTE_STATE_LAUGH, EMOTE_STATE_LOOT, EMOTE_STATE_MOUNT, EMOTE_STATE_NONE, EMOTE_STATE_POINT, EMOTE_STATE_READY1H, EMOTE_STATE_READY2H, EMOTE_STATE_READY2HL, EMOTE_STATE_READY_BOW, EMOTE_STATE_READY_RIFLE, EMOTE_STATE_READY_SPELL_OMNI, EMOTE_STATE_READY_THROWN, EMOTE_STATE_READY_UNARMED, EMOTE_STATE_READYJOUST, EMOTE_STATE_ROAR, EMOTE_STATE_SIT, EMOTE_STATE_SIT_CHAIR_HIGH, EMOTE_STATE_SIT_CHAIR_LOW, EMOTE_STATE_SIT_CHAIR_MED, EMOTE_STATE_SLEEP, EMOTE_STATE_SPECIAL_UNARMED, EMOTE_STATE_SPELL_CHANNEL_DIRECTED, EMOTE_STATE_SPELL_CHANNEL_OMNI, EMOTE_STATE_SPELL_KNEEL_START, EMOTE_STATE_SPELL_PRECAST, EMOTE_STATE_SPELLEFFECT_HOLD, EMOTE_STATE_STAND, EMOTE_STATE_STEALTH_STAND, EMOTE_STATE_STRANGULATE, EMOTE_STATE_STUN, EMOTE_STATE_STUN_NO_SHEATHE, EMOTE_STATE_SUBMERGED, EMOTE_STATE_SUBMERGED_NEW, EMOTE_STATE_SWIM_IDLE, EMOTE_STATE_TALK, EMOTE_STATE_USE_STANDING, EMOTE_STATE_USE_STANDING_NO_SHEATHE, EMOTE_STATE_WALK_BACKWARDS, EMOTE_STATE_WHIRLWIND, EMOTE_STATE_WORK, EMOTE_STATE_WORK_CHOPWOOD, EMOTE_STATE_WORK_MINING, and EMOTE_STATE_WORK_SHEATHED.

◆ ToIndex() [13/32]

template<typename Enum >
static uint32 EnumUtils::ToIndex ( Enum  value)
inlinestatic

◆ ToIndex() [14/32]

AC_API_EXPORT std::size_t EnumUtils< InventoryResult >::ToIndex ( InventoryResult  value)
228{
229 switch (value)
230 {
231 case EQUIP_ERR_OK: return 0;
232 case EQUIP_ERR_CANT_EQUIP_LEVEL_I: return 1;
233 case EQUIP_ERR_CANT_EQUIP_SKILL: return 2;
235 case EQUIP_ERR_BAG_FULL: return 4;
237 case EQUIP_ERR_CANT_TRADE_EQUIP_BAGS: return 6;
238 case EQUIP_ERR_ONLY_AMMO_CAN_GO_HERE: return 7;
245 case EQUIP_ERR_CANT_DUAL_WIELD: return 14;
246 case EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG: return 15;
248 case EQUIP_ERR_CANT_CARRY_MORE_OF_THIS: return 17;
250 case EQUIP_ERR_ITEM_CANT_STACK: return 19;
251 case EQUIP_ERR_ITEM_CANT_BE_EQUIPPED: return 20;
252 case EQUIP_ERR_ITEMS_CANT_BE_SWAPPED: return 21;
253 case EQUIP_ERR_SLOT_IS_EMPTY: return 22;
254 case EQUIP_ERR_ITEM_NOT_FOUND: return 23;
255 case EQUIP_ERR_CANT_DROP_SOULBOUND: return 24;
256 case EQUIP_ERR_OUT_OF_RANGE: return 25;
258 case EQUIP_ERR_COULDNT_SPLIT_ITEMS: return 27;
259 case EQUIP_ERR_MISSING_REAGENT: return 28;
260 case EQUIP_ERR_NOT_ENOUGH_MONEY: return 29;
261 case EQUIP_ERR_NOT_A_BAG: return 30;
263 case EQUIP_ERR_DONT_OWN_THAT_ITEM: return 32;
264 case EQUIP_ERR_CAN_EQUIP_ONLY1_QUIVER: return 33;
266 case EQUIP_ERR_TOO_FAR_AWAY_FROM_BANK: return 35;
267 case EQUIP_ERR_ITEM_LOCKED: return 36;
268 case EQUIP_ERR_YOU_ARE_STUNNED: return 37;
269 case EQUIP_ERR_YOU_ARE_DEAD: return 38;
270 case EQUIP_ERR_CANT_DO_RIGHT_NOW: return 39;
271 case EQUIP_ERR_INT_BAG_ERROR: return 40;
272 case EQUIP_ERR_CAN_EQUIP_ONLY1_BOLT: return 41;
276 case EQUIP_ERR_WRAPPED_CANT_BE_WRAPPED: return 45;
277 case EQUIP_ERR_BOUND_CANT_BE_WRAPPED: return 46;
278 case EQUIP_ERR_UNIQUE_CANT_BE_WRAPPED: return 47;
279 case EQUIP_ERR_BAGS_CANT_BE_WRAPPED: return 48;
280 case EQUIP_ERR_ALREADY_LOOTED: return 49;
281 case EQUIP_ERR_INVENTORY_FULL: return 50;
282 case EQUIP_ERR_BANK_FULL: return 51;
284 case EQUIP_ERR_BAG_FULL3: return 53;
285 case EQUIP_ERR_ITEM_NOT_FOUND2: return 54;
286 case EQUIP_ERR_ITEM_CANT_STACK2: return 55;
287 case EQUIP_ERR_BAG_FULL4: return 56;
288 case EQUIP_ERR_ITEM_SOLD_OUT: return 57;
289 case EQUIP_ERR_OBJECT_IS_BUSY: return 58;
290 case EQUIP_ERR_NONE: return 59;
291 case EQUIP_ERR_NOT_IN_COMBAT: return 60;
292 case EQUIP_ERR_NOT_WHILE_DISARMED: return 61;
293 case EQUIP_ERR_BAG_FULL6: return 62;
294 case EQUIP_ERR_CANT_EQUIP_RANK: return 63;
295 case EQUIP_ERR_CANT_EQUIP_REPUTATION: return 64;
296 case EQUIP_ERR_TOO_MANY_SPECIAL_BAGS: return 65;
297 case EQUIP_ERR_LOOT_CANT_LOOT_THAT_NOW: return 66;
298 case EQUIP_ERR_ITEM_UNIQUE_EQUIPABLE: return 67;
299 case EQUIP_ERR_VENDOR_MISSING_TURNINS: return 68;
300 case EQUIP_ERR_NOT_ENOUGH_HONOR_POINTS: return 69;
301 case EQUIP_ERR_NOT_ENOUGH_ARENA_POINTS: return 70;
302 case EQUIP_ERR_ITEM_MAX_COUNT_SOCKETED: return 71;
303 case EQUIP_ERR_MAIL_BOUND_ITEM: return 72;
307 case EQUIP_ERR_TOO_MUCH_GOLD: return 76;
308 case EQUIP_ERR_NOT_DURING_ARENA_MATCH: return 77;
309 case EQUIP_ERR_CANNOT_TRADE_THAT: return 78;
316 case EQUIP_ERR_PURCHASE_LEVEL_TOO_LOW: return 85;
317 case EQUIP_ERR_CANT_EQUIP_NEED_TALENT: return 86;
319 default: throw std::out_of_range("value");
320 }
321}

References EQUIP_ERR_ALREADY_LOOTED, EQUIP_ERR_ARTEFACTS_ONLY_FOR_OWN_CHARACTERS, EQUIP_ERR_BAG_FULL, EQUIP_ERR_BAG_FULL3, EQUIP_ERR_BAG_FULL4, EQUIP_ERR_BAG_FULL6, EQUIP_ERR_BAGS_CANT_BE_WRAPPED, EQUIP_ERR_BANK_FULL, EQUIP_ERR_BOUND_CANT_BE_WRAPPED, EQUIP_ERR_CAN_EQUIP_ONLY1_AMMOPOUCH, EQUIP_ERR_CAN_EQUIP_ONLY1_BOLT, EQUIP_ERR_CAN_EQUIP_ONLY1_QUIVER, EQUIP_ERR_CAN_ONLY_DO_WITH_EMPTY_BAGS, EQUIP_ERR_CANNOT_TRADE_THAT, EQUIP_ERR_CANT_CARRY_MORE_OF_THIS, EQUIP_ERR_CANT_DO_RIGHT_NOW, EQUIP_ERR_CANT_DROP_SOULBOUND, EQUIP_ERR_CANT_DUAL_WIELD, EQUIP_ERR_CANT_EQUIP_LEVEL_I, EQUIP_ERR_CANT_EQUIP_NEED_TALENT, EQUIP_ERR_CANT_EQUIP_RANK, EQUIP_ERR_CANT_EQUIP_REPUTATION, EQUIP_ERR_CANT_EQUIP_SKILL, EQUIP_ERR_CANT_EQUIP_WITH_TWOHANDED, EQUIP_ERR_CANT_TRADE_EQUIP_BAGS, EQUIP_ERR_COULDNT_SPLIT_ITEMS, EQUIP_ERR_DONT_OWN_THAT_ITEM, EQUIP_ERR_EQUIPPED_CANT_BE_WRAPPED, EQUIP_ERR_EVENT_AUTOEQUIP_BIND_CONFIRM, EQUIP_ERR_INT_BAG_ERROR, EQUIP_ERR_INVENTORY_FULL, EQUIP_ERR_ITEM_CANT_BE_EQUIPPED, EQUIP_ERR_ITEM_CANT_STACK, EQUIP_ERR_ITEM_CANT_STACK2, EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG, EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG2, EQUIP_ERR_ITEM_DOESNT_GO_TO_SLOT, EQUIP_ERR_ITEM_IS_CURRENTLY_SOLD_OUT, EQUIP_ERR_ITEM_LOCKED, EQUIP_ERR_ITEM_MAX_COUNT_EQUIPPED_SOCKETED, EQUIP_ERR_ITEM_MAX_COUNT_SOCKETED, EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_COUNT_EXCEEDED, EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_EQUIPPED_EXCEEDED, EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_SOCKETED_EXCEEDED, EQUIP_ERR_ITEM_NOT_FOUND, EQUIP_ERR_ITEM_NOT_FOUND2, EQUIP_ERR_ITEM_SOLD_OUT, EQUIP_ERR_ITEM_UNIQUE_EQUIPABLE, EQUIP_ERR_ITEM_UNIQUE_EQUIPPABLE_SOCKETED, EQUIP_ERR_ITEMS_CANT_BE_SWAPPED, EQUIP_ERR_LOOT_CANT_LOOT_THAT_NOW, EQUIP_ERR_MAIL_BOUND_ITEM, EQUIP_ERR_MISSING_REAGENT, EQUIP_ERR_MUST_PURCHASE_THAT_BAG_SLOT, EQUIP_ERR_NO_EQUIPMENT_SLOT_AVAILABLE, EQUIP_ERR_NO_EQUIPMENT_SLOT_AVAILABLE2, EQUIP_ERR_NO_EQUIPMENT_SLOT_AVAILABLE3, EQUIP_ERR_NO_REQUIRED_PROFICIENCY, EQUIP_ERR_NO_SPLIT_WHILE_PROSPECTING, EQUIP_ERR_NONE, EQUIP_ERR_NONEMPTY_BAG_OVER_OTHER_BAG, EQUIP_ERR_NOT_A_BAG, EQUIP_ERR_NOT_DURING_ARENA_MATCH, EQUIP_ERR_NOT_ENOUGH_ARENA_POINTS, EQUIP_ERR_NOT_ENOUGH_HONOR_POINTS, EQUIP_ERR_NOT_ENOUGH_MONEY, EQUIP_ERR_NOT_IN_COMBAT, EQUIP_ERR_NOT_WHILE_DISARMED, EQUIP_ERR_OBJECT_IS_BUSY, EQUIP_ERR_OK, EQUIP_ERR_ONLY_AMMO_CAN_GO_HERE, EQUIP_ERR_OUT_OF_RANGE, EQUIP_ERR_PERSONAL_ARENA_RATING_TOO_LOW, EQUIP_ERR_PURCHASE_LEVEL_TOO_LOW, EQUIP_ERR_SCALING_STAT_ITEM_LEVEL_EXCEEDED, EQUIP_ERR_SLOT_IS_EMPTY, EQUIP_ERR_STACKABLE_CANT_BE_WRAPPED, EQUIP_ERR_TOO_FAR_AWAY_FROM_BANK, EQUIP_ERR_TOO_MANY_SPECIAL_BAGS, EQUIP_ERR_TOO_MUCH_GOLD, EQUIP_ERR_TRIED_TO_SPLIT_MORE_THAN_COUNT, EQUIP_ERR_UNIQUE_CANT_BE_WRAPPED, EQUIP_ERR_VENDOR_MISSING_TURNINS, EQUIP_ERR_WRAPPED_CANT_BE_WRAPPED, EQUIP_ERR_YOU_ARE_DEAD, EQUIP_ERR_YOU_ARE_STUNNED, EQUIP_ERR_YOU_CAN_NEVER_USE_THAT_ITEM, and EQUIP_ERR_YOU_CAN_NEVER_USE_THAT_ITEM2.

◆ ToIndex() [15/32]

AC_API_EXPORT std::size_t EnumUtils< LogLevel >::ToIndex ( LogLevel  value)
66{
67 switch (value)
68 {
69 case LOG_LEVEL_DISABLED: return 0;
70 case LOG_LEVEL_FATAL: return 1;
71 case LOG_LEVEL_ERROR: return 2;
72 case LOG_LEVEL_WARN: return 3;
73 case LOG_LEVEL_INFO: return 4;
74 case LOG_LEVEL_DEBUG: return 5;
75 case LOG_LEVEL_TRACE: return 6;
76 default: throw std::out_of_range("value");
77 }
78}

References LOG_LEVEL_DEBUG, LOG_LEVEL_DISABLED, LOG_LEVEL_ERROR, LOG_LEVEL_FATAL, LOG_LEVEL_INFO, LOG_LEVEL_TRACE, and LOG_LEVEL_WARN.

◆ ToIndex() [16/32]

AC_API_EXPORT std::size_t EnumUtils< Mechanics >::ToIndex ( Mechanics  value)
1961{
1962 switch (value)
1963 {
1964 case MECHANIC_NONE: return 0;
1965 case MECHANIC_CHARM: return 1;
1966 case MECHANIC_DISORIENTED: return 2;
1967 case MECHANIC_DISARM: return 3;
1968 case MECHANIC_DISTRACT: return 4;
1969 case MECHANIC_FEAR: return 5;
1970 case MECHANIC_GRIP: return 6;
1971 case MECHANIC_ROOT: return 7;
1972 case MECHANIC_SLOW_ATTACK: return 8;
1973 case MECHANIC_SILENCE: return 9;
1974 case MECHANIC_SLEEP: return 10;
1975 case MECHANIC_SNARE: return 11;
1976 case MECHANIC_STUN: return 12;
1977 case MECHANIC_FREEZE: return 13;
1978 case MECHANIC_KNOCKOUT: return 14;
1979 case MECHANIC_BLEED: return 15;
1980 case MECHANIC_BANDAGE: return 16;
1981 case MECHANIC_POLYMORPH: return 17;
1982 case MECHANIC_BANISH: return 18;
1983 case MECHANIC_SHIELD: return 19;
1984 case MECHANIC_SHACKLE: return 20;
1985 case MECHANIC_MOUNT: return 21;
1986 case MECHANIC_INFECTED: return 22;
1987 case MECHANIC_TURN: return 23;
1988 case MECHANIC_HORROR: return 24;
1989 case MECHANIC_INVULNERABILITY: return 25;
1990 case MECHANIC_INTERRUPT: return 26;
1991 case MECHANIC_DAZE: return 27;
1992 case MECHANIC_DISCOVERY: return 28;
1993 case MECHANIC_IMMUNE_SHIELD: return 29;
1994 case MECHANIC_SAPPED: return 30;
1995 case MECHANIC_ENRAGED: return 31;
1996 default: throw std::out_of_range("value");
1997 }
1998}

References MECHANIC_BANDAGE, MECHANIC_BANISH, MECHANIC_BLEED, MECHANIC_CHARM, MECHANIC_DAZE, MECHANIC_DISARM, MECHANIC_DISCOVERY, MECHANIC_DISORIENTED, MECHANIC_DISTRACT, MECHANIC_ENRAGED, MECHANIC_FEAR, MECHANIC_FREEZE, MECHANIC_GRIP, MECHANIC_HORROR, MECHANIC_IMMUNE_SHIELD, MECHANIC_INFECTED, MECHANIC_INTERRUPT, MECHANIC_INVULNERABILITY, MECHANIC_KNOCKOUT, MECHANIC_MOUNT, MECHANIC_NONE, MECHANIC_POLYMORPH, MECHANIC_ROOT, MECHANIC_SAPPED, MECHANIC_SHACKLE, MECHANIC_SHIELD, MECHANIC_SILENCE, MECHANIC_SLEEP, MECHANIC_SLOW_ATTACK, MECHANIC_SNARE, MECHANIC_STUN, and MECHANIC_TURN.

◆ ToIndex() [17/32]

AC_API_EXPORT std::size_t EnumUtils< NPCFlags >::ToIndex ( NPCFlags  value)
240{
241 switch (value)
242 {
243 case UNIT_NPC_FLAG_GOSSIP: return 0;
244 case UNIT_NPC_FLAG_QUESTGIVER: return 1;
245 case UNIT_NPC_FLAG_UNK1: return 2;
246 case UNIT_NPC_FLAG_UNK2: return 3;
247 case UNIT_NPC_FLAG_TRAINER: return 4;
248 case UNIT_NPC_FLAG_TRAINER_CLASS: return 5;
250 case UNIT_NPC_FLAG_VENDOR: return 7;
251 case UNIT_NPC_FLAG_VENDOR_AMMO: return 8;
252 case UNIT_NPC_FLAG_VENDOR_FOOD: return 9;
253 case UNIT_NPC_FLAG_VENDOR_POISON: return 10;
254 case UNIT_NPC_FLAG_VENDOR_REAGENT: return 11;
255 case UNIT_NPC_FLAG_REPAIR: return 12;
256 case UNIT_NPC_FLAG_FLIGHTMASTER: return 13;
257 case UNIT_NPC_FLAG_SPIRITHEALER: return 14;
258 case UNIT_NPC_FLAG_SPIRITGUIDE: return 15;
259 case UNIT_NPC_FLAG_INNKEEPER: return 16;
260 case UNIT_NPC_FLAG_BANKER: return 17;
261 case UNIT_NPC_FLAG_PETITIONER: return 18;
262 case UNIT_NPC_FLAG_TABARDDESIGNER: return 19;
263 case UNIT_NPC_FLAG_BATTLEMASTER: return 20;
264 case UNIT_NPC_FLAG_AUCTIONEER: return 21;
265 case UNIT_NPC_FLAG_STABLEMASTER: return 22;
266 case UNIT_NPC_FLAG_GUILD_BANKER: return 23;
267 case UNIT_NPC_FLAG_SPELLCLICK: return 24;
268 case UNIT_NPC_FLAG_PLAYER_VEHICLE: return 25;
269 case UNIT_NPC_FLAG_MAILBOX: return 26;
270 case UNIT_NPC_FLAG_VENDOR_MASK: return 27;
271 default: throw std::out_of_range("value");
272 }
273}

References UNIT_NPC_FLAG_AUCTIONEER, UNIT_NPC_FLAG_BANKER, UNIT_NPC_FLAG_BATTLEMASTER, UNIT_NPC_FLAG_FLIGHTMASTER, UNIT_NPC_FLAG_GOSSIP, UNIT_NPC_FLAG_GUILD_BANKER, UNIT_NPC_FLAG_INNKEEPER, UNIT_NPC_FLAG_MAILBOX, UNIT_NPC_FLAG_PETITIONER, UNIT_NPC_FLAG_PLAYER_VEHICLE, UNIT_NPC_FLAG_QUESTGIVER, UNIT_NPC_FLAG_REPAIR, UNIT_NPC_FLAG_SPELLCLICK, UNIT_NPC_FLAG_SPIRITGUIDE, UNIT_NPC_FLAG_SPIRITHEALER, UNIT_NPC_FLAG_STABLEMASTER, UNIT_NPC_FLAG_TABARDDESIGNER, UNIT_NPC_FLAG_TRAINER, UNIT_NPC_FLAG_TRAINER_CLASS, UNIT_NPC_FLAG_TRAINER_PROFESSION, UNIT_NPC_FLAG_UNK1, UNIT_NPC_FLAG_UNK2, UNIT_NPC_FLAG_VENDOR, UNIT_NPC_FLAG_VENDOR_AMMO, UNIT_NPC_FLAG_VENDOR_FOOD, UNIT_NPC_FLAG_VENDOR_MASK, UNIT_NPC_FLAG_VENDOR_POISON, and UNIT_NPC_FLAG_VENDOR_REAGENT.

◆ ToIndex() [18/32]

◆ ToIndex() [19/32]

◆ ToIndex() [20/32]

AC_API_EXPORT std::size_t EnumUtils< Races >::ToIndex ( Races  value)
72{
73 switch (value)
74 {
75 case RACE_HUMAN: return 0;
76 case RACE_ORC: return 1;
77 case RACE_DWARF: return 2;
78 case RACE_NIGHTELF: return 3;
79 case RACE_UNDEAD_PLAYER: return 4;
80 case RACE_TAUREN: return 5;
81 case RACE_GNOME: return 6;
82 case RACE_TROLL: return 7;
83 case RACE_BLOODELF: return 8;
84 case RACE_DRAENEI: return 9;
85 default: throw std::out_of_range("value");
86 }
87}

References RACE_BLOODELF, RACE_DRAENEI, RACE_DWARF, RACE_GNOME, RACE_HUMAN, RACE_NIGHTELF, RACE_ORC, RACE_TAUREN, RACE_TROLL, and RACE_UNDEAD_PLAYER.

◆ ToIndex() [21/32]

AC_API_EXPORT std::size_t EnumUtils< SellResult >::ToIndex ( SellResult  value)

◆ ToIndex() [22/32]

AC_API_EXPORT std::size_t EnumUtils< SpellAttr0 >::ToIndex ( SpellAttr0  value)
242{
243 switch (value)
244 {
246 case SPELL_ATTR0_USES_RANGED_SLOT: return 1;
249 case SPELL_ATTR0_IS_ABILITY: return 4;
250 case SPELL_ATTR0_IS_TRADESKILL: return 5;
251 case SPELL_ATTR0_PASSIVE: return 6;
252 case SPELL_ATTR0_DO_NOT_DISPLAY: return 7;
253 case SPELL_ATTR0_DO_NOT_LOG: return 8;
254 case SPELL_ATTR0_HELD_ITEM_ONLY: return 9;
255 case SPELL_ATTR0_ON_NEXT_SWING: return 10;
257 case SPELL_ATTR0_SERVER_ONLY: return 12;
259 case SPELL_ATTR0_ONLY_INDOORS: return 14;
260 case SPELL_ATTR0_ONLY_OUTDOORS: return 15;
261 case SPELL_ATTR0_NOT_SHAPESHIFTED: return 16;
262 case SPELL_ATTR0_ONLY_STEALTHED: return 17;
263 case SPELL_ATTR0_DO_NOT_SHEATH: return 18;
266 case SPELL_ATTR0_NO_ACTIVE_DEFENSE: return 21;
268 case SPELL_ATTR0_ALLOW_CAST_WHILE_DEAD: return 23;
269 case SPELL_ATTR0_ALLOW_WHILE_MOUNTED: return 24;
270 case SPELL_ATTR0_COOLDOWN_ON_EVENT: return 25;
271 case SPELL_ATTR0_AURA_IS_DEBUFF: return 26;
272 case SPELL_ATTR0_ALLOW_WHILE_SITTING: return 27;
274 case SPELL_ATTR0_NO_IMMUNITIES: return 29;
275 case SPELL_ATTR0_HEARTBEAT_RESIST: return 30;
276 case SPELL_ATTR0_NO_AURA_CANCEL: return 31;
277 default: throw std::out_of_range("value");
278 }
279}

References SPELL_ATTR0_ALLOW_CAST_WHILE_DEAD, SPELL_ATTR0_ALLOW_ITEM_SPELL_IN_PVP, SPELL_ATTR0_ALLOW_WHILE_MOUNTED, SPELL_ATTR0_ALLOW_WHILE_SITTING, SPELL_ATTR0_AURA_IS_DEBUFF, SPELL_ATTR0_CANCELS_AUTO_ATTACK_COMBAT, SPELL_ATTR0_COOLDOWN_ON_EVENT, SPELL_ATTR0_DO_NOT_DISPLAY, SPELL_ATTR0_DO_NOT_LOG, SPELL_ATTR0_DO_NOT_LOG_IMMUNE_MISSES, SPELL_ATTR0_DO_NOT_SHEATH, SPELL_ATTR0_HEARTBEAT_RESIST, SPELL_ATTR0_HELD_ITEM_ONLY, SPELL_ATTR0_IS_ABILITY, SPELL_ATTR0_IS_TRADESKILL, SPELL_ATTR0_NO_ACTIVE_DEFENSE, SPELL_ATTR0_NO_AURA_CANCEL, SPELL_ATTR0_NO_IMMUNITIES, SPELL_ATTR0_NOT_IN_COMBAT_ONLY_PEACEFUL, SPELL_ATTR0_NOT_SHAPESHIFTED, SPELL_ATTR0_ON_NEXT_SWING, SPELL_ATTR0_ON_NEXT_SWING_NO_DAMAGE, SPELL_ATTR0_ONLY_INDOORS, SPELL_ATTR0_ONLY_OUTDOORS, SPELL_ATTR0_ONLY_STEALTHED, SPELL_ATTR0_PASSIVE, SPELL_ATTR0_PROC_FAILURE_BURNS_CHARGE, SPELL_ATTR0_SCALES_WITH_CREATURE_LEVEL, SPELL_ATTR0_SERVER_ONLY, SPELL_ATTR0_TRACK_TARGET_IN_CAST_PLAYER_ONLY, SPELL_ATTR0_USES_RANGED_SLOT, and SPELL_ATTR0_WEARER_CASTS_PROC_TRIGGER.

◆ ToIndex() [23/32]

AC_API_EXPORT std::size_t EnumUtils< SpellAttr1 >::ToIndex ( SpellAttr1  value)
371{
372 switch (value)
373 {
374 case SPELL_ATTR1_DISMISS_PET_FIRST: return 0;
375 case SPELL_ATTR1_USE_ALL_MANA: return 1;
376 case SPELL_ATTR1_IS_CHANNELED: return 2;
377 case SPELL_ATTR1_NO_REDIRECTION: return 3;
378 case SPELL_ATTR1_NO_SKILL_INCREASE: return 4;
380 case SPELL_ATTR1_IS_SELF_CHANNELED: return 6;
381 case SPELL_ATTR1_NO_REFLECTION: return 7;
383 case SPELL_ATTR1_INITIATE_COMBAT: return 9;
384 case SPELL_ATTR1_NO_THREAT: return 10;
385 case SPELL_ATTR1_AURA_UNIQUE: return 11;
387 case SPELL_ATTR1_TOGGLE_FAR_SIGHT: return 13;
391 case SPELL_ATTR1_NO_AUTOCAST_AI: return 17;
392 case SPELL_ATTR1_PREVENTS_ANIM: return 18;
393 case SPELL_ATTR1_EXCLUDE_CASTER: return 19;
394 case SPELL_ATTR1_FINISHING_MOVE_DAMAGE: return 20;
395 case SPELL_ATTR1_THREAT_ONLY_ON_MISS: return 21;
397 case SPELL_ATTR1_IGNORE_OWNERS_DEATH: return 23;
398 case SPELL_ATTR1_SPECIAL_SKILLUP: return 24;
400 case SPELL_ATTR1_REQUIRE_ALL_TARGETS: return 26;
402 case SPELL_ATTR1_NO_AURA_ICON: return 28;
403 case SPELL_ATTR1_NAME_IN_CHANNEL_BAR: return 29;
404 case SPELL_ATTR1_COMBO_ON_BLOCK: return 30;
405 case SPELL_ATTR1_CAST_WHEN_LEARNED: return 31;
406 default: throw std::out_of_range("value");
407 }
408}

References SPELL_ATTR1_ALLOW_WHILE_STEALTHED, SPELL_ATTR1_AURA_STAYS_AFTER_COMBAT, SPELL_ATTR1_AURA_UNIQUE, SPELL_ATTR1_CAST_WHEN_LEARNED, SPELL_ATTR1_COMBO_ON_BLOCK, SPELL_ATTR1_DISCOUNT_POWER_ON_MISS, SPELL_ATTR1_DISMISS_PET_FIRST, SPELL_ATTR1_EXCLUDE_CASTER, SPELL_ATTR1_FAILURE_BREAKS_STEALTH, SPELL_ATTR1_FINISHING_MOVE_DAMAGE, SPELL_ATTR1_FINISHING_MOVE_DURATION, SPELL_ATTR1_IGNORE_OWNERS_DEATH, SPELL_ATTR1_IMMUNITY_PURGES_EFFECT, SPELL_ATTR1_IMMUNITY_TO_HOSTILE_AND_FRIENDLY_EFFECTS, SPELL_ATTR1_INITIATE_COMBAT, SPELL_ATTR1_IS_CHANNELED, SPELL_ATTR1_IS_SELF_CHANNELED, SPELL_ATTR1_NAME_IN_CHANNEL_BAR, SPELL_ATTR1_NO_AURA_ICON, SPELL_ATTR1_NO_AUTOCAST_AI, SPELL_ATTR1_NO_REDIRECTION, SPELL_ATTR1_NO_REFLECTION, SPELL_ATTR1_NO_SKILL_INCREASE, SPELL_ATTR1_NO_THREAT, SPELL_ATTR1_ONLY_PEACEFUL_TARGETS, SPELL_ATTR1_PREVENTS_ANIM, SPELL_ATTR1_REQUIRE_ALL_TARGETS, SPELL_ATTR1_SPECIAL_SKILLUP, SPELL_ATTR1_THREAT_ONLY_ON_MISS, SPELL_ATTR1_TOGGLE_FAR_SIGHT, SPELL_ATTR1_TRACK_TARGET_IN_CHANNEL, and SPELL_ATTR1_USE_ALL_MANA.

◆ ToIndex() [24/32]

AC_API_EXPORT std::size_t EnumUtils< SpellAttr2 >::ToIndex ( SpellAttr2  value)
500{
501 switch (value)
502 {
503 case SPELL_ATTR2_ALLOW_DEAD_TARGET: return 0;
504 case SPELL_ATTR2_NO_SHAPESHIFT_UI: return 1;
507 case SPELL_ATTR2_USE_SHAPESHIFT_BAR: return 4;
508 case SPELL_ATTR2_AUTO_REPEAT: return 5;
512 case SPELL_ATTR2_ALWAYS_CAST_AS_UNIT: return 9;
513 case SPELL_ATTR2_SPECIAL_TAMING_FLAG: return 10;
515 case SPELL_ATTR2_CHAIN_FROM_CASTER: return 12;
516 case SPELL_ATTR2_ENCHANT_OWN_ITEM_ONLY: return 13;
517 case SPELL_ATTR2_ALLOW_WHILE_INVISIBLE: return 14;
519 case SPELL_ATTR2_NO_ACTIVE_PETS: return 16;
525 case SPELL_ATTR2_NO_INITIAL_THREAD: return 22;
528 case SPELL_ATTR2_DONT_BLOCK_MANA_REGEN: return 25;
529 case SPELL_ATTR2_NO_SCHOOL_IMMUNITIES: return 26;
530 case SPELL_ATTR2_IGNORE_WEAPONSKILL: return 27;
531 case SPELL_ATTR2_NOT_AN_ACTION: return 28;
532 case SPELL_ATTR2_CANT_CRIT: return 29;
533 case SPELL_ATTR2_ACTIVE_THREAT: return 30;
534 case SPELL_ATTR2_RETAIN_ITEM_CAST: return 31;
535 default: throw std::out_of_range("value");
536 }
537}

References SPELL_ATTR2_ACTIVE_THREAT, SPELL_ATTR2_ALLOW_DEAD_TARGET, SPELL_ATTR2_ALLOW_LOW_LEVEL_BUFF, SPELL_ATTR2_ALLOW_WHILE_INVISIBLE, SPELL_ATTR2_ALLOW_WHILE_NOT_SHAPESHIFTED, SPELL_ATTR2_ALWAYS_CAST_AS_UNIT, SPELL_ATTR2_AUTO_REPEAT, SPELL_ATTR2_CANNOT_CAST_ON_TAPPED, SPELL_ATTR2_CANT_CRIT, SPELL_ATTR2_CHAIN_FROM_CASTER, SPELL_ATTR2_DO_NOT_CONSUME_IF_GAINED_DURING_CAST, SPELL_ATTR2_DO_NOT_REPORT_SPELL_FAILURE, SPELL_ATTR2_DO_NOT_RESET_COMBAT_TIMERS, SPELL_ATTR2_DONT_BLOCK_MANA_REGEN, SPELL_ATTR2_ENCHANT_OWN_ITEM_ONLY, SPELL_ATTR2_FAIL_ON_ALL_TARGETS_IMMUNE, SPELL_ATTR2_IGNORE_LINE_OF_SIGHT, SPELL_ATTR2_IGNORE_WEAPONSKILL, SPELL_ATTR2_INCLUDE_IN_ADVANCED_COMBAT_LOG, SPELL_ATTR2_INITIATE_COMBAT_POST_CAST, SPELL_ATTR2_ITEM_CAST_WITH_OWNER_SKILL, SPELL_ATTR2_NO_ACTIVE_PETS, SPELL_ATTR2_NO_INITIAL_THREAD, SPELL_ATTR2_NO_JUMP_WHILE_CAST_PENDING, SPELL_ATTR2_NO_SCHOOL_IMMUNITIES, SPELL_ATTR2_NO_SHAPESHIFT_UI, SPELL_ATTR2_NO_TARGET_PER_SECOND_COST, SPELL_ATTR2_NOT_AN_ACTION, SPELL_ATTR2_PROC_COOLDOWN_ON_FAILURE, SPELL_ATTR2_RETAIN_ITEM_CAST, SPELL_ATTR2_SPECIAL_TAMING_FLAG, and SPELL_ATTR2_USE_SHAPESHIFT_BAR.

◆ ToIndex() [25/32]

AC_API_EXPORT std::size_t EnumUtils< SpellAttr3 >::ToIndex ( SpellAttr3  value)
629{
630 switch (value)
631 {
632 case SPELL_ATTR3_PVP_ENABLING: return 0;
634 case SPELL_ATTR3_NO_CASTING_BAR_TEXT: return 2;
635 case SPELL_ATTR3_COMPLETELY_BLOCKED: return 3;
636 case SPELL_ATTR3_NO_RES_TIMER: return 4;
637 case SPELL_ATTR3_NO_DURABILITY_LOSS: return 5;
638 case SPELL_ATTR3_NO_AVOIDANCE: return 6;
639 case SPELL_ATTR3_DOT_STACKING_RULE: return 7;
640 case SPELL_ATTR3_ONLY_ON_PLAYER: return 8;
641 case SPELL_ATTR3_NOT_A_PROC: return 9;
643 case SPELL_ATTR3_ONLY_BATTLEGROUNDS: return 11;
644 case SPELL_ATTR3_ONLY_ON_GHOSTS: return 12;
645 case SPELL_ATTR3_HIDE_CHANNEL_BAR: return 13;
646 case SPELL_ATTR3_HIDE_IN_RAID_FILTER: return 14;
647 case SPELL_ATTR3_NORMAL_RANGED_ATTACK: return 15;
648 case SPELL_ATTR3_SUPRESS_CASTER_PROCS: return 16;
649 case SPELL_ATTR3_SUPRESS_TARGET_PROCS: return 17;
650 case SPELL_ATTR3_ALWAYS_HIT: return 18;
651 case SPELL_ATTR3_INSTANT_TARGET_PROCS: return 19;
652 case SPELL_ATTR3_ALLOW_AURA_WHILE_DEAD: return 20;
653 case SPELL_ATTR3_ONLY_PROC_OUTDOORS: return 21;
655 case SPELL_ATTR3_NO_DAMAGE_HISTORY: return 23;
657 case SPELL_ATTR3_TREAT_AS_PERIODIC: return 25;
658 case SPELL_ATTR3_CAN_PROC_FROM_PROCS: return 26;
659 case SPELL_ATTR3_ONLY_PROC_ON_CASTER: return 27;
662 case SPELL_ATTR3_DO_NOT_DISPLAY_RANGE: return 30;
663 case SPELL_ATTR3_NOT_ON_AOE_IMMUNE: return 31;
664 default: throw std::out_of_range("value");
665 }
666}

References SPELL_ATTR3_ALLOW_AURA_WHILE_DEAD, SPELL_ATTR3_ALWAYS_HIT, SPELL_ATTR3_CAN_PROC_FROM_PROCS, SPELL_ATTR3_CASTING_CANCELS_AUTOREPEAT, SPELL_ATTR3_COMPLETELY_BLOCKED, SPELL_ATTR3_DO_NOT_DISPLAY_RANGE, SPELL_ATTR3_DOT_STACKING_RULE, SPELL_ATTR3_HIDE_CHANNEL_BAR, SPELL_ATTR3_HIDE_IN_RAID_FILTER, SPELL_ATTR3_IGNORE_CASTER_AND_TARGET_RESTRICTIONS, SPELL_ATTR3_IGNORE_CASTER_MODIFIERS, SPELL_ATTR3_INSTANT_TARGET_PROCS, SPELL_ATTR3_NO_AVOIDANCE, SPELL_ATTR3_NO_CASTING_BAR_TEXT, SPELL_ATTR3_NO_DAMAGE_HISTORY, SPELL_ATTR3_NO_DURABILITY_LOSS, SPELL_ATTR3_NO_PROC_EQUIP_REQUIREMENT, SPELL_ATTR3_NO_RES_TIMER, SPELL_ATTR3_NORMAL_RANGED_ATTACK, SPELL_ATTR3_NOT_A_PROC, SPELL_ATTR3_NOT_ON_AOE_IMMUNE, SPELL_ATTR3_ONLY_BATTLEGROUNDS, SPELL_ATTR3_ONLY_ON_GHOSTS, SPELL_ATTR3_ONLY_ON_PLAYER, SPELL_ATTR3_ONLY_PROC_ON_CASTER, SPELL_ATTR3_ONLY_PROC_OUTDOORS, SPELL_ATTR3_PVP_ENABLING, SPELL_ATTR3_REQUIRES_MAIN_HAND_WEAPON, SPELL_ATTR3_REQUIRES_OFF_HAND_WEAPON, SPELL_ATTR3_SUPRESS_CASTER_PROCS, SPELL_ATTR3_SUPRESS_TARGET_PROCS, and SPELL_ATTR3_TREAT_AS_PERIODIC.

◆ ToIndex() [26/32]

AC_API_EXPORT std::size_t EnumUtils< SpellAttr4 >::ToIndex ( SpellAttr4  value)
758{
759 switch (value)
760 {
761 case SPELL_ATTR4_NO_CAST_LOG: return 0;
764 case SPELL_ATTR4_NO_HELPFUL_THREAT: return 3;
765 case SPELL_ATTR4_NO_HARMFUL_THREAT: return 4;
767 case SPELL_ATTR4_CANNOT_BE_STOLEN: return 6;
772 case SPELL_ATTR4_NO_PARTIAL_IMMUNITY: return 11;
773 case SPELL_ATTR4_AURA_IS_BUFF: return 12;
774 case SPELL_ATTR4_DO_NOT_LOG_CASTER: return 13;
775 case SPELL_ATTR4_REACTIVE_DAMAGE_PROC: return 14;
776 case SPELL_ATTR4_NOT_IN_SPELLBOOK: return 15;
779 case SPELL_ATTR4_BOUNCY_CHAIN_MISSILES: return 18;
781 case SPELL_ATTR4_AURA_NEVER_BOUNCES: return 20;
782 case SPELL_ATTR4_ALLOW_ENETRING_ARENA: return 21;
784 case SPELL_ATTR4_SUPRESS_WEAPON_PROCS: return 23;
785 case SPELL_ATTR4_AUTO_RANGED_COMBAT: return 24;
786 case SPELL_ATTR4_OWNER_POWER_SCALING: return 25;
787 case SPELL_ATTR4_ONLY_FLYING_AREAS: return 26;
788 case SPELL_ATTR4_FORCE_DISPLAY_CASTBAR: return 27;
789 case SPELL_ATTR4_IGNORE_COMBAT_TIMERS: return 28;
791 case SPELL_ATTR4_OBSOLETE: return 30;
792 case SPELL_ATTR4_USE_FACING_FROM_SPELL: return 31;
793 default: throw std::out_of_range("value");
794 }
795}

References SPELL_ATTR4_ALLOW_CAST_WHILE_CASTING, SPELL_ATTR4_ALLOW_CLIENT_TARGETING, SPELL_ATTR4_ALLOW_ENETRING_ARENA, SPELL_ATTR4_ALLOW_PROC_WHILE_SITTING, SPELL_ATTR4_AURA_BOUNCE_FAILS_SPELL, SPELL_ATTR4_AURA_EXPIRES_OFFLINE, SPELL_ATTR4_AURA_IS_BUFF, SPELL_ATTR4_AURA_NEVER_BOUNCES, SPELL_ATTR4_AUTO_RANGED_COMBAT, SPELL_ATTR4_BOUNCY_CHAIN_MISSILES, SPELL_ATTR4_CANNOT_BE_STOLEN, SPELL_ATTR4_CLASS_TRIGGER_ONLY_ON_TARGET, SPELL_ATTR4_COMBAT_FEEDBACK_WHEN_USABLE, SPELL_ATTR4_DO_NOT_LOG_CASTER, SPELL_ATTR4_FORCE_DISPLAY_CASTBAR, SPELL_ATTR4_IGNORE_COMBAT_TIMERS, SPELL_ATTR4_IGNORE_DAMAGE_TAKEN_MODIFIERS, SPELL_ATTR4_IGNORE_DEFAULT_ARENA_RESTRICTIONS, SPELL_ATTR4_NO_CAST_LOG, SPELL_ATTR4_NO_HARMFUL_THREAT, SPELL_ATTR4_NO_HELPFUL_THREAT, SPELL_ATTR4_NO_PARTIAL_IMMUNITY, SPELL_ATTR4_NOT_IN_ARENA_OR_RATED_BATTLEGROUND, SPELL_ATTR4_NOT_IN_SPELLBOOK, SPELL_ATTR4_OBSOLETE, SPELL_ATTR4_ONLY_FLYING_AREAS, SPELL_ATTR4_OWNER_POWER_SCALING, SPELL_ATTR4_PROC_SUPPRESS_SWING_ANIM, SPELL_ATTR4_REACTIVE_DAMAGE_PROC, SPELL_ATTR4_SUPRESS_WEAPON_PROCS, SPELL_ATTR4_USE_FACING_FROM_SPELL, and SPELL_ATTR4_WEAPON_SPEED_COST_SCALING.

◆ ToIndex() [27/32]

AC_API_EXPORT std::size_t EnumUtils< SpellAttr5 >::ToIndex ( SpellAttr5  value)
887{
888 switch (value)
889 {
893 case SPELL_ATTR5_ALLOW_WHILE_STUNNED: return 3;
894 case SPELL_ATTR5_TRIGGERS_CHANNELING: return 4;
895 case SPELL_ATTR5_LIMIT_N: return 5;
897 case SPELL_ATTR5_NOT_ON_PLAYER: return 7;
901 case SPELL_ATTR5_IMPLIED_TARGETING: return 11;
902 case SPELL_ATTR5_MELEE_CHAIN_TARGETING: return 12;
905 case SPELL_ATTR5_TREAT_AS_AREA_EFFECT: return 15;
907 case SPELL_ATTR5_ALLOW_WHILE_FLEEING: return 17;
908 case SPELL_ATTR5_ALLOW_WHILE_CONFUSED: return 18;
909 case SPELL_ATTR5_AI_DOESNT_FACE_TARGET: return 19;
912 case SPELL_ATTR5_NOT_ON_TRIVIAL: return 22;
913 case SPELL_ATTR5_NO_PARTIAL_RESISTS: return 23;
915 case SPELL_ATTR5_ALWAYS_LINE_OF_SIGHT: return 25;
917 case SPELL_ATTR5_NO_CASTER_AURA_ICON: return 27;
918 case SPELL_ATTR5_NO_TARGET_AURA_ICON: return 28;
921 case SPELL_ATTR5_ADD_MELEE_HIT_RATING: return 31;
922 default: throw std::out_of_range("value");
923 }
924}

References SPELL_ATTR5_ADD_MELEE_HIT_RATING, SPELL_ATTR5_AI_DOESNT_FACE_TARGET, SPELL_ATTR5_ALLOW_ACTION_DURING_CHANNEL, SPELL_ATTR5_ALLOW_WHILE_CONFUSED, SPELL_ATTR5_ALLOW_WHILE_FLEEING, SPELL_ATTR5_ALLOW_WHILE_STUNNED, SPELL_ATTR5_ALWAYS_AOE_LINE_OF_SIGHT, SPELL_ATTR5_ALWAYS_LINE_OF_SIGHT, SPELL_ATTR5_ALWAYS_SHOW_GROUND_TEXTURE, SPELL_ATTR5_AURA_AFFECTS_NOT_JUST_REQ_EQUIPPED_ITEM, SPELL_ATTR5_AURA_UNIQUE_PER_CASTER, SPELL_ATTR5_DO_NOT_ATTEMPT_A_PET_RESUMMON_WHEN_DISMOUNTING, SPELL_ATTR5_DO_NOT_DISPLAY_DURATION, SPELL_ATTR5_EXTRA_INITIAL_PERIOD, SPELL_ATTR5_IGNORE_AREA_EFFECT_PVP_CHECK, SPELL_ATTR5_IGNORE_CASTER_REQUIREMENETS, SPELL_ATTR5_IGNORE_TARGET_REQUIREMENTS, SPELL_ATTR5_IMPLIED_TARGETING, SPELL_ATTR5_LIMIT_N, SPELL_ATTR5_MELEE_CHAIN_TARGETING, SPELL_ATTR5_NO_CASTER_AURA_ICON, SPELL_ATTR5_NO_PARTIAL_RESISTS, SPELL_ATTR5_NO_REAGENT_COST_WITH_AURA, SPELL_ATTR5_NO_TARGET_AURA_ICON, SPELL_ATTR5_NOT_AVALIABLE_WHILE_CHARMED, SPELL_ATTR5_NOT_ON_PLAYER, SPELL_ATTR5_NOT_ON_PLAYER_CONTROLLED_NPC, SPELL_ATTR5_NOT_ON_TRIVIAL, SPELL_ATTR5_REMOVE_ENTERING_ARENA, SPELL_ATTR5_SPELL_HASTE_AFFECTS_PERIODIC, SPELL_ATTR5_TREAT_AS_AREA_EFFECT, and SPELL_ATTR5_TRIGGERS_CHANNELING.

◆ ToIndex() [28/32]

AC_API_EXPORT std::size_t EnumUtils< SpellAttr6 >::ToIndex ( SpellAttr6  value)
1016{
1017 switch (value)
1018 {
1021 case SPELL_ATTR6_NOT_AN_ATTACK: return 2;
1022 case SPELL_ATTR6_CAN_ASSIST_IMMUNE_PC: return 3;
1026 case SPELL_ATTR6_AURA_IS_WEAPON_PROC: return 7;
1029 case SPELL_ATTR6_NO_AURA_LOG: return 10;
1030 case SPELL_ATTR6_NOT_IN_RAID_INSTANCES: return 11;
1032 case SPELL_ATTR6_IGNORE_PHASE_SHIFT: return 13;
1034 case SPELL_ATTR6_NO_PUSHBACK: return 15;
1035 case SPELL_ATTR6_NO_JUMP_PATHING: return 16;
1042 case SPELL_ATTR6_TAPS_IMMEDIATELY: return 23;
1051 default: throw std::out_of_range("value");
1052 }
1053}

References SPELL_ATTR6_ABSORB_CANNOT_BE_IGNORED, SPELL_ATTR6_AI_PRIMARY_RANGED_ATTACK, SPELL_ATTR6_ALLOW_EQUIP_WHILE_CASTING, SPELL_ATTR6_ALLOW_ON_CHARMED_TARGETS, SPELL_ATTR6_ALLOW_WHILE_RIDING_VEHICLE, SPELL_ATTR6_AURA_ICON_ONLY_FOR_CASTER, SPELL_ATTR6_AURA_IS_WEAPON_PROC, SPELL_ATTR6_CAN_ASSIST_IMMUNE_PC, SPELL_ATTR6_CAN_TARGET_UNTARGETABLE, SPELL_ATTR6_DELAY_COMBAT_TIMER_DURING_CAST, SPELL_ATTR6_DISABLE_TIED_EFFECT_POINTS, SPELL_ATTR6_DO_NOT_CHAIN_TO_CROWD_CONTROLLED_TARGETS, SPELL_ATTR6_DO_NOT_CONSUME_RESOURCES, SPELL_ATTR6_DO_NOT_RESET_COOLDOWN_IN_ARENA, SPELL_ATTR6_DO_NOT_SELECT_TARGET_WITH_INITIATES_COMBAT, SPELL_ATTR6_DOESNT_RESET_SWING_TIMER_IF_INSTANT, SPELL_ATTR6_FLOATING_COMBAT_TEXT_ON_CAST, SPELL_ATTR6_IGNORE_CASTER_DAMAGE_MODIFIERS, SPELL_ATTR6_IGNORE_FOR_MOD_TIME_RATE, SPELL_ATTR6_IGNORE_HEALTH_MODIFIERS, SPELL_ATTR6_IGNORE_PHASE_SHIFT, SPELL_ATTR6_NO_AURA_LOG, SPELL_ATTR6_NO_CATEGORY_COOLDOWN_MODS, SPELL_ATTR6_NO_COOLDOWN_ON_TOOLTIP, SPELL_ATTR6_NO_JUMP_PATHING, SPELL_ATTR6_NO_PUSHBACK, SPELL_ATTR6_NOT_AN_ATTACK, SPELL_ATTR6_NOT_IN_RAID_INSTANCES, SPELL_ATTR6_ORIGINATE_FROM_CONTROLLER, SPELL_ATTR6_SHOW_MECHANIC_AS_COMBAT_TEXT, SPELL_ATTR6_TAPS_IMMEDIATELY, and SPELL_ATTR6_VEHICLE_IMMUNITY_CATEGORY.

◆ ToIndex() [29/32]

AC_API_EXPORT std::size_t EnumUtils< SpellAttr7 >::ToIndex ( SpellAttr7  value)
1145{
1146 switch (value)
1147 {
1151 case SPELL_ATTR7_DEBUG_SPELL: return 3;
1152 case SPELL_ATTR7_TREAT_AS_RAID_BUFF: return 4;
1153 case SPELL_ATTR7_CAN_BE_MULTI_CAST: return 5;
1156 case SPELL_ATTR7_HORDE_SPECIFIC_SPELL: return 8;
1158 case SPELL_ATTR7_DISPEL_REMOVES_CHARGES: return 10;
1159 case SPELL_ATTR7_CAN_CAUSE_INTERRUPT: return 11;
1160 case SPELL_ATTR7_CAN_CAUSE_SILENCE: return 12;
1162 case SPELL_ATTR7_RECAST_ON_RESUMMON: return 14;
1165 case SPELL_ATTR7_DO_NOT_LOG_PVP_KILL: return 17;
1171 case SPELL_ATTR7_NO_ATTACK_DODGE: return 23;
1172 case SPELL_ATTR7_NO_ATTACK_PARRY: return 24;
1173 case SPELL_ATTR7_NO_ATTACK_MISS: return 25;
1174 case SPELL_ATTR7_TREAT_AS_NPC_AOE: return 26;
1179 case SPELL_ATTR7_ALWAYS_CAST_LOG: return 31;
1180 default: throw std::out_of_range("value");
1181 }
1182}

References SPELL_ATTR7_ALLIANCE_SPECIFIC_SPELL, SPELL_ATTR7_ALLOW_SPELL_REFLECTION, SPELL_ATTR7_ALWAYS_CAST_LOG, SPELL_ATTR7_ATTACK_ON_CHARGE_TO_UNIT, SPELL_ATTR7_BYPASS_NO_RESURRECTION_AURA, SPELL_ATTR7_CAN_BE_MULTI_CAST, SPELL_ATTR7_CAN_CAUSE_INTERRUPT, SPELL_ATTR7_CAN_CAUSE_SILENCE, SPELL_ATTR7_CAN_PROC_FROM_SUPPRESSED_TARGET_PROCS, SPELL_ATTR7_DEBUG_SPELL, SPELL_ATTR7_DISABLE_AURA_WHILE_DEAD, SPELL_ATTR7_DISPEL_REMOVES_CHARGES, SPELL_ATTR7_DO_NOT_COUNT_FOR_PVP_SCOREBOARD, SPELL_ATTR7_DO_NOT_LOG_PVP_KILL, SPELL_ATTR7_DONT_CAUSE_SPELL_PUSHBACK, SPELL_ATTR7_HORDE_SPECIFIC_SPELL, SPELL_ATTR7_IGNORES_COLD_WEATHER_FLYING_REQUIREMENT, SPELL_ATTR7_NO_ATTACK_DODGE, SPELL_ATTR7_NO_ATTACK_MISS, SPELL_ATTR7_NO_ATTACK_PARRY, SPELL_ATTR7_NO_CLIENT_FAIL_WHILE_STUNNED_FLEEING_CONFUSED, SPELL_ATTR7_NO_TARGET_DURATION_MOD, SPELL_ATTR7_NO_UI_NOT_INTERRUPTIBLE, SPELL_ATTR7_ONLY_IN_SPELLBOOK_UNTIL_LEARNED, SPELL_ATTR7_PREPARE_FOR_VEHICLE_CONTROL_END, SPELL_ATTR7_RECAST_ON_RESUMMON, SPELL_ATTR7_REFLECTION_ONLY_DEFENDS, SPELL_ATTR7_REPORT_SPELL_FAILURE_TO_UNIT_TARGET, SPELL_ATTR7_RESET_SWING_TIMER_AT_SPELL_START, SPELL_ATTR7_RETAIN_COOLDOWN_THROUGH_LOAD, SPELL_ATTR7_TREAT_AS_NPC_AOE, and SPELL_ATTR7_TREAT_AS_RAID_BUFF.

◆ ToIndex() [30/32]

AC_API_EXPORT std::size_t EnumUtils< SpellCastResult >::ToIndex ( SpellCastResult  value)
1588{
1589 switch (value)
1590 {
1591 case SPELL_FAILED_SUCCESS: return 0;
1592 case SPELL_FAILED_AFFECTING_COMBAT: return 1;
1594 case SPELL_FAILED_ALREADY_AT_FULL_MANA: return 3;
1596 case SPELL_FAILED_ALREADY_BEING_TAMED: return 5;
1597 case SPELL_FAILED_ALREADY_HAVE_CHARM: return 6;
1598 case SPELL_FAILED_ALREADY_HAVE_SUMMON: return 7;
1599 case SPELL_FAILED_ALREADY_OPEN: return 8;
1600 case SPELL_FAILED_AURA_BOUNCED: return 9;
1601 case SPELL_FAILED_AUTOTRACK_INTERRUPTED: return 10;
1602 case SPELL_FAILED_BAD_IMPLICIT_TARGETS: return 11;
1603 case SPELL_FAILED_BAD_TARGETS: return 12;
1604 case SPELL_FAILED_CANT_BE_CHARMED: return 13;
1605 case SPELL_FAILED_CANT_BE_DISENCHANTED: return 14;
1607 case SPELL_FAILED_CANT_BE_MILLED: return 16;
1608 case SPELL_FAILED_CANT_BE_PROSPECTED: return 17;
1609 case SPELL_FAILED_CANT_CAST_ON_TAPPED: return 18;
1612 case SPELL_FAILED_CANT_STEALTH: return 21;
1613 case SPELL_FAILED_CASTER_AURASTATE: return 22;
1614 case SPELL_FAILED_CASTER_DEAD: return 23;
1615 case SPELL_FAILED_CHARMED: return 24;
1616 case SPELL_FAILED_CHEST_IN_USE: return 25;
1617 case SPELL_FAILED_CONFUSED: return 26;
1618 case SPELL_FAILED_DONT_REPORT: return 27;
1619 case SPELL_FAILED_EQUIPPED_ITEM: return 28;
1620 case SPELL_FAILED_EQUIPPED_ITEM_CLASS: return 29;
1623 case SPELL_FAILED_ERROR: return 32;
1624 case SPELL_FAILED_FIZZLE: return 33;
1625 case SPELL_FAILED_FLEEING: return 34;
1626 case SPELL_FAILED_FOOD_LOWLEVEL: return 35;
1627 case SPELL_FAILED_HIGHLEVEL: return 36;
1628 case SPELL_FAILED_HUNGER_SATIATED: return 37;
1629 case SPELL_FAILED_IMMUNE: return 38;
1630 case SPELL_FAILED_INCORRECT_AREA: return 39;
1631 case SPELL_FAILED_INTERRUPTED: return 40;
1632 case SPELL_FAILED_INTERRUPTED_COMBAT: return 41;
1634 case SPELL_FAILED_ITEM_GONE: return 43;
1635 case SPELL_FAILED_ITEM_NOT_FOUND: return 44;
1636 case SPELL_FAILED_ITEM_NOT_READY: return 45;
1637 case SPELL_FAILED_LEVEL_REQUIREMENT: return 46;
1638 case SPELL_FAILED_LINE_OF_SIGHT: return 47;
1639 case SPELL_FAILED_LOWLEVEL: return 48;
1640 case SPELL_FAILED_LOW_CASTLEVEL: return 49;
1641 case SPELL_FAILED_MAINHAND_EMPTY: return 50;
1642 case SPELL_FAILED_MOVING: return 51;
1643 case SPELL_FAILED_NEED_AMMO: return 52;
1644 case SPELL_FAILED_NEED_AMMO_POUCH: return 53;
1645 case SPELL_FAILED_NEED_EXOTIC_AMMO: return 54;
1646 case SPELL_FAILED_NEED_MORE_ITEMS: return 55;
1647 case SPELL_FAILED_NOPATH: return 56;
1648 case SPELL_FAILED_NOT_BEHIND: return 57;
1649 case SPELL_FAILED_NOT_FISHABLE: return 58;
1650 case SPELL_FAILED_NOT_FLYING: return 59;
1651 case SPELL_FAILED_NOT_HERE: return 60;
1652 case SPELL_FAILED_NOT_INFRONT: return 61;
1653 case SPELL_FAILED_NOT_IN_CONTROL: return 62;
1654 case SPELL_FAILED_NOT_KNOWN: return 63;
1655 case SPELL_FAILED_NOT_MOUNTED: return 64;
1656 case SPELL_FAILED_NOT_ON_TAXI: return 65;
1657 case SPELL_FAILED_NOT_ON_TRANSPORT: return 66;
1658 case SPELL_FAILED_NOT_READY: return 67;
1659 case SPELL_FAILED_NOT_SHAPESHIFT: return 68;
1660 case SPELL_FAILED_NOT_STANDING: return 69;
1661 case SPELL_FAILED_NOT_TRADEABLE: return 70;
1662 case SPELL_FAILED_NOT_TRADING: return 71;
1663 case SPELL_FAILED_NOT_UNSHEATHED: return 72;
1664 case SPELL_FAILED_NOT_WHILE_GHOST: return 73;
1665 case SPELL_FAILED_NOT_WHILE_LOOTING: return 74;
1666 case SPELL_FAILED_NO_AMMO: return 75;
1667 case SPELL_FAILED_NO_CHARGES_REMAIN: return 76;
1668 case SPELL_FAILED_NO_CHAMPION: return 77;
1669 case SPELL_FAILED_NO_COMBO_POINTS: return 78;
1670 case SPELL_FAILED_NO_DUELING: return 79;
1671 case SPELL_FAILED_NO_ENDURANCE: return 80;
1672 case SPELL_FAILED_NO_FISH: return 81;
1674 case SPELL_FAILED_NO_MOUNTS_ALLOWED: return 83;
1675 case SPELL_FAILED_NO_PET: return 84;
1676 case SPELL_FAILED_NO_POWER: return 85;
1677 case SPELL_FAILED_NOTHING_TO_DISPEL: return 86;
1678 case SPELL_FAILED_NOTHING_TO_STEAL: return 87;
1679 case SPELL_FAILED_ONLY_ABOVEWATER: return 88;
1680 case SPELL_FAILED_ONLY_DAYTIME: return 89;
1681 case SPELL_FAILED_ONLY_INDOORS: return 90;
1682 case SPELL_FAILED_ONLY_MOUNTED: return 91;
1683 case SPELL_FAILED_ONLY_NIGHTTIME: return 92;
1684 case SPELL_FAILED_ONLY_OUTDOORS: return 93;
1685 case SPELL_FAILED_ONLY_SHAPESHIFT: return 94;
1686 case SPELL_FAILED_ONLY_STEALTHED: return 95;
1687 case SPELL_FAILED_ONLY_UNDERWATER: return 96;
1688 case SPELL_FAILED_OUT_OF_RANGE: return 97;
1689 case SPELL_FAILED_PACIFIED: return 98;
1690 case SPELL_FAILED_POSSESSED: return 99;
1691 case SPELL_FAILED_REAGENTS: return 100;
1692 case SPELL_FAILED_REQUIRES_AREA: return 101;
1693 case SPELL_FAILED_REQUIRES_SPELL_FOCUS: return 102;
1694 case SPELL_FAILED_ROOTED: return 103;
1695 case SPELL_FAILED_SILENCED: return 104;
1696 case SPELL_FAILED_SPELL_IN_PROGRESS: return 105;
1697 case SPELL_FAILED_SPELL_LEARNED: return 106;
1698 case SPELL_FAILED_SPELL_UNAVAILABLE: return 107;
1699 case SPELL_FAILED_STUNNED: return 108;
1700 case SPELL_FAILED_TARGETS_DEAD: return 109;
1701 case SPELL_FAILED_TARGET_AFFECTING_COMBAT: return 110;
1702 case SPELL_FAILED_TARGET_AURASTATE: return 111;
1703 case SPELL_FAILED_TARGET_DUELING: return 112;
1704 case SPELL_FAILED_TARGET_ENEMY: return 113;
1705 case SPELL_FAILED_TARGET_ENRAGED: return 114;
1706 case SPELL_FAILED_TARGET_FRIENDLY: return 115;
1707 case SPELL_FAILED_TARGET_IN_COMBAT: return 116;
1708 case SPELL_FAILED_TARGET_IS_PLAYER: return 117;
1710 case SPELL_FAILED_TARGET_NOT_DEAD: return 119;
1711 case SPELL_FAILED_TARGET_NOT_IN_PARTY: return 120;
1712 case SPELL_FAILED_TARGET_NOT_LOOTED: return 121;
1713 case SPELL_FAILED_TARGET_NOT_PLAYER: return 122;
1714 case SPELL_FAILED_TARGET_NO_POCKETS: return 123;
1715 case SPELL_FAILED_TARGET_NO_WEAPONS: return 124;
1717 case SPELL_FAILED_TARGET_UNSKINNABLE: return 126;
1718 case SPELL_FAILED_THIRST_SATIATED: return 127;
1719 case SPELL_FAILED_TOO_CLOSE: return 128;
1720 case SPELL_FAILED_TOO_MANY_OF_ITEM: return 129;
1721 case SPELL_FAILED_TOTEM_CATEGORY: return 130;
1722 case SPELL_FAILED_TOTEMS: return 131;
1723 case SPELL_FAILED_TRY_AGAIN: return 132;
1724 case SPELL_FAILED_UNIT_NOT_BEHIND: return 133;
1725 case SPELL_FAILED_UNIT_NOT_INFRONT: return 134;
1726 case SPELL_FAILED_WRONG_PET_FOOD: return 135;
1727 case SPELL_FAILED_NOT_WHILE_FATIGUED: return 136;
1728 case SPELL_FAILED_TARGET_NOT_IN_INSTANCE: return 137;
1729 case SPELL_FAILED_NOT_WHILE_TRADING: return 138;
1730 case SPELL_FAILED_TARGET_NOT_IN_RAID: return 139;
1731 case SPELL_FAILED_TARGET_FREEFORALL: return 140;
1732 case SPELL_FAILED_NO_EDIBLE_CORPSES: return 141;
1733 case SPELL_FAILED_ONLY_BATTLEGROUNDS: return 142;
1734 case SPELL_FAILED_TARGET_NOT_GHOST: return 143;
1735 case SPELL_FAILED_TRANSFORM_UNUSABLE: return 144;
1736 case SPELL_FAILED_WRONG_WEATHER: return 145;
1737 case SPELL_FAILED_DAMAGE_IMMUNE: return 146;
1738 case SPELL_FAILED_PREVENTED_BY_MECHANIC: return 147;
1739 case SPELL_FAILED_PLAY_TIME: return 148;
1740 case SPELL_FAILED_REPUTATION: return 149;
1741 case SPELL_FAILED_MIN_SKILL: return 150;
1742 case SPELL_FAILED_NOT_IN_ARENA: return 151;
1743 case SPELL_FAILED_NOT_ON_SHAPESHIFT: return 152;
1744 case SPELL_FAILED_NOT_ON_STEALTHED: return 153;
1745 case SPELL_FAILED_NOT_ON_DAMAGE_IMMUNE: return 154;
1746 case SPELL_FAILED_NOT_ON_MOUNTED: return 155;
1747 case SPELL_FAILED_TOO_SHALLOW: return 156;
1748 case SPELL_FAILED_TARGET_NOT_IN_SANCTUARY: return 157;
1749 case SPELL_FAILED_TARGET_IS_TRIVIAL: return 158;
1750 case SPELL_FAILED_BM_OR_INVISGOD: return 159;
1753 case SPELL_FAILED_NOT_IDLE: return 162;
1754 case SPELL_FAILED_NOT_INACTIVE: return 163;
1755 case SPELL_FAILED_PARTIAL_PLAYTIME: return 164;
1756 case SPELL_FAILED_NO_PLAYTIME: return 165;
1757 case SPELL_FAILED_NOT_IN_BATTLEGROUND: return 166;
1758 case SPELL_FAILED_NOT_IN_RAID_INSTANCE: return 167;
1759 case SPELL_FAILED_ONLY_IN_ARENA: return 168;
1761 case SPELL_FAILED_ON_USE_ENCHANT: return 170;
1762 case SPELL_FAILED_NOT_ON_GROUND: return 171;
1763 case SPELL_FAILED_CUSTOM_ERROR: return 172;
1764 case SPELL_FAILED_CANT_DO_THAT_RIGHT_NOW: return 173;
1765 case SPELL_FAILED_TOO_MANY_SOCKETS: return 174;
1766 case SPELL_FAILED_INVALID_GLYPH: return 175;
1767 case SPELL_FAILED_UNIQUE_GLYPH: return 176;
1768 case SPELL_FAILED_GLYPH_SOCKET_LOCKED: return 177;
1769 case SPELL_FAILED_NO_VALID_TARGETS: return 178;
1770 case SPELL_FAILED_ITEM_AT_MAX_CHARGES: return 179;
1771 case SPELL_FAILED_NOT_IN_BARBERSHOP: return 180;
1772 case SPELL_FAILED_FISHING_TOO_LOW: return 181;
1774 case SPELL_FAILED_SUMMON_PENDING: return 183;
1775 case SPELL_FAILED_MAX_SOCKETS: return 184;
1776 case SPELL_FAILED_PET_CAN_RENAME: return 185;
1778 case SPELL_FAILED_UNKNOWN: return 187;
1779 case SPELL_CAST_OK: return 188;
1780 default: throw std::out_of_range("value");
1781 }
1782}

References SPELL_CAST_OK, SPELL_FAILED_AFFECTING_COMBAT, SPELL_FAILED_ALREADY_AT_FULL_HEALTH, SPELL_FAILED_ALREADY_AT_FULL_MANA, SPELL_FAILED_ALREADY_AT_FULL_POWER, SPELL_FAILED_ALREADY_BEING_TAMED, SPELL_FAILED_ALREADY_HAVE_CHARM, SPELL_FAILED_ALREADY_HAVE_SUMMON, SPELL_FAILED_ALREADY_OPEN, SPELL_FAILED_ARTISAN_RIDING_REQUIREMENT, SPELL_FAILED_AURA_BOUNCED, SPELL_FAILED_AUTOTRACK_INTERRUPTED, SPELL_FAILED_BAD_IMPLICIT_TARGETS, SPELL_FAILED_BAD_TARGETS, SPELL_FAILED_BM_OR_INVISGOD, SPELL_FAILED_CANT_BE_CHARMED, SPELL_FAILED_CANT_BE_DISENCHANTED, SPELL_FAILED_CANT_BE_DISENCHANTED_SKILL, SPELL_FAILED_CANT_BE_MILLED, SPELL_FAILED_CANT_BE_PROSPECTED, SPELL_FAILED_CANT_CAST_ON_TAPPED, SPELL_FAILED_CANT_DO_THAT_RIGHT_NOW, SPELL_FAILED_CANT_DUEL_WHILE_INVISIBLE, SPELL_FAILED_CANT_DUEL_WHILE_STEALTHED, SPELL_FAILED_CANT_STEALTH, SPELL_FAILED_CASTER_AURASTATE, SPELL_FAILED_CASTER_DEAD, SPELL_FAILED_CHARMED, SPELL_FAILED_CHEST_IN_USE, SPELL_FAILED_CONFUSED, SPELL_FAILED_CUSTOM_ERROR, SPELL_FAILED_DAMAGE_IMMUNE, SPELL_FAILED_DONT_REPORT, SPELL_FAILED_EQUIPPED_ITEM, SPELL_FAILED_EQUIPPED_ITEM_CLASS, SPELL_FAILED_EQUIPPED_ITEM_CLASS_MAINHAND, SPELL_FAILED_EQUIPPED_ITEM_CLASS_OFFHAND, SPELL_FAILED_ERROR, SPELL_FAILED_EXPERT_RIDING_REQUIREMENT, SPELL_FAILED_FISHING_TOO_LOW, SPELL_FAILED_FIZZLE, SPELL_FAILED_FLEEING, SPELL_FAILED_FOOD_LOWLEVEL, SPELL_FAILED_GLYPH_SOCKET_LOCKED, SPELL_FAILED_HIGHLEVEL, SPELL_FAILED_HUNGER_SATIATED, SPELL_FAILED_IMMUNE, SPELL_FAILED_INCORRECT_AREA, SPELL_FAILED_INTERRUPTED, SPELL_FAILED_INTERRUPTED_COMBAT, SPELL_FAILED_INVALID_GLYPH, SPELL_FAILED_ITEM_ALREADY_ENCHANTED, SPELL_FAILED_ITEM_AT_MAX_CHARGES, SPELL_FAILED_ITEM_ENCHANT_TRADE_WINDOW, SPELL_FAILED_ITEM_GONE, SPELL_FAILED_ITEM_NOT_FOUND, SPELL_FAILED_ITEM_NOT_READY, SPELL_FAILED_LEVEL_REQUIREMENT, SPELL_FAILED_LINE_OF_SIGHT, SPELL_FAILED_LOW_CASTLEVEL, SPELL_FAILED_LOWLEVEL, SPELL_FAILED_MAINHAND_EMPTY, SPELL_FAILED_MAX_SOCKETS, SPELL_FAILED_MIN_SKILL, SPELL_FAILED_MOVING, SPELL_FAILED_NEED_AMMO, SPELL_FAILED_NEED_AMMO_POUCH, SPELL_FAILED_NEED_EXOTIC_AMMO, SPELL_FAILED_NEED_MORE_ITEMS, SPELL_FAILED_NO_AMMO, SPELL_FAILED_NO_CHAMPION, SPELL_FAILED_NO_CHARGES_REMAIN, SPELL_FAILED_NO_COMBO_POINTS, SPELL_FAILED_NO_DUELING, SPELL_FAILED_NO_EDIBLE_CORPSES, SPELL_FAILED_NO_ENDURANCE, SPELL_FAILED_NO_FISH, SPELL_FAILED_NO_ITEMS_WHILE_SHAPESHIFTED, SPELL_FAILED_NO_MOUNTS_ALLOWED, SPELL_FAILED_NO_PET, SPELL_FAILED_NO_PLAYTIME, SPELL_FAILED_NO_POWER, SPELL_FAILED_NO_VALID_TARGETS, SPELL_FAILED_NOPATH, SPELL_FAILED_NOT_BEHIND, SPELL_FAILED_NOT_FISHABLE, SPELL_FAILED_NOT_FLYING, SPELL_FAILED_NOT_HERE, SPELL_FAILED_NOT_IDLE, SPELL_FAILED_NOT_IN_ARENA, SPELL_FAILED_NOT_IN_BARBERSHOP, SPELL_FAILED_NOT_IN_BATTLEGROUND, SPELL_FAILED_NOT_IN_CONTROL, SPELL_FAILED_NOT_IN_RAID_INSTANCE, SPELL_FAILED_NOT_INACTIVE, SPELL_FAILED_NOT_INFRONT, SPELL_FAILED_NOT_KNOWN, SPELL_FAILED_NOT_MOUNTED, SPELL_FAILED_NOT_ON_DAMAGE_IMMUNE, SPELL_FAILED_NOT_ON_GROUND, SPELL_FAILED_NOT_ON_MOUNTED, SPELL_FAILED_NOT_ON_SHAPESHIFT, SPELL_FAILED_NOT_ON_STEALTHED, SPELL_FAILED_NOT_ON_TAXI, SPELL_FAILED_NOT_ON_TRANSPORT, SPELL_FAILED_NOT_READY, SPELL_FAILED_NOT_SHAPESHIFT, SPELL_FAILED_NOT_STANDING, SPELL_FAILED_NOT_TRADEABLE, SPELL_FAILED_NOT_TRADING, SPELL_FAILED_NOT_UNSHEATHED, SPELL_FAILED_NOT_WHILE_FATIGUED, SPELL_FAILED_NOT_WHILE_GHOST, SPELL_FAILED_NOT_WHILE_LOOTING, SPELL_FAILED_NOT_WHILE_TRADING, SPELL_FAILED_NOTHING_TO_DISPEL, SPELL_FAILED_NOTHING_TO_STEAL, SPELL_FAILED_ON_USE_ENCHANT, SPELL_FAILED_ONLY_ABOVEWATER, SPELL_FAILED_ONLY_BATTLEGROUNDS, SPELL_FAILED_ONLY_DAYTIME, SPELL_FAILED_ONLY_IN_ARENA, SPELL_FAILED_ONLY_INDOORS, SPELL_FAILED_ONLY_MOUNTED, SPELL_FAILED_ONLY_NIGHTTIME, SPELL_FAILED_ONLY_OUTDOORS, SPELL_FAILED_ONLY_SHAPESHIFT, SPELL_FAILED_ONLY_STEALTHED, SPELL_FAILED_ONLY_UNDERWATER, SPELL_FAILED_OUT_OF_RANGE, SPELL_FAILED_PACIFIED, SPELL_FAILED_PARTIAL_PLAYTIME, SPELL_FAILED_PET_CAN_RENAME, SPELL_FAILED_PLAY_TIME, SPELL_FAILED_POSSESSED, SPELL_FAILED_PREVENTED_BY_MECHANIC, SPELL_FAILED_REAGENTS, SPELL_FAILED_REPUTATION, SPELL_FAILED_REQUIRES_AREA, SPELL_FAILED_REQUIRES_SPELL_FOCUS, SPELL_FAILED_ROOTED, SPELL_FAILED_SILENCED, SPELL_FAILED_SPELL_IN_PROGRESS, SPELL_FAILED_SPELL_LEARNED, SPELL_FAILED_SPELL_UNAVAILABLE, SPELL_FAILED_STUNNED, SPELL_FAILED_SUCCESS, SPELL_FAILED_SUMMON_PENDING, SPELL_FAILED_TARGET_AFFECTING_COMBAT, SPELL_FAILED_TARGET_AURASTATE, SPELL_FAILED_TARGET_CANNOT_BE_RESURRECTED, SPELL_FAILED_TARGET_DUELING, SPELL_FAILED_TARGET_ENEMY, SPELL_FAILED_TARGET_ENRAGED, SPELL_FAILED_TARGET_FREEFORALL, SPELL_FAILED_TARGET_FRIENDLY, SPELL_FAILED_TARGET_IN_COMBAT, SPELL_FAILED_TARGET_IS_PLAYER, SPELL_FAILED_TARGET_IS_PLAYER_CONTROLLED, SPELL_FAILED_TARGET_IS_TRIVIAL, SPELL_FAILED_TARGET_LOCKED_TO_RAID_INSTANCE, SPELL_FAILED_TARGET_NO_POCKETS, SPELL_FAILED_TARGET_NO_RANGED_WEAPONS, SPELL_FAILED_TARGET_NO_WEAPONS, SPELL_FAILED_TARGET_NOT_DEAD, SPELL_FAILED_TARGET_NOT_GHOST, SPELL_FAILED_TARGET_NOT_IN_INSTANCE, SPELL_FAILED_TARGET_NOT_IN_PARTY, SPELL_FAILED_TARGET_NOT_IN_RAID, SPELL_FAILED_TARGET_NOT_IN_SANCTUARY, SPELL_FAILED_TARGET_NOT_LOOTED, SPELL_FAILED_TARGET_NOT_PLAYER, SPELL_FAILED_TARGET_UNSKINNABLE, SPELL_FAILED_TARGETS_DEAD, SPELL_FAILED_THIRST_SATIATED, SPELL_FAILED_TOO_CLOSE, SPELL_FAILED_TOO_MANY_OF_ITEM, SPELL_FAILED_TOO_MANY_SOCKETS, SPELL_FAILED_TOO_SHALLOW, SPELL_FAILED_TOTEM_CATEGORY, SPELL_FAILED_TOTEMS, SPELL_FAILED_TRANSFORM_UNUSABLE, SPELL_FAILED_TRY_AGAIN, SPELL_FAILED_UNIQUE_GLYPH, SPELL_FAILED_UNIT_NOT_BEHIND, SPELL_FAILED_UNIT_NOT_INFRONT, SPELL_FAILED_UNKNOWN, SPELL_FAILED_WRONG_PET_FOOD, and SPELL_FAILED_WRONG_WEATHER.

◆ ToIndex() [31/32]

AC_API_EXPORT std::size_t EnumUtils< UnitFlags >::ToIndex ( UnitFlags  value)
118{
119 switch (value)
120 {
121 case UNIT_FLAG_NONE: return 0;
122 case UNIT_FLAG_SERVER_CONTROLLED: return 1;
123 case UNIT_FLAG_NON_ATTACKABLE: return 2;
124 case UNIT_FLAG_DISABLE_MOVE: return 3;
125 case UNIT_FLAG_PLAYER_CONTROLLED: return 4;
126 case UNIT_FLAG_RENAME: return 5;
127 case UNIT_FLAG_PREPARATION: return 6;
128 case UNIT_FLAG_UNK_6: return 7;
129 case UNIT_FLAG_NOT_ATTACKABLE_1: return 8;
130 case UNIT_FLAG_IMMUNE_TO_PC: return 9;
131 case UNIT_FLAG_IMMUNE_TO_NPC: return 10;
132 case UNIT_FLAG_LOOTING: return 11;
133 case UNIT_FLAG_PET_IN_COMBAT: return 12;
134 case UNIT_FLAG_PVP: return 13;
135 case UNIT_FLAG_SILENCED: return 14;
136 case UNIT_FLAG_CANNOT_SWIM: return 15;
137 case UNIT_FLAG_SWIMMING: return 16;
138 case UNIT_FLAG_NON_ATTACKABLE_2: return 17;
139 case UNIT_FLAG_PACIFIED: return 18;
140 case UNIT_FLAG_STUNNED: return 19;
141 case UNIT_FLAG_IN_COMBAT: return 20;
142 case UNIT_FLAG_TAXI_FLIGHT: return 21;
143 case UNIT_FLAG_DISARMED: return 22;
144 case UNIT_FLAG_CONFUSED: return 23;
145 case UNIT_FLAG_FLEEING: return 24;
146 case UNIT_FLAG_POSSESSED: return 25;
147 case UNIT_FLAG_NOT_SELECTABLE: return 26;
148 case UNIT_FLAG_SKINNABLE: return 27;
149 case UNIT_FLAG_MOUNT: return 28;
150 case UNIT_FLAG_UNK_28: return 29;
152 case UNIT_FLAG_SHEATHE: return 31;
153 case UNIT_FLAG_IMMUNE: return 32;
154 default: throw std::out_of_range("value");
155 }
156}

References UNIT_FLAG_CANNOT_SWIM, UNIT_FLAG_CONFUSED, UNIT_FLAG_DISABLE_MOVE, UNIT_FLAG_DISARMED, UNIT_FLAG_FLEEING, UNIT_FLAG_IMMUNE, UNIT_FLAG_IMMUNE_TO_NPC, UNIT_FLAG_IMMUNE_TO_PC, UNIT_FLAG_IN_COMBAT, UNIT_FLAG_LOOTING, UNIT_FLAG_MOUNT, UNIT_FLAG_NON_ATTACKABLE, UNIT_FLAG_NON_ATTACKABLE_2, UNIT_FLAG_NONE, UNIT_FLAG_NOT_ATTACKABLE_1, UNIT_FLAG_NOT_SELECTABLE, UNIT_FLAG_PACIFIED, UNIT_FLAG_PET_IN_COMBAT, UNIT_FLAG_PLAYER_CONTROLLED, UNIT_FLAG_POSSESSED, UNIT_FLAG_PREPARATION, UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT, UNIT_FLAG_PVP, UNIT_FLAG_RENAME, UNIT_FLAG_SERVER_CONTROLLED, UNIT_FLAG_SHEATHE, UNIT_FLAG_SILENCED, UNIT_FLAG_SKINNABLE, UNIT_FLAG_STUNNED, UNIT_FLAG_SWIMMING, UNIT_FLAG_TAXI_FLIGHT, UNIT_FLAG_UNK_28, and UNIT_FLAG_UNK_6.

◆ ToIndex() [32/32]

AC_API_EXPORT std::size_t EnumUtils< WardenActions >::ToIndex ( WardenActions  value)
58{
59 switch (value)
60 {
61 case WARDEN_ACTION_LOG: return 0;
62 case WARDEN_ACTION_KICK: return 1;
63 case WARDEN_ACTION_BAN: return 2;
64 default: throw std::out_of_range("value");
65 }
66}

References WARDEN_ACTION_BAN, WARDEN_ACTION_KICK, and WARDEN_ACTION_LOG.

◆ ToString() [1/32]

130{
131 switch (value)
132 {
133 case APPENDER_FLAGS_NONE: return { "APPENDER_FLAGS_NONE", "APPENDER_FLAGS_NONE", "" };
134 case APPENDER_FLAGS_PREFIX_TIMESTAMP: return { "APPENDER_FLAGS_PREFIX_TIMESTAMP", "APPENDER_FLAGS_PREFIX_TIMESTAMP", "" };
135 case APPENDER_FLAGS_PREFIX_LOGLEVEL: return { "APPENDER_FLAGS_PREFIX_LOGLEVEL", "APPENDER_FLAGS_PREFIX_LOGLEVEL", "" };
136 case APPENDER_FLAGS_PREFIX_LOGFILTERTYPE: return { "APPENDER_FLAGS_PREFIX_LOGFILTERTYPE", "APPENDER_FLAGS_PREFIX_LOGFILTERTYPE", "" };
137 case APPENDER_FLAGS_USE_TIMESTAMP: return { "APPENDER_FLAGS_USE_TIMESTAMP", "APPENDER_FLAGS_USE_TIMESTAMP", "" };
138 case APPENDER_FLAGS_MAKE_FILE_BACKUP: return { "APPENDER_FLAGS_MAKE_FILE_BACKUP", "APPENDER_FLAGS_MAKE_FILE_BACKUP", "" };
139 default: throw std::out_of_range("value");
140 }
141}

References APPENDER_FLAGS_MAKE_FILE_BACKUP, APPENDER_FLAGS_NONE, APPENDER_FLAGS_PREFIX_LOGFILTERTYPE, APPENDER_FLAGS_PREFIX_LOGLEVEL, APPENDER_FLAGS_PREFIX_TIMESTAMP, and APPENDER_FLAGS_USE_TIMESTAMP.

◆ ToString() [2/32]

85{
86 switch (value)
87 {
88 case APPENDER_NONE: return { "APPENDER_NONE", "APPENDER_NONE", "" };
89 case APPENDER_CONSOLE: return { "APPENDER_CONSOLE", "APPENDER_CONSOLE", "" };
90 case APPENDER_FILE: return { "APPENDER_FILE", "APPENDER_FILE", "" };
91 case APPENDER_DB: return { "APPENDER_DB", "APPENDER_DB", "" };
92 default: throw std::out_of_range("value");
93 }
94}

References APPENDER_CONSOLE, APPENDER_DB, APPENDER_FILE, and APPENDER_NONE.

◆ ToString() [3/32]

31{
32 switch (value)
33 {
34 case ARENA_TEAM_2v2: return { "ARENA_TEAM_2v2", "ARENA_TEAM_2v2", "" };
35 case ARENA_TEAM_3v3: return { "ARENA_TEAM_3v3", "ARENA_TEAM_3v3", "" };
36 case ARENA_TEAM_5v5: return { "ARENA_TEAM_5v5", "ARENA_TEAM_5v5", "" };
37 default: throw std::out_of_range("value");
38 }
39}

References ARENA_TEAM_2v2, ARENA_TEAM_3v3, and ARENA_TEAM_5v5.

◆ ToString() [4/32]

1789{
1790 switch (value)
1791 {
1792 case AURA_STATE_NONE: return { "AURA_STATE_NONE", "AURA_STATE_NONE", "C |" };
1793 case AURA_STATE_DEFENSE: return { "AURA_STATE_DEFENSE", "AURA_STATE_DEFENSE", "C |" };
1794 case AURA_STATE_HEALTHLESS_20_PERCENT: return { "AURA_STATE_HEALTHLESS_20_PERCENT", "AURA_STATE_HEALTHLESS_20_PERCENT", "CcT |" };
1795 case AURA_STATE_BERSERKING: return { "AURA_STATE_BERSERKING", "AURA_STATE_BERSERKING", "C T |" };
1796 case AURA_STATE_FROZEN: return { "AURA_STATE_FROZEN", "AURA_STATE_FROZEN", "c t| frozen target" };
1797 case AURA_STATE_JUDGEMENT: return { "AURA_STATE_JUDGEMENT", "AURA_STATE_JUDGEMENT", "C |" };
1798 case AURA_STATE_HUNTER_PARRY: return { "AURA_STATE_HUNTER_PARRY", "AURA_STATE_HUNTER_PARRY", "C |" };
1799 case AURA_STATE_WARRIOR_VICTORY_RUSH: return { "AURA_STATE_WARRIOR_VICTORY_RUSH", "AURA_STATE_WARRIOR_VICTORY_RUSH", "C | warrior victory rush" };
1800 case AURA_STATE_FAERIE_FIRE: return { "AURA_STATE_FAERIE_FIRE", "AURA_STATE_FAERIE_FIRE", "c t|" };
1801 case AURA_STATE_HEALTHLESS_35_PERCENT: return { "AURA_STATE_HEALTHLESS_35_PERCENT", "AURA_STATE_HEALTHLESS_35_PERCENT", "C T |" };
1802 case AURA_STATE_CONFLAGRATE: return { "AURA_STATE_CONFLAGRATE", "AURA_STATE_CONFLAGRATE", "T |" };
1803 case AURA_STATE_SWIFTMEND: return { "AURA_STATE_SWIFTMEND", "AURA_STATE_SWIFTMEND", "T |" };
1804 case AURA_STATE_DEADLY_POISON: return { "AURA_STATE_DEADLY_POISON", "AURA_STATE_DEADLY_POISON", "T |" };
1805 case AURA_STATE_ENRAGE: return { "AURA_STATE_ENRAGE", "AURA_STATE_ENRAGE", "C |" };
1806 case AURA_STATE_BLEEDING: return { "AURA_STATE_BLEEDING", "AURA_STATE_BLEEDING", "T|" };
1807 case AURA_STATE_UNKNOWN19: return { "AURA_STATE_UNKNOWN19", "AURA_STATE_UNKNOWN19", "|" };
1808 case AURA_STATE_UNKNOWN22: return { "AURA_STATE_UNKNOWN22", "AURA_STATE_UNKNOWN22", "C t| varius spells (63884, 50240)" };
1809 case AURA_STATE_HEALTH_ABOVE_75_PERCENT: return { "AURA_STATE_HEALTH_ABOVE_75_PERCENT", "AURA_STATE_HEALTH_ABOVE_75_PERCENT", "C |" };
1810 default: throw std::out_of_range("value");
1811 }
1812}

References AURA_STATE_BERSERKING, AURA_STATE_BLEEDING, AURA_STATE_CONFLAGRATE, AURA_STATE_DEADLY_POISON, AURA_STATE_DEFENSE, AURA_STATE_ENRAGE, AURA_STATE_FAERIE_FIRE, AURA_STATE_FROZEN, AURA_STATE_HEALTH_ABOVE_75_PERCENT, AURA_STATE_HEALTHLESS_20_PERCENT, AURA_STATE_HEALTHLESS_35_PERCENT, AURA_STATE_HUNTER_PARRY, AURA_STATE_JUDGEMENT, AURA_STATE_NONE, AURA_STATE_SWIFTMEND, AURA_STATE_UNKNOWN19, AURA_STATE_UNKNOWN22, and AURA_STATE_WARRIOR_VICTORY_RUSH.

◆ ToString() [5/32]

328{
329 switch (value)
330 {
331 case BUY_ERR_CANT_FIND_ITEM: return { "BUY_ERR_CANT_FIND_ITEM", "BUY_ERR_CANT_FIND_ITEM", "" };
332 case BUY_ERR_ITEM_ALREADY_SOLD: return { "BUY_ERR_ITEM_ALREADY_SOLD", "BUY_ERR_ITEM_ALREADY_SOLD", "" };
333 case BUY_ERR_NOT_ENOUGHT_MONEY: return { "BUY_ERR_NOT_ENOUGHT_MONEY", "BUY_ERR_NOT_ENOUGHT_MONEY", "" };
334 case BUY_ERR_SELLER_DONT_LIKE_YOU: return { "BUY_ERR_SELLER_DONT_LIKE_YOU", "BUY_ERR_SELLER_DONT_LIKE_YOU", "" };
335 case BUY_ERR_DISTANCE_TOO_FAR: return { "BUY_ERR_DISTANCE_TOO_FAR", "BUY_ERR_DISTANCE_TOO_FAR", "" };
336 case BUY_ERR_ITEM_SOLD_OUT: return { "BUY_ERR_ITEM_SOLD_OUT", "BUY_ERR_ITEM_SOLD_OUT", "" };
337 case BUY_ERR_CANT_CARRY_MORE: return { "BUY_ERR_CANT_CARRY_MORE", "BUY_ERR_CANT_CARRY_MORE", "" };
338 case BUY_ERR_RANK_REQUIRE: return { "BUY_ERR_RANK_REQUIRE", "BUY_ERR_RANK_REQUIRE", "" };
339 case BUY_ERR_REPUTATION_REQUIRE: return { "BUY_ERR_REPUTATION_REQUIRE", "BUY_ERR_REPUTATION_REQUIRE", "" };
340 default: throw std::out_of_range("value");
341 }
342}

References BUY_ERR_CANT_CARRY_MORE, BUY_ERR_CANT_FIND_ITEM, BUY_ERR_DISTANCE_TOO_FAR, BUY_ERR_ITEM_ALREADY_SOLD, BUY_ERR_ITEM_SOLD_OUT, BUY_ERR_NOT_ENOUGHT_MONEY, BUY_ERR_RANK_REQUIRE, BUY_ERR_REPUTATION_REQUIRE, and BUY_ERR_SELLER_DONT_LIKE_YOU.

◆ ToString() [6/32]

AC_API_EXPORT EnumText EnumUtils< ChatMsg >::ToString ( ChatMsg  value)
2560{
2561 switch (value)
2562 {
2563 case CHAT_MSG_ADDON: return { "CHAT_MSG_ADDON", "CHAT_MSG_ADDON", "" };
2564 case CHAT_MSG_SYSTEM: return { "CHAT_MSG_SYSTEM", "CHAT_MSG_SYSTEM", "" };
2565 case CHAT_MSG_SAY: return { "CHAT_MSG_SAY", "CHAT_MSG_SAY", "" };
2566 case CHAT_MSG_PARTY: return { "CHAT_MSG_PARTY", "CHAT_MSG_PARTY", "" };
2567 case CHAT_MSG_RAID: return { "CHAT_MSG_RAID", "CHAT_MSG_RAID", "" };
2568 case CHAT_MSG_GUILD: return { "CHAT_MSG_GUILD", "CHAT_MSG_GUILD", "" };
2569 case CHAT_MSG_OFFICER: return { "CHAT_MSG_OFFICER", "CHAT_MSG_OFFICER", "" };
2570 case CHAT_MSG_YELL: return { "CHAT_MSG_YELL", "CHAT_MSG_YELL", "" };
2571 case CHAT_MSG_WHISPER: return { "CHAT_MSG_WHISPER", "CHAT_MSG_WHISPER", "" };
2572 case CHAT_MSG_WHISPER_FOREIGN: return { "CHAT_MSG_WHISPER_FOREIGN", "CHAT_MSG_WHISPER_FOREIGN", "" };
2573 case CHAT_MSG_WHISPER_INFORM: return { "CHAT_MSG_WHISPER_INFORM", "CHAT_MSG_WHISPER_INFORM", "" };
2574 case CHAT_MSG_EMOTE: return { "CHAT_MSG_EMOTE", "CHAT_MSG_EMOTE", "" };
2575 case CHAT_MSG_TEXT_EMOTE: return { "CHAT_MSG_TEXT_EMOTE", "CHAT_MSG_TEXT_EMOTE", "" };
2576 case CHAT_MSG_MONSTER_SAY: return { "CHAT_MSG_MONSTER_SAY", "CHAT_MSG_MONSTER_SAY", "" };
2577 case CHAT_MSG_MONSTER_PARTY: return { "CHAT_MSG_MONSTER_PARTY", "CHAT_MSG_MONSTER_PARTY", "" };
2578 case CHAT_MSG_MONSTER_YELL: return { "CHAT_MSG_MONSTER_YELL", "CHAT_MSG_MONSTER_YELL", "" };
2579 case CHAT_MSG_MONSTER_WHISPER: return { "CHAT_MSG_MONSTER_WHISPER", "CHAT_MSG_MONSTER_WHISPER", "" };
2580 case CHAT_MSG_MONSTER_EMOTE: return { "CHAT_MSG_MONSTER_EMOTE", "CHAT_MSG_MONSTER_EMOTE", "" };
2581 case CHAT_MSG_CHANNEL: return { "CHAT_MSG_CHANNEL", "CHAT_MSG_CHANNEL", "" };
2582 case CHAT_MSG_CHANNEL_JOIN: return { "CHAT_MSG_CHANNEL_JOIN", "CHAT_MSG_CHANNEL_JOIN", "" };
2583 case CHAT_MSG_CHANNEL_LEAVE: return { "CHAT_MSG_CHANNEL_LEAVE", "CHAT_MSG_CHANNEL_LEAVE", "" };
2584 case CHAT_MSG_CHANNEL_LIST: return { "CHAT_MSG_CHANNEL_LIST", "CHAT_MSG_CHANNEL_LIST", "" };
2585 case CHAT_MSG_CHANNEL_NOTICE: return { "CHAT_MSG_CHANNEL_NOTICE", "CHAT_MSG_CHANNEL_NOTICE", "" };
2586 case CHAT_MSG_CHANNEL_NOTICE_USER: return { "CHAT_MSG_CHANNEL_NOTICE_USER", "CHAT_MSG_CHANNEL_NOTICE_USER", "" };
2587 case CHAT_MSG_AFK: return { "CHAT_MSG_AFK", "CHAT_MSG_AFK", "" };
2588 case CHAT_MSG_DND: return { "CHAT_MSG_DND", "CHAT_MSG_DND", "" };
2589 case CHAT_MSG_IGNORED: return { "CHAT_MSG_IGNORED", "CHAT_MSG_IGNORED", "" };
2590 case CHAT_MSG_SKILL: return { "CHAT_MSG_SKILL", "CHAT_MSG_SKILL", "" };
2591 case CHAT_MSG_LOOT: return { "CHAT_MSG_LOOT", "CHAT_MSG_LOOT", "" };
2592 case CHAT_MSG_MONEY: return { "CHAT_MSG_MONEY", "CHAT_MSG_MONEY", "" };
2593 case CHAT_MSG_OPENING: return { "CHAT_MSG_OPENING", "CHAT_MSG_OPENING", "" };
2594 case CHAT_MSG_TRADESKILLS: return { "CHAT_MSG_TRADESKILLS", "CHAT_MSG_TRADESKILLS", "" };
2595 case CHAT_MSG_PET_INFO: return { "CHAT_MSG_PET_INFO", "CHAT_MSG_PET_INFO", "" };
2596 case CHAT_MSG_COMBAT_MISC_INFO: return { "CHAT_MSG_COMBAT_MISC_INFO", "CHAT_MSG_COMBAT_MISC_INFO", "" };
2597 case CHAT_MSG_COMBAT_XP_GAIN: return { "CHAT_MSG_COMBAT_XP_GAIN", "CHAT_MSG_COMBAT_XP_GAIN", "" };
2598 case CHAT_MSG_COMBAT_HONOR_GAIN: return { "CHAT_MSG_COMBAT_HONOR_GAIN", "CHAT_MSG_COMBAT_HONOR_GAIN", "" };
2599 case CHAT_MSG_COMBAT_FACTION_CHANGE: return { "CHAT_MSG_COMBAT_FACTION_CHANGE", "CHAT_MSG_COMBAT_FACTION_CHANGE", "" };
2600 case CHAT_MSG_BG_SYSTEM_NEUTRAL: return { "CHAT_MSG_BG_SYSTEM_NEUTRAL", "CHAT_MSG_BG_SYSTEM_NEUTRAL", "" };
2601 case CHAT_MSG_BG_SYSTEM_ALLIANCE: return { "CHAT_MSG_BG_SYSTEM_ALLIANCE", "CHAT_MSG_BG_SYSTEM_ALLIANCE", "" };
2602 case CHAT_MSG_BG_SYSTEM_HORDE: return { "CHAT_MSG_BG_SYSTEM_HORDE", "CHAT_MSG_BG_SYSTEM_HORDE", "" };
2603 case CHAT_MSG_RAID_LEADER: return { "CHAT_MSG_RAID_LEADER", "CHAT_MSG_RAID_LEADER", "" };
2604 case CHAT_MSG_RAID_WARNING: return { "CHAT_MSG_RAID_WARNING", "CHAT_MSG_RAID_WARNING", "" };
2605 case CHAT_MSG_RAID_BOSS_EMOTE: return { "CHAT_MSG_RAID_BOSS_EMOTE", "CHAT_MSG_RAID_BOSS_EMOTE", "" };
2606 case CHAT_MSG_RAID_BOSS_WHISPER: return { "CHAT_MSG_RAID_BOSS_WHISPER", "CHAT_MSG_RAID_BOSS_WHISPER", "" };
2607 case CHAT_MSG_FILTERED: return { "CHAT_MSG_FILTERED", "CHAT_MSG_FILTERED", "" };
2608 case CHAT_MSG_BATTLEGROUND: return { "CHAT_MSG_BATTLEGROUND", "CHAT_MSG_BATTLEGROUND", "" };
2609 case CHAT_MSG_BATTLEGROUND_LEADER: return { "CHAT_MSG_BATTLEGROUND_LEADER", "CHAT_MSG_BATTLEGROUND_LEADER", "" };
2610 case CHAT_MSG_RESTRICTED: return { "CHAT_MSG_RESTRICTED", "CHAT_MSG_RESTRICTED", "" };
2611 case CHAT_MSG_BATTLENET: return { "CHAT_MSG_BATTLENET", "CHAT_MSG_BATTLENET", "" };
2612 case CHAT_MSG_ACHIEVEMENT: return { "CHAT_MSG_ACHIEVEMENT", "CHAT_MSG_ACHIEVEMENT", "" };
2613 case CHAT_MSG_GUILD_ACHIEVEMENT: return { "CHAT_MSG_GUILD_ACHIEVEMENT", "CHAT_MSG_GUILD_ACHIEVEMENT", "" };
2614 case CHAT_MSG_ARENA_POINTS: return { "CHAT_MSG_ARENA_POINTS", "CHAT_MSG_ARENA_POINTS", "" };
2615 case CHAT_MSG_PARTY_LEADER: return { "CHAT_MSG_PARTY_LEADER", "CHAT_MSG_PARTY_LEADER", "" };
2616 default: throw std::out_of_range("value");
2617 }
2618}

References CHAT_MSG_ACHIEVEMENT, CHAT_MSG_ADDON, CHAT_MSG_AFK, CHAT_MSG_ARENA_POINTS, CHAT_MSG_BATTLEGROUND, CHAT_MSG_BATTLEGROUND_LEADER, CHAT_MSG_BATTLENET, CHAT_MSG_BG_SYSTEM_ALLIANCE, CHAT_MSG_BG_SYSTEM_HORDE, CHAT_MSG_BG_SYSTEM_NEUTRAL, CHAT_MSG_CHANNEL, CHAT_MSG_CHANNEL_JOIN, CHAT_MSG_CHANNEL_LEAVE, CHAT_MSG_CHANNEL_LIST, CHAT_MSG_CHANNEL_NOTICE, CHAT_MSG_CHANNEL_NOTICE_USER, CHAT_MSG_COMBAT_FACTION_CHANGE, CHAT_MSG_COMBAT_HONOR_GAIN, CHAT_MSG_COMBAT_MISC_INFO, CHAT_MSG_COMBAT_XP_GAIN, CHAT_MSG_DND, CHAT_MSG_EMOTE, CHAT_MSG_FILTERED, CHAT_MSG_GUILD, CHAT_MSG_GUILD_ACHIEVEMENT, CHAT_MSG_IGNORED, CHAT_MSG_LOOT, CHAT_MSG_MONEY, CHAT_MSG_MONSTER_EMOTE, CHAT_MSG_MONSTER_PARTY, CHAT_MSG_MONSTER_SAY, CHAT_MSG_MONSTER_WHISPER, CHAT_MSG_MONSTER_YELL, CHAT_MSG_OFFICER, CHAT_MSG_OPENING, CHAT_MSG_PARTY, CHAT_MSG_PARTY_LEADER, CHAT_MSG_PET_INFO, CHAT_MSG_RAID, CHAT_MSG_RAID_BOSS_EMOTE, CHAT_MSG_RAID_BOSS_WHISPER, CHAT_MSG_RAID_LEADER, CHAT_MSG_RAID_WARNING, CHAT_MSG_RESTRICTED, CHAT_MSG_SAY, CHAT_MSG_SKILL, CHAT_MSG_SYSTEM, CHAT_MSG_TEXT_EMOTE, CHAT_MSG_TRADESKILLS, CHAT_MSG_WHISPER, CHAT_MSG_WHISPER_FOREIGN, CHAT_MSG_WHISPER_INFORM, and CHAT_MSG_YELL.

◆ ToString() [7/32]

31{
32 switch (value)
33 {
34 case CHAT_JOINED_NOTICE: return { "CHAT_JOINED_NOTICE", "CHAT_JOINED_NOTICE", "+ \042%s joined channel.\042;" };
35 case CHAT_LEFT_NOTICE: return { "CHAT_LEFT_NOTICE", "CHAT_LEFT_NOTICE", "+ \042%s left channel.\042;" };
36 case CHAT_YOU_JOINED_NOTICE: return { "CHAT_YOU_JOINED_NOTICE", "CHAT_YOU_JOINED_NOTICE", "+ \042Joined Channel: [%s]\042; -- You joined" };
37 case CHAT_YOU_LEFT_NOTICE: return { "CHAT_YOU_LEFT_NOTICE", "CHAT_YOU_LEFT_NOTICE", "+ \042Left Channel: [%s]\042; -- You left" };
38 case CHAT_WRONG_PASSWORD_NOTICE: return { "CHAT_WRONG_PASSWORD_NOTICE", "CHAT_WRONG_PASSWORD_NOTICE", "+ \042Wrong password for %s.\042;" };
39 case CHAT_NOT_MEMBER_NOTICE: return { "CHAT_NOT_MEMBER_NOTICE", "CHAT_NOT_MEMBER_NOTICE", "+ \042Not on channel %s.\042;" };
40 case CHAT_NOT_MODERATOR_NOTICE: return { "CHAT_NOT_MODERATOR_NOTICE", "CHAT_NOT_MODERATOR_NOTICE", "+ \042Not a moderator of %s.\042;" };
41 case CHAT_PASSWORD_CHANGED_NOTICE: return { "CHAT_PASSWORD_CHANGED_NOTICE", "CHAT_PASSWORD_CHANGED_NOTICE", "+ \042[%s] Password changed by %s.\042;" };
42 case CHAT_OWNER_CHANGED_NOTICE: return { "CHAT_OWNER_CHANGED_NOTICE", "CHAT_OWNER_CHANGED_NOTICE", "+ \042[%s] Owner changed to %s.\042;" };
43 case CHAT_PLAYER_NOT_FOUND_NOTICE: return { "CHAT_PLAYER_NOT_FOUND_NOTICE", "CHAT_PLAYER_NOT_FOUND_NOTICE", "+ \042[%s] Player %s was not found.\042;" };
44 case CHAT_NOT_OWNER_NOTICE: return { "CHAT_NOT_OWNER_NOTICE", "CHAT_NOT_OWNER_NOTICE", "+ \042[%s] You are not the channel owner.\042;" };
45 case CHAT_CHANNEL_OWNER_NOTICE: return { "CHAT_CHANNEL_OWNER_NOTICE", "CHAT_CHANNEL_OWNER_NOTICE", "+ \042[%s] Channel owner is %s.\042;" };
46 case CHAT_MODE_CHANGE_NOTICE: return { "CHAT_MODE_CHANGE_NOTICE", "CHAT_MODE_CHANGE_NOTICE", "?" };
47 case CHAT_ANNOUNCEMENTS_ON_NOTICE: return { "CHAT_ANNOUNCEMENTS_ON_NOTICE", "CHAT_ANNOUNCEMENTS_ON_NOTICE", "+ \042[%s] Channel announcements enabled by %s.\042;" };
48 case CHAT_ANNOUNCEMENTS_OFF_NOTICE: return { "CHAT_ANNOUNCEMENTS_OFF_NOTICE", "CHAT_ANNOUNCEMENTS_OFF_NOTICE", "+ \042[%s] Channel announcements disabled by %s.\042;" };
49 case CHAT_MODERATION_ON_NOTICE: return { "CHAT_MODERATION_ON_NOTICE", "CHAT_MODERATION_ON_NOTICE", "+ \042[%s] Channel moderation enabled by %s.\042;" };
50 case CHAT_MODERATION_OFF_NOTICE: return { "CHAT_MODERATION_OFF_NOTICE", "CHAT_MODERATION_OFF_NOTICE", "+ \042[%s] Channel moderation disabled by %s.\042;" };
51 case CHAT_MUTED_NOTICE: return { "CHAT_MUTED_NOTICE", "CHAT_MUTED_NOTICE", "+ \042[%s] You do not have permission to speak.\042;" };
52 case CHAT_PLAYER_KICKED_NOTICE: return { "CHAT_PLAYER_KICKED_NOTICE", "CHAT_PLAYER_KICKED_NOTICE", "? \042[%s] Player %s kicked by %s.\042;" };
53 case CHAT_BANNED_NOTICE: return { "CHAT_BANNED_NOTICE", "CHAT_BANNED_NOTICE", "+ \042[%s] You are bannedStore from that channel.\042;" };
54 case CHAT_PLAYER_BANNED_NOTICE: return { "CHAT_PLAYER_BANNED_NOTICE", "CHAT_PLAYER_BANNED_NOTICE", "? \042[%s] Player %s bannedStore by %s.\042;" };
55 case CHAT_PLAYER_UNBANNED_NOTICE: return { "CHAT_PLAYER_UNBANNED_NOTICE", "CHAT_PLAYER_UNBANNED_NOTICE", "? \042[%s] Player %s unbanned by %s.\042;" };
56 case CHAT_PLAYER_NOT_BANNED_NOTICE: return { "CHAT_PLAYER_NOT_BANNED_NOTICE", "CHAT_PLAYER_NOT_BANNED_NOTICE", "+ \042[%s] Player %s is not bannedStore.\042;" };
57 case CHAT_PLAYER_ALREADY_MEMBER_NOTICE: return { "CHAT_PLAYER_ALREADY_MEMBER_NOTICE", "CHAT_PLAYER_ALREADY_MEMBER_NOTICE", "+ \042[%s] Player %s is already on the channel.\042;" };
58 case CHAT_INVITE_NOTICE: return { "CHAT_INVITE_NOTICE", "CHAT_INVITE_NOTICE", "+ \042%2$s has invited you to join the channel '%1$s'.\042;" };
59 case CHAT_INVITE_WRONG_FACTION_NOTICE: return { "CHAT_INVITE_WRONG_FACTION_NOTICE", "CHAT_INVITE_WRONG_FACTION_NOTICE", "+ \042Target is in the wrong alliance for %s.\042;" };
60 case CHAT_WRONG_FACTION_NOTICE: return { "CHAT_WRONG_FACTION_NOTICE", "CHAT_WRONG_FACTION_NOTICE", "+ \042Wrong alliance for %s.\042;" };
61 case CHAT_INVALID_NAME_NOTICE: return { "CHAT_INVALID_NAME_NOTICE", "CHAT_INVALID_NAME_NOTICE", "+ \042Invalid channel name\042;" };
62 case CHAT_NOT_MODERATED_NOTICE: return { "CHAT_NOT_MODERATED_NOTICE", "CHAT_NOT_MODERATED_NOTICE", "+ \042%s is not moderated\042;" };
63 case CHAT_PLAYER_INVITED_NOTICE: return { "CHAT_PLAYER_INVITED_NOTICE", "CHAT_PLAYER_INVITED_NOTICE", "+ \042[%s] You invited %s to join the channel\042;" };
64 case CHAT_PLAYER_INVITE_BANNED_NOTICE: return { "CHAT_PLAYER_INVITE_BANNED_NOTICE", "CHAT_PLAYER_INVITE_BANNED_NOTICE", "+ \042[%s] %s has been bannedStore.\042;" };
65 case CHAT_THROTTLED_NOTICE: return { "CHAT_THROTTLED_NOTICE", "CHAT_THROTTLED_NOTICE", "+ \042[%s] The number of messages that can be sent to this channel is limited, please wait to send another message.\042;" };
66 case CHAT_NOT_IN_AREA_NOTICE: return { "CHAT_NOT_IN_AREA_NOTICE", "CHAT_NOT_IN_AREA_NOTICE", "+ \042[%s] You are not in the correct area for this channel.\042; -- The user is trying to send a chat to a zone specific channel, and they're not physically in that zone." };
67 case CHAT_NOT_IN_LFG_NOTICE: return { "CHAT_NOT_IN_LFG_NOTICE", "CHAT_NOT_IN_LFG_NOTICE", "+ \042[%s] You must be queued in looking for group before joining this channel.\042; -- The user must be in the looking for group system to join LFG chat channels." };
68 case CHAT_VOICE_ON_NOTICE: return { "CHAT_VOICE_ON_NOTICE", "CHAT_VOICE_ON_NOTICE", "+ \042[%s] Channel voice enabled by %s.\042;" };
69 case CHAT_VOICE_OFF_NOTICE: return { "CHAT_VOICE_OFF_NOTICE", "CHAT_VOICE_OFF_NOTICE", "+ \042[%s] Channel voice disabled by %s.\042;" };
70 default: throw std::out_of_range("value");
71 }
72}

References CHAT_ANNOUNCEMENTS_OFF_NOTICE, CHAT_ANNOUNCEMENTS_ON_NOTICE, CHAT_BANNED_NOTICE, CHAT_CHANNEL_OWNER_NOTICE, CHAT_INVALID_NAME_NOTICE, CHAT_INVITE_NOTICE, CHAT_INVITE_WRONG_FACTION_NOTICE, CHAT_JOINED_NOTICE, CHAT_LEFT_NOTICE, CHAT_MODE_CHANGE_NOTICE, CHAT_MODERATION_OFF_NOTICE, CHAT_MODERATION_ON_NOTICE, CHAT_MUTED_NOTICE, CHAT_NOT_IN_AREA_NOTICE, CHAT_NOT_IN_LFG_NOTICE, CHAT_NOT_MEMBER_NOTICE, CHAT_NOT_MODERATED_NOTICE, CHAT_NOT_MODERATOR_NOTICE, CHAT_NOT_OWNER_NOTICE, CHAT_OWNER_CHANGED_NOTICE, CHAT_PASSWORD_CHANGED_NOTICE, CHAT_PLAYER_ALREADY_MEMBER_NOTICE, CHAT_PLAYER_BANNED_NOTICE, CHAT_PLAYER_INVITE_BANNED_NOTICE, CHAT_PLAYER_INVITED_NOTICE, CHAT_PLAYER_KICKED_NOTICE, CHAT_PLAYER_NOT_BANNED_NOTICE, CHAT_PLAYER_NOT_FOUND_NOTICE, CHAT_PLAYER_UNBANNED_NOTICE, CHAT_THROTTLED_NOTICE, CHAT_VOICE_OFF_NOTICE, CHAT_VOICE_ON_NOTICE, CHAT_WRONG_FACTION_NOTICE, CHAT_WRONG_PASSWORD_NOTICE, CHAT_YOU_JOINED_NOTICE, and CHAT_YOU_LEFT_NOTICE.

◆ ToString() [8/32]

AC_API_EXPORT EnumText EnumUtils< Classes >::ToString ( Classes  value)
94{
95 switch (value)
96 {
97 case CLASS_WARRIOR: return { "CLASS_WARRIOR", "Warrior", "" };
98 case CLASS_PALADIN: return { "CLASS_PALADIN", "Paladin", "" };
99 case CLASS_HUNTER: return { "CLASS_HUNTER", "Hunter", "" };
100 case CLASS_ROGUE: return { "CLASS_ROGUE", "Rogue", "" };
101 case CLASS_PRIEST: return { "CLASS_PRIEST", "Priest", "" };
102 case CLASS_DEATH_KNIGHT: return { "CLASS_DEATH_KNIGHT", "Death Knight", "" };
103 case CLASS_SHAMAN: return { "CLASS_SHAMAN", "Shaman", "" };
104 case CLASS_MAGE: return { "CLASS_MAGE", "Mage", "" };
105 case CLASS_WARLOCK: return { "CLASS_WARLOCK", "Warlock", "" };
106 case CLASS_DRUID: return { "CLASS_DRUID", "Druid", "" };
107 default: throw std::out_of_range("value");
108 }
109}

References CLASS_DEATH_KNIGHT, CLASS_DRUID, CLASS_HUNTER, CLASS_MAGE, CLASS_PALADIN, CLASS_PRIEST, CLASS_ROGUE, CLASS_SHAMAN, CLASS_WARLOCK, and CLASS_WARRIOR.

◆ ToString() [9/32]

31{
32 switch (value)
33 {
34 case BLACK: return { "BLACK", "BLACK", "" };
35 case RED: return { "RED", "RED", "" };
36 case GREEN: return { "GREEN", "GREEN", "" };
37 case BROWN: return { "BROWN", "BROWN", "" };
38 case BLUE: return { "BLUE", "BLUE", "" };
39 case MAGENTA: return { "MAGENTA", "MAGENTA", "" };
40 case CYAN: return { "CYAN", "CYAN", "" };
41 case GREY: return { "GREY", "GREY", "" };
42 case YELLOW: return { "YELLOW", "YELLOW", "" };
43 case LRED: return { "LRED", "LRED", "" };
44 case LGREEN: return { "LGREEN", "LGREEN", "" };
45 case LBLUE: return { "LBLUE", "LBLUE", "" };
46 case LMAGENTA: return { "LMAGENTA", "LMAGENTA", "" };
47 case LCYAN: return { "LCYAN", "LCYAN", "" };
48 case WHITE: return { "WHITE", "WHITE", "" };
49 default: throw std::out_of_range("value");
50 }
51}

References BLACK, BLUE, BROWN, CYAN, GREEN, GREY, LBLUE, LCYAN, LGREEN, LMAGENTA, LRED, MAGENTA, RED, WHITE, and YELLOW.

◆ ToString() [10/32]

31{
32 switch (value)
33 {
34 case CreatureAI::EVADE_REASON_NO_HOSTILES: return { "EVADE_REASON_NO_HOSTILES", "EVADE_REASON_NO_HOSTILES", "the creature's threat list is empty" };
35 case CreatureAI::EVADE_REASON_BOUNDARY: return { "EVADE_REASON_BOUNDARY", "EVADE_REASON_BOUNDARY", "the creature has moved outside its evade boundary" };
36 case CreatureAI::EVADE_REASON_SEQUENCE_BREAK: return { "EVADE_REASON_SEQUENCE_BREAK", "EVADE_REASON_SEQUENCE_BREAK", "this is a boss and the pre-requisite encounters for engaging it are not defeated yet" };
37 case CreatureAI::EVADE_REASON_NO_PATH: return { "EVADE_REASON_NO_PATH", "EVADE_REASON_NO_PATH", "the creature was unable to reach its target for over 5 seconds" };
38 default: throw std::out_of_range("value");
39 }
40}

References CreatureAI::EVADE_REASON_BOUNDARY, CreatureAI::EVADE_REASON_NO_HOSTILES, CreatureAI::EVADE_REASON_NO_PATH, and CreatureAI::EVADE_REASON_SEQUENCE_BREAK.

◆ ToString() [11/32]

31{
32 switch (value)
33 {
34 case CREATURE_FLAG_EXTRA_INSTANCE_BIND: return { "CREATURE_FLAG_EXTRA_INSTANCE_BIND", "CREATURE_FLAG_EXTRA_INSTANCE_BIND", "creature kill bind instance with killer and killer's group" };
35 case CREATURE_FLAG_EXTRA_CIVILIAN: return { "CREATURE_FLAG_EXTRA_CIVILIAN", "CREATURE_FLAG_EXTRA_CIVILIAN", "not aggro (ignore faction/reputation hostility)" };
36 case CREATURE_FLAG_EXTRA_NO_PARRY: return { "CREATURE_FLAG_EXTRA_NO_PARRY", "CREATURE_FLAG_EXTRA_NO_PARRY", "creature can't parry" };
37 case CREATURE_FLAG_EXTRA_NO_PARRY_HASTEN: return { "CREATURE_FLAG_EXTRA_NO_PARRY_HASTEN", "CREATURE_FLAG_EXTRA_NO_PARRY_HASTEN", "creature can't counter-attack at parry" };
38 case CREATURE_FLAG_EXTRA_NO_BLOCK: return { "CREATURE_FLAG_EXTRA_NO_BLOCK", "CREATURE_FLAG_EXTRA_NO_BLOCK", "creature can't block" };
39 case CREATURE_FLAG_EXTRA_NO_CRUSHING_BLOWS: return { "CREATURE_FLAG_EXTRA_NO_CRUSHING_BLOWS", "CREATURE_FLAG_EXTRA_NO_CRUSHING_BLOWS", "creature can't do crush attacks" };
40 case CREATURE_FLAG_EXTRA_NO_XP: return { "CREATURE_FLAG_EXTRA_NO_XP", "CREATURE_FLAG_EXTRA_NO_XP", "creature kill does not provide XP" };
41 case CREATURE_FLAG_EXTRA_TRIGGER: return { "CREATURE_FLAG_EXTRA_TRIGGER", "CREATURE_FLAG_EXTRA_TRIGGER", "trigger creature" };
42 case CREATURE_FLAG_EXTRA_NO_TAUNT: return { "CREATURE_FLAG_EXTRA_NO_TAUNT", "CREATURE_FLAG_EXTRA_NO_TAUNT", "creature is immune to taunt auras and 'attack me' effects" };
43 case CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE: return { "CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE", "CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE", "creature won't update movement flags" };
44 case CREATURE_FLAG_EXTRA_GHOST_VISIBILITY: return { "CREATURE_FLAG_EXTRA_GHOST_VISIBILITY", "CREATURE_FLAG_EXTRA_GHOST_VISIBILITY", "creature will only be visible to dead players" };
45 case CREATURE_FLAG_EXTRA_UNUSED_12: return { "CREATURE_FLAG_EXTRA_UNUSED_12", "CREATURE_FLAG_EXTRA_UNUSED_12", "/ @todo: Implement CREATURE_FLAG_EXTRA_USE_OFFHAND_ATTACK (creature will use offhand attacks)" };
46 case CREATURE_FLAG_EXTRA_NO_SELL_VENDOR: return { "CREATURE_FLAG_EXTRA_NO_SELL_VENDOR", "CREATURE_FLAG_EXTRA_NO_SELL_VENDOR", "players can't sell items to this vendor" };
47 case CREATURE_FLAG_EXTRA_IGNORE_COMBAT: return { "CREATURE_FLAG_EXTRA_IGNORE_COMBAT", "CREATURE_FLAG_EXTRA_IGNORE_COMBAT", "" };
48 case CREATURE_FLAG_EXTRA_WORLDEVENT: return { "CREATURE_FLAG_EXTRA_WORLDEVENT", "CREATURE_FLAG_EXTRA_WORLDEVENT", "custom flag for world event creatures (left room for merging)" };
49 case CREATURE_FLAG_EXTRA_GUARD: return { "CREATURE_FLAG_EXTRA_GUARD", "CREATURE_FLAG_EXTRA_GUARD", "Creature is guard" };
50 case CREATURE_FLAG_EXTRA_IGNORE_FEIGN_DEATH: return { "CREATURE_FLAG_EXTRA_IGNORE_FEIGN_DEATH", "CREATURE_FLAG_EXTRA_IGNORE_FEIGN_DEATH", "creature ignores feign death" };
51 case CREATURE_FLAG_EXTRA_NO_CRIT: return { "CREATURE_FLAG_EXTRA_NO_CRIT", "CREATURE_FLAG_EXTRA_NO_CRIT", "creature can't do critical strikes" };
52 case CREATURE_FLAG_EXTRA_NO_SKILL_GAINS: return { "CREATURE_FLAG_EXTRA_NO_SKILL_GAINS", "CREATURE_FLAG_EXTRA_NO_SKILL_GAINS", "creature won't increase weapon skills" };
53 case CREATURE_FLAG_EXTRA_OBEYS_TAUNT_DIMINISHING_RETURNS: return { "CREATURE_FLAG_EXTRA_OBEYS_TAUNT_DIMINISHING_RETURNS", "CREATURE_FLAG_EXTRA_OBEYS_TAUNT_DIMINISHING_RETURNS", "Taunt is subject to diminishing returns on this creature" };
54 case CREATURE_FLAG_EXTRA_ALL_DIMINISH: return { "CREATURE_FLAG_EXTRA_ALL_DIMINISH", "CREATURE_FLAG_EXTRA_ALL_DIMINISH", "creature is subject to all diminishing returns as players are" };
55 case CREATURE_FLAG_EXTRA_NO_PLAYER_DAMAGE_REQ: return { "CREATURE_FLAG_EXTRA_NO_PLAYER_DAMAGE_REQ", "CREATURE_FLAG_EXTRA_NO_PLAYER_DAMAGE_REQ", "creature does not need to take player damage for kill credit" };
56 case CREATURE_FLAG_EXTRA_AVOID_AOE: return { "CREATURE_FLAG_EXTRA_AVOID_AOE", "CREATURE_FLAG_EXTRA_AVOID_AOE", "pussywizard: ignored by aoe attacks (for icc blood prince council npc - Dark Nucleus)" };
57 case CREATURE_FLAG_EXTRA_NO_DODGE: return { "CREATURE_FLAG_EXTRA_NO_DODGE", "CREATURE_FLAG_EXTRA_NO_DODGE", "xinef: target cannot dodge" };
58 case CREATURE_FLAG_EXTRA_MODULE: return { "CREATURE_FLAG_EXTRA_MODULE", "CREATURE_FLAG_EXTRA_MODULE", "" };
59 case CREATURE_FLAG_EXTRA_DONT_CALL_ASSISTANCE: return { "CREATURE_FLAG_EXTRA_DONT_CALL_ASSISTANCE", "CREATURE_FLAG_EXTRA_DONT_CALL_ASSISTANCE", "Prevent creatures from calling for assistance on initial aggro" };
60 case CREATURE_FLAG_EXTRA_IGNORE_ALL_ASSISTANCE_CALLS: return { "CREATURE_FLAG_EXTRA_IGNORE_ALL_ASSISTANCE_CALLS", "CREATURE_FLAG_EXTRA_IGNORE_ALL_ASSISTANCE_CALLS", "Prevents creature from responding to assistance calls" };
61 case CREATURE_FLAG_DONT_OVERRIDE_ENTRY_SAI: return { "CREATURE_FLAG_DONT_OVERRIDE_ENTRY_SAI", "CREATURE_FLAG_DONT_OVERRIDE_ENTRY_SAI", "Load both ENTRY and GUID specific SAI" };
62 case CREATURE_FLAG_EXTRA_DUNGEON_BOSS: return { "CREATURE_FLAG_EXTRA_DUNGEON_BOSS", "CREATURE_FLAG_EXTRA_DUNGEON_BOSS", "creature is a dungeon boss (SET DYNAMICALLY, DO NOT ADD IN DB)" };
63 case CREATURE_FLAG_EXTRA_IGNORE_PATHFINDING: return { "CREATURE_FLAG_EXTRA_IGNORE_PATHFINDING", "CREATURE_FLAG_EXTRA_IGNORE_PATHFINDING", "creature ignore pathfinding" };
64 case CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACK: return { "CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACK", "CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACK", "creature is immune to knockback effects" };
65 case CREATURE_FLAG_EXTRA_HARD_RESET: return { "CREATURE_FLAG_EXTRA_HARD_RESET", "CREATURE_FLAG_EXTRA_HARD_RESET", "" };
66 default: throw std::out_of_range("value");
67 }
68}

References CREATURE_FLAG_DONT_OVERRIDE_ENTRY_SAI, CREATURE_FLAG_EXTRA_ALL_DIMINISH, CREATURE_FLAG_EXTRA_AVOID_AOE, CREATURE_FLAG_EXTRA_CIVILIAN, CREATURE_FLAG_EXTRA_DONT_CALL_ASSISTANCE, CREATURE_FLAG_EXTRA_DUNGEON_BOSS, CREATURE_FLAG_EXTRA_GHOST_VISIBILITY, CREATURE_FLAG_EXTRA_GUARD, CREATURE_FLAG_EXTRA_HARD_RESET, CREATURE_FLAG_EXTRA_IGNORE_ALL_ASSISTANCE_CALLS, CREATURE_FLAG_EXTRA_IGNORE_COMBAT, CREATURE_FLAG_EXTRA_IGNORE_FEIGN_DEATH, CREATURE_FLAG_EXTRA_IGNORE_PATHFINDING, CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACK, CREATURE_FLAG_EXTRA_INSTANCE_BIND, CREATURE_FLAG_EXTRA_MODULE, CREATURE_FLAG_EXTRA_NO_BLOCK, CREATURE_FLAG_EXTRA_NO_CRIT, CREATURE_FLAG_EXTRA_NO_CRUSHING_BLOWS, CREATURE_FLAG_EXTRA_NO_DODGE, CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE, CREATURE_FLAG_EXTRA_NO_PARRY, CREATURE_FLAG_EXTRA_NO_PARRY_HASTEN, CREATURE_FLAG_EXTRA_NO_PLAYER_DAMAGE_REQ, CREATURE_FLAG_EXTRA_NO_SELL_VENDOR, CREATURE_FLAG_EXTRA_NO_SKILL_GAINS, CREATURE_FLAG_EXTRA_NO_TAUNT, CREATURE_FLAG_EXTRA_NO_XP, CREATURE_FLAG_EXTRA_OBEYS_TAUNT_DIMINISHING_RETURNS, CREATURE_FLAG_EXTRA_TRIGGER, CREATURE_FLAG_EXTRA_UNUSED_12, and CREATURE_FLAG_EXTRA_WORLDEVENT.

◆ ToString() [12/32]

AC_API_EXPORT EnumText EnumUtils< Emote >::ToString ( Emote  value)
2005{
2006 switch (value)
2007 {
2008 case EMOTE_ONESHOT_TALK: return { "EMOTE_ONESHOT_TALK", "EMOTE_ONESHOT_TALK", "" };
2009 case EMOTE_ONESHOT_BOW: return { "EMOTE_ONESHOT_BOW", "EMOTE_ONESHOT_BOW", "" };
2010 case EMOTE_ONESHOT_WAVE: return { "EMOTE_ONESHOT_WAVE", "EMOTE_ONESHOT_WAVE", "" };
2011 case EMOTE_ONESHOT_CHEER: return { "EMOTE_ONESHOT_CHEER", "EMOTE_ONESHOT_CHEER", "" };
2012 case EMOTE_ONESHOT_EXCLAMATION: return { "EMOTE_ONESHOT_EXCLAMATION", "EMOTE_ONESHOT_EXCLAMATION", "" };
2013 case EMOTE_ONESHOT_QUESTION: return { "EMOTE_ONESHOT_QUESTION", "EMOTE_ONESHOT_QUESTION", "" };
2014 case EMOTE_ONESHOT_EAT: return { "EMOTE_ONESHOT_EAT", "EMOTE_ONESHOT_EAT", "" };
2015 case EMOTE_STATE_DANCE: return { "EMOTE_STATE_DANCE", "EMOTE_STATE_DANCE", "" };
2016 case EMOTE_ONESHOT_LAUGH: return { "EMOTE_ONESHOT_LAUGH", "EMOTE_ONESHOT_LAUGH", "" };
2017 case EMOTE_STATE_SLEEP: return { "EMOTE_STATE_SLEEP", "EMOTE_STATE_SLEEP", "" };
2018 case EMOTE_STATE_SIT: return { "EMOTE_STATE_SIT", "EMOTE_STATE_SIT", "" };
2019 case EMOTE_ONESHOT_RUDE: return { "EMOTE_ONESHOT_RUDE", "EMOTE_ONESHOT_RUDE", "" };
2020 case EMOTE_ONESHOT_ROAR: return { "EMOTE_ONESHOT_ROAR", "EMOTE_ONESHOT_ROAR", "" };
2021 case EMOTE_ONESHOT_KNEEL: return { "EMOTE_ONESHOT_KNEEL", "EMOTE_ONESHOT_KNEEL", "" };
2022 case EMOTE_ONESHOT_KISS: return { "EMOTE_ONESHOT_KISS", "EMOTE_ONESHOT_KISS", "" };
2023 case EMOTE_ONESHOT_CRY: return { "EMOTE_ONESHOT_CRY", "EMOTE_ONESHOT_CRY", "" };
2024 case EMOTE_ONESHOT_CHICKEN: return { "EMOTE_ONESHOT_CHICKEN", "EMOTE_ONESHOT_CHICKEN", "" };
2025 case EMOTE_ONESHOT_BEG: return { "EMOTE_ONESHOT_BEG", "EMOTE_ONESHOT_BEG", "" };
2026 case EMOTE_ONESHOT_APPLAUD: return { "EMOTE_ONESHOT_APPLAUD", "EMOTE_ONESHOT_APPLAUD", "" };
2027 case EMOTE_ONESHOT_SHOUT: return { "EMOTE_ONESHOT_SHOUT", "EMOTE_ONESHOT_SHOUT", "" };
2028 case EMOTE_ONESHOT_FLEX: return { "EMOTE_ONESHOT_FLEX", "EMOTE_ONESHOT_FLEX", "" };
2029 case EMOTE_ONESHOT_SHY: return { "EMOTE_ONESHOT_SHY", "EMOTE_ONESHOT_SHY", "" };
2030 case EMOTE_ONESHOT_POINT: return { "EMOTE_ONESHOT_POINT", "EMOTE_ONESHOT_POINT", "" };
2031 case EMOTE_STATE_STAND: return { "EMOTE_STATE_STAND", "EMOTE_STATE_STAND", "" };
2032 case EMOTE_STATE_READY_UNARMED: return { "EMOTE_STATE_READY_UNARMED", "EMOTE_STATE_READY_UNARMED", "" };
2033 case EMOTE_STATE_WORK_SHEATHED: return { "EMOTE_STATE_WORK_SHEATHED", "EMOTE_STATE_WORK_SHEATHED", "" };
2034 case EMOTE_STATE_POINT: return { "EMOTE_STATE_POINT", "EMOTE_STATE_POINT", "" };
2035 case EMOTE_STATE_NONE: return { "EMOTE_STATE_NONE", "EMOTE_STATE_NONE", "" };
2036 case EMOTE_ONESHOT_WOUND: return { "EMOTE_ONESHOT_WOUND", "EMOTE_ONESHOT_WOUND", "" };
2037 case EMOTE_ONESHOT_WOUND_CRITICAL: return { "EMOTE_ONESHOT_WOUND_CRITICAL", "EMOTE_ONESHOT_WOUND_CRITICAL", "" };
2038 case EMOTE_ONESHOT_ATTACK_UNARMED: return { "EMOTE_ONESHOT_ATTACK_UNARMED", "EMOTE_ONESHOT_ATTACK_UNARMED", "" };
2039 case EMOTE_ONESHOT_ATTACK1H: return { "EMOTE_ONESHOT_ATTACK1H", "EMOTE_ONESHOT_ATTACK1H", "" };
2040 case EMOTE_ONESHOT_ATTACK2HTIGHT: return { "EMOTE_ONESHOT_ATTACK2HTIGHT", "EMOTE_ONESHOT_ATTACK2HTIGHT", "" };
2041 case EMOTE_ONESHOT_ATTACK2H_LOOSE: return { "EMOTE_ONESHOT_ATTACK2H_LOOSE", "EMOTE_ONESHOT_ATTACK2H_LOOSE", "" };
2042 case EMOTE_ONESHOT_PARRY_UNARMED: return { "EMOTE_ONESHOT_PARRY_UNARMED", "EMOTE_ONESHOT_PARRY_UNARMED", "" };
2043 case EMOTE_ONESHOT_PARRY_SHIELD: return { "EMOTE_ONESHOT_PARRY_SHIELD", "EMOTE_ONESHOT_PARRY_SHIELD", "" };
2044 case EMOTE_ONESHOT_READY_UNARMED: return { "EMOTE_ONESHOT_READY_UNARMED", "EMOTE_ONESHOT_READY_UNARMED", "" };
2045 case EMOTE_ONESHOT_READY1H: return { "EMOTE_ONESHOT_READY1H", "EMOTE_ONESHOT_READY1H", "" };
2046 case EMOTE_ONESHOT_READY_BOW: return { "EMOTE_ONESHOT_READY_BOW", "EMOTE_ONESHOT_READY_BOW", "" };
2047 case EMOTE_ONESHOT_SPELL_PRECAST: return { "EMOTE_ONESHOT_SPELL_PRECAST", "EMOTE_ONESHOT_SPELL_PRECAST", "" };
2048 case EMOTE_ONESHOT_SPELL_CAST: return { "EMOTE_ONESHOT_SPELL_CAST", "EMOTE_ONESHOT_SPELL_CAST", "" };
2049 case EMOTE_ONESHOT_BATTLE_ROAR: return { "EMOTE_ONESHOT_BATTLE_ROAR", "EMOTE_ONESHOT_BATTLE_ROAR", "" };
2050 case EMOTE_ONESHOT_SPECIALATTACK1H: return { "EMOTE_ONESHOT_SPECIALATTACK1H", "EMOTE_ONESHOT_SPECIALATTACK1H", "" };
2051 case EMOTE_ONESHOT_KICK: return { "EMOTE_ONESHOT_KICK", "EMOTE_ONESHOT_KICK", "" };
2052 case EMOTE_ONESHOT_ATTACK_THROWN: return { "EMOTE_ONESHOT_ATTACK_THROWN", "EMOTE_ONESHOT_ATTACK_THROWN", "" };
2053 case EMOTE_STATE_STUN: return { "EMOTE_STATE_STUN", "EMOTE_STATE_STUN", "" };
2054 case EMOTE_STATE_DEAD: return { "EMOTE_STATE_DEAD", "EMOTE_STATE_DEAD", "" };
2055 case EMOTE_ONESHOT_SALUTE: return { "EMOTE_ONESHOT_SALUTE", "EMOTE_ONESHOT_SALUTE", "" };
2056 case EMOTE_STATE_KNEEL: return { "EMOTE_STATE_KNEEL", "EMOTE_STATE_KNEEL", "" };
2057 case EMOTE_STATE_USE_STANDING: return { "EMOTE_STATE_USE_STANDING", "EMOTE_STATE_USE_STANDING", "" };
2058 case EMOTE_ONESHOT_WAVE_NO_SHEATHE: return { "EMOTE_ONESHOT_WAVE_NO_SHEATHE", "EMOTE_ONESHOT_WAVE_NO_SHEATHE", "" };
2059 case EMOTE_ONESHOT_CHEER_NO_SHEATHE: return { "EMOTE_ONESHOT_CHEER_NO_SHEATHE", "EMOTE_ONESHOT_CHEER_NO_SHEATHE", "" };
2060 case EMOTE_ONESHOT_EAT_NO_SHEATHE: return { "EMOTE_ONESHOT_EAT_NO_SHEATHE", "EMOTE_ONESHOT_EAT_NO_SHEATHE", "" };
2061 case EMOTE_STATE_STUN_NO_SHEATHE: return { "EMOTE_STATE_STUN_NO_SHEATHE", "EMOTE_STATE_STUN_NO_SHEATHE", "" };
2062 case EMOTE_ONESHOT_DANCE: return { "EMOTE_ONESHOT_DANCE", "EMOTE_ONESHOT_DANCE", "" };
2063 case EMOTE_ONESHOT_SALUTE_NO_SHEATH: return { "EMOTE_ONESHOT_SALUTE_NO_SHEATH", "EMOTE_ONESHOT_SALUTE_NO_SHEATH", "" };
2064 case EMOTE_STATE_USE_STANDING_NO_SHEATHE: return { "EMOTE_STATE_USE_STANDING_NO_SHEATHE", "EMOTE_STATE_USE_STANDING_NO_SHEATHE", "" };
2065 case EMOTE_ONESHOT_LAUGH_NO_SHEATHE: return { "EMOTE_ONESHOT_LAUGH_NO_SHEATHE", "EMOTE_ONESHOT_LAUGH_NO_SHEATHE", "" };
2066 case EMOTE_STATE_WORK: return { "EMOTE_STATE_WORK", "EMOTE_STATE_WORK", "" };
2067 case EMOTE_STATE_SPELL_PRECAST: return { "EMOTE_STATE_SPELL_PRECAST", "EMOTE_STATE_SPELL_PRECAST", "" };
2068 case EMOTE_ONESHOT_READY_RIFLE: return { "EMOTE_ONESHOT_READY_RIFLE", "EMOTE_ONESHOT_READY_RIFLE", "" };
2069 case EMOTE_STATE_READY_RIFLE: return { "EMOTE_STATE_READY_RIFLE", "EMOTE_STATE_READY_RIFLE", "" };
2070 case EMOTE_STATE_WORK_MINING: return { "EMOTE_STATE_WORK_MINING", "EMOTE_STATE_WORK_MINING", "" };
2071 case EMOTE_STATE_WORK_CHOPWOOD: return { "EMOTE_STATE_WORK_CHOPWOOD", "EMOTE_STATE_WORK_CHOPWOOD", "" };
2072 case EMOTE_STATE_APPLAUD: return { "EMOTE_STATE_APPLAUD", "EMOTE_STATE_APPLAUD", "" };
2073 case EMOTE_ONESHOT_LIFTOFF: return { "EMOTE_ONESHOT_LIFTOFF", "EMOTE_ONESHOT_LIFTOFF", "" };
2074 case EMOTE_ONESHOT_YES: return { "EMOTE_ONESHOT_YES", "EMOTE_ONESHOT_YES", "" };
2075 case EMOTE_ONESHOT_NO: return { "EMOTE_ONESHOT_NO", "EMOTE_ONESHOT_NO", "" };
2076 case EMOTE_ONESHOT_TRAIN: return { "EMOTE_ONESHOT_TRAIN", "EMOTE_ONESHOT_TRAIN", "" };
2077 case EMOTE_ONESHOT_LAND: return { "EMOTE_ONESHOT_LAND", "EMOTE_ONESHOT_LAND", "" };
2078 case EMOTE_STATE_AT_EASE: return { "EMOTE_STATE_AT_EASE", "EMOTE_STATE_AT_EASE", "" };
2079 case EMOTE_STATE_READY1H: return { "EMOTE_STATE_READY1H", "EMOTE_STATE_READY1H", "" };
2080 case EMOTE_STATE_SPELL_KNEEL_START: return { "EMOTE_STATE_SPELL_KNEEL_START", "EMOTE_STATE_SPELL_KNEEL_START", "" };
2081 case EMOTE_STATE_SUBMERGED: return { "EMOTE_STATE_SUBMERGED", "EMOTE_STATE_SUBMERGED", "" };
2082 case EMOTE_ONESHOT_SUBMERGE: return { "EMOTE_ONESHOT_SUBMERGE", "EMOTE_ONESHOT_SUBMERGE", "" };
2083 case EMOTE_STATE_READY2H: return { "EMOTE_STATE_READY2H", "EMOTE_STATE_READY2H", "" };
2084 case EMOTE_STATE_READY_BOW: return { "EMOTE_STATE_READY_BOW", "EMOTE_STATE_READY_BOW", "" };
2085 case EMOTE_ONESHOT_MOUNT_SPECIAL: return { "EMOTE_ONESHOT_MOUNT_SPECIAL", "EMOTE_ONESHOT_MOUNT_SPECIAL", "" };
2086 case EMOTE_STATE_TALK: return { "EMOTE_STATE_TALK", "EMOTE_STATE_TALK", "" };
2087 case EMOTE_STATE_FISHING: return { "EMOTE_STATE_FISHING", "EMOTE_STATE_FISHING", "" };
2088 case EMOTE_ONESHOT_FISHING: return { "EMOTE_ONESHOT_FISHING", "EMOTE_ONESHOT_FISHING", "" };
2089 case EMOTE_ONESHOT_LOOT: return { "EMOTE_ONESHOT_LOOT", "EMOTE_ONESHOT_LOOT", "" };
2090 case EMOTE_STATE_WHIRLWIND: return { "EMOTE_STATE_WHIRLWIND", "EMOTE_STATE_WHIRLWIND", "" };
2091 case EMOTE_STATE_DROWNED: return { "EMOTE_STATE_DROWNED", "EMOTE_STATE_DROWNED", "" };
2092 case EMOTE_STATE_HOLD_BOW: return { "EMOTE_STATE_HOLD_BOW", "EMOTE_STATE_HOLD_BOW", "" };
2093 case EMOTE_STATE_HOLD_RIFLE: return { "EMOTE_STATE_HOLD_RIFLE", "EMOTE_STATE_HOLD_RIFLE", "" };
2094 case EMOTE_STATE_HOLD_THROWN: return { "EMOTE_STATE_HOLD_THROWN", "EMOTE_STATE_HOLD_THROWN", "" };
2095 case EMOTE_ONESHOT_DROWN: return { "EMOTE_ONESHOT_DROWN", "EMOTE_ONESHOT_DROWN", "" };
2096 case EMOTE_ONESHOT_STOMP: return { "EMOTE_ONESHOT_STOMP", "EMOTE_ONESHOT_STOMP", "" };
2097 case EMOTE_ONESHOT_ATTACK_OFF: return { "EMOTE_ONESHOT_ATTACK_OFF", "EMOTE_ONESHOT_ATTACK_OFF", "" };
2098 case EMOTE_ONESHOT_ATTACK_OFF_PIERCE: return { "EMOTE_ONESHOT_ATTACK_OFF_PIERCE", "EMOTE_ONESHOT_ATTACK_OFF_PIERCE", "" };
2099 case EMOTE_STATE_ROAR: return { "EMOTE_STATE_ROAR", "EMOTE_STATE_ROAR", "" };
2100 case EMOTE_STATE_LAUGH: return { "EMOTE_STATE_LAUGH", "EMOTE_STATE_LAUGH", "" };
2101 case EMOTE_ONESHOT_CREATURE_SPECIAL: return { "EMOTE_ONESHOT_CREATURE_SPECIAL", "EMOTE_ONESHOT_CREATURE_SPECIAL", "" };
2102 case EMOTE_ONESHOT_JUMPLANDRUN: return { "EMOTE_ONESHOT_JUMPLANDRUN", "EMOTE_ONESHOT_JUMPLANDRUN", "" };
2103 case EMOTE_ONESHOT_JUMPEND: return { "EMOTE_ONESHOT_JUMPEND", "EMOTE_ONESHOT_JUMPEND", "" };
2104 case EMOTE_ONESHOT_TALK_NO_SHEATHE: return { "EMOTE_ONESHOT_TALK_NO_SHEATHE", "EMOTE_ONESHOT_TALK_NO_SHEATHE", "" };
2105 case EMOTE_ONESHOT_POINT_NO_SHEATHE: return { "EMOTE_ONESHOT_POINT_NO_SHEATHE", "EMOTE_ONESHOT_POINT_NO_SHEATHE", "" };
2106 case EMOTE_STATE_CANNIBALIZE: return { "EMOTE_STATE_CANNIBALIZE", "EMOTE_STATE_CANNIBALIZE", "" };
2107 case EMOTE_ONESHOT_JUMPSTART: return { "EMOTE_ONESHOT_JUMPSTART", "EMOTE_ONESHOT_JUMPSTART", "" };
2108 case EMOTE_STATE_DANCESPECIAL: return { "EMOTE_STATE_DANCESPECIAL", "EMOTE_STATE_DANCESPECIAL", "" };
2109 case EMOTE_ONESHOT_DANCESPECIAL: return { "EMOTE_ONESHOT_DANCESPECIAL", "EMOTE_ONESHOT_DANCESPECIAL", "" };
2110 case EMOTE_ONESHOT_CUSTOM_SPELL_01: return { "EMOTE_ONESHOT_CUSTOM_SPELL_01", "EMOTE_ONESHOT_CUSTOM_SPELL_01", "" };
2111 case EMOTE_ONESHOT_CUSTOM_SPELL_02: return { "EMOTE_ONESHOT_CUSTOM_SPELL_02", "EMOTE_ONESHOT_CUSTOM_SPELL_02", "" };
2112 case EMOTE_ONESHOT_CUSTOM_SPELL_03: return { "EMOTE_ONESHOT_CUSTOM_SPELL_03", "EMOTE_ONESHOT_CUSTOM_SPELL_03", "" };
2113 case EMOTE_ONESHOT_CUSTOM_SPELL_04: return { "EMOTE_ONESHOT_CUSTOM_SPELL_04", "EMOTE_ONESHOT_CUSTOM_SPELL_04", "" };
2114 case EMOTE_ONESHOT_CUSTOM_SPELL_05: return { "EMOTE_ONESHOT_CUSTOM_SPELL_05", "EMOTE_ONESHOT_CUSTOM_SPELL_05", "" };
2115 case EMOTE_ONESHOT_CUSTOM_SPELL_06: return { "EMOTE_ONESHOT_CUSTOM_SPELL_06", "EMOTE_ONESHOT_CUSTOM_SPELL_06", "" };
2116 case EMOTE_ONESHOT_CUSTOM_SPELL_07: return { "EMOTE_ONESHOT_CUSTOM_SPELL_07", "EMOTE_ONESHOT_CUSTOM_SPELL_07", "" };
2117 case EMOTE_ONESHOT_CUSTOM_SPELL_08: return { "EMOTE_ONESHOT_CUSTOM_SPELL_08", "EMOTE_ONESHOT_CUSTOM_SPELL_08", "" };
2118 case EMOTE_ONESHOT_CUSTOM_SPELL_09: return { "EMOTE_ONESHOT_CUSTOM_SPELL_09", "EMOTE_ONESHOT_CUSTOM_SPELL_09", "" };
2119 case EMOTE_ONESHOT_CUSTOM_SPELL_10: return { "EMOTE_ONESHOT_CUSTOM_SPELL_10", "EMOTE_ONESHOT_CUSTOM_SPELL_10", "" };
2120 case EMOTE_STATE_EXCLAIM: return { "EMOTE_STATE_EXCLAIM", "EMOTE_STATE_EXCLAIM", "" };
2121 case EMOTE_STATE_DANCE_CUSTOM: return { "EMOTE_STATE_DANCE_CUSTOM", "EMOTE_STATE_DANCE_CUSTOM", "" };
2122 case EMOTE_STATE_SIT_CHAIR_MED: return { "EMOTE_STATE_SIT_CHAIR_MED", "EMOTE_STATE_SIT_CHAIR_MED", "" };
2123 case EMOTE_STATE_CUSTOM_SPELL_01: return { "EMOTE_STATE_CUSTOM_SPELL_01", "EMOTE_STATE_CUSTOM_SPELL_01", "" };
2124 case EMOTE_STATE_CUSTOM_SPELL_02: return { "EMOTE_STATE_CUSTOM_SPELL_02", "EMOTE_STATE_CUSTOM_SPELL_02", "" };
2125 case EMOTE_STATE_EAT: return { "EMOTE_STATE_EAT", "EMOTE_STATE_EAT", "" };
2126 case EMOTE_STATE_CUSTOM_SPELL_04: return { "EMOTE_STATE_CUSTOM_SPELL_04", "EMOTE_STATE_CUSTOM_SPELL_04", "" };
2127 case EMOTE_STATE_CUSTOM_SPELL_03: return { "EMOTE_STATE_CUSTOM_SPELL_03", "EMOTE_STATE_CUSTOM_SPELL_03", "" };
2128 case EMOTE_STATE_CUSTOM_SPELL_05: return { "EMOTE_STATE_CUSTOM_SPELL_05", "EMOTE_STATE_CUSTOM_SPELL_05", "" };
2129 case EMOTE_STATE_SPELLEFFECT_HOLD: return { "EMOTE_STATE_SPELLEFFECT_HOLD", "EMOTE_STATE_SPELLEFFECT_HOLD", "" };
2130 case EMOTE_STATE_EAT_NO_SHEATHE: return { "EMOTE_STATE_EAT_NO_SHEATHE", "EMOTE_STATE_EAT_NO_SHEATHE", "" };
2131 case EMOTE_STATE_MOUNT: return { "EMOTE_STATE_MOUNT", "EMOTE_STATE_MOUNT", "" };
2132 case EMOTE_STATE_READY2HL: return { "EMOTE_STATE_READY2HL", "EMOTE_STATE_READY2HL", "" };
2133 case EMOTE_STATE_SIT_CHAIR_HIGH: return { "EMOTE_STATE_SIT_CHAIR_HIGH", "EMOTE_STATE_SIT_CHAIR_HIGH", "" };
2134 case EMOTE_STATE_FALL: return { "EMOTE_STATE_FALL", "EMOTE_STATE_FALL", "" };
2135 case EMOTE_STATE_LOOT: return { "EMOTE_STATE_LOOT", "EMOTE_STATE_LOOT", "" };
2136 case EMOTE_STATE_SUBMERGED_NEW: return { "EMOTE_STATE_SUBMERGED_NEW", "EMOTE_STATE_SUBMERGED_NEW", "" };
2137 case EMOTE_ONESHOT_COWER: return { "EMOTE_ONESHOT_COWER", "EMOTE_ONESHOT_COWER", "" };
2138 case EMOTE_STATE_COWER: return { "EMOTE_STATE_COWER", "EMOTE_STATE_COWER", "" };
2139 case EMOTE_ONESHOT_USE_STANDING: return { "EMOTE_ONESHOT_USE_STANDING", "EMOTE_ONESHOT_USE_STANDING", "" };
2140 case EMOTE_STATE_STEALTH_STAND: return { "EMOTE_STATE_STEALTH_STAND", "EMOTE_STATE_STEALTH_STAND", "" };
2141 case EMOTE_ONESHOT_OMNICAST_GHOUL: return { "EMOTE_ONESHOT_OMNICAST_GHOUL", "EMOTE_ONESHOT_OMNICAST_GHOUL", "" };
2142 case EMOTE_ONESHOT_ATTACK_BOW: return { "EMOTE_ONESHOT_ATTACK_BOW", "EMOTE_ONESHOT_ATTACK_BOW", "" };
2143 case EMOTE_ONESHOT_ATTACK_RIFLE: return { "EMOTE_ONESHOT_ATTACK_RIFLE", "EMOTE_ONESHOT_ATTACK_RIFLE", "" };
2144 case EMOTE_STATE_SWIM_IDLE: return { "EMOTE_STATE_SWIM_IDLE", "EMOTE_STATE_SWIM_IDLE", "" };
2145 case EMOTE_STATE_ATTACK_UNARMED: return { "EMOTE_STATE_ATTACK_UNARMED", "EMOTE_STATE_ATTACK_UNARMED", "" };
2146 case EMOTE_ONESHOT_SPELL_CAST_W_SOUND: return { "EMOTE_ONESHOT_SPELL_CAST_W_SOUND", "EMOTE_ONESHOT_SPELL_CAST_W_SOUND", "" };
2147 case EMOTE_ONESHOT_DODGE: return { "EMOTE_ONESHOT_DODGE", "EMOTE_ONESHOT_DODGE", "" };
2148 case EMOTE_ONESHOT_PARRY1H: return { "EMOTE_ONESHOT_PARRY1H", "EMOTE_ONESHOT_PARRY1H", "" };
2149 case EMOTE_ONESHOT_PARRY2H: return { "EMOTE_ONESHOT_PARRY2H", "EMOTE_ONESHOT_PARRY2H", "" };
2150 case EMOTE_ONESHOT_PARRY2HL: return { "EMOTE_ONESHOT_PARRY2HL", "EMOTE_ONESHOT_PARRY2HL", "" };
2151 case EMOTE_STATE_FLYFALL: return { "EMOTE_STATE_FLYFALL", "EMOTE_STATE_FLYFALL", "" };
2152 case EMOTE_ONESHOT_FLYDEATH: return { "EMOTE_ONESHOT_FLYDEATH", "EMOTE_ONESHOT_FLYDEATH", "" };
2153 case EMOTE_STATE_FLY_FALL: return { "EMOTE_STATE_FLY_FALL", "EMOTE_STATE_FLY_FALL", "" };
2154 case EMOTE_ONESHOT_FLY_SIT_GROUND_DOWN: return { "EMOTE_ONESHOT_FLY_SIT_GROUND_DOWN", "EMOTE_ONESHOT_FLY_SIT_GROUND_DOWN", "" };
2155 case EMOTE_ONESHOT_FLY_SIT_GROUND_UP: return { "EMOTE_ONESHOT_FLY_SIT_GROUND_UP", "EMOTE_ONESHOT_FLY_SIT_GROUND_UP", "" };
2156 case EMOTE_ONESHOT_EMERGE: return { "EMOTE_ONESHOT_EMERGE", "EMOTE_ONESHOT_EMERGE", "" };
2157 case EMOTE_ONESHOT_DRAGON_SPIT: return { "EMOTE_ONESHOT_DRAGON_SPIT", "EMOTE_ONESHOT_DRAGON_SPIT", "" };
2158 case EMOTE_STATE_SPECIAL_UNARMED: return { "EMOTE_STATE_SPECIAL_UNARMED", "EMOTE_STATE_SPECIAL_UNARMED", "" };
2159 case EMOTE_ONESHOT_FLYGRAB: return { "EMOTE_ONESHOT_FLYGRAB", "EMOTE_ONESHOT_FLYGRAB", "" };
2160 case EMOTE_STATE_FLYGRABCLOSED: return { "EMOTE_STATE_FLYGRABCLOSED", "EMOTE_STATE_FLYGRABCLOSED", "" };
2161 case EMOTE_ONESHOT_FLYGRABTHROWN: return { "EMOTE_ONESHOT_FLYGRABTHROWN", "EMOTE_ONESHOT_FLYGRABTHROWN", "" };
2162 case EMOTE_STATE_FLY_SIT_GROUND: return { "EMOTE_STATE_FLY_SIT_GROUND", "EMOTE_STATE_FLY_SIT_GROUND", "" };
2163 case EMOTE_STATE_WALK_BACKWARDS: return { "EMOTE_STATE_WALK_BACKWARDS", "EMOTE_STATE_WALK_BACKWARDS", "" };
2164 case EMOTE_ONESHOT_FLYTALK: return { "EMOTE_ONESHOT_FLYTALK", "EMOTE_ONESHOT_FLYTALK", "" };
2165 case EMOTE_ONESHOT_FLYATTACK1H: return { "EMOTE_ONESHOT_FLYATTACK1H", "EMOTE_ONESHOT_FLYATTACK1H", "" };
2166 case EMOTE_STATE_CUSTOM_SPELL_08: return { "EMOTE_STATE_CUSTOM_SPELL_08", "EMOTE_STATE_CUSTOM_SPELL_08", "" };
2167 case EMOTE_ONESHOT_FLY_DRAGON_SPIT: return { "EMOTE_ONESHOT_FLY_DRAGON_SPIT", "EMOTE_ONESHOT_FLY_DRAGON_SPIT", "" };
2168 case EMOTE_STATE_SIT_CHAIR_LOW: return { "EMOTE_STATE_SIT_CHAIR_LOW", "EMOTE_STATE_SIT_CHAIR_LOW", "" };
2169 case EMOTE_ONESHOT_STUN: return { "EMOTE_ONESHOT_STUN", "EMOTE_ONESHOT_STUN", "" };
2170 case EMOTE_ONESHOT_SPELL_CAST_OMNI: return { "EMOTE_ONESHOT_SPELL_CAST_OMNI", "EMOTE_ONESHOT_SPELL_CAST_OMNI", "" };
2171 case EMOTE_STATE_READY_THROWN: return { "EMOTE_STATE_READY_THROWN", "EMOTE_STATE_READY_THROWN", "" };
2172 case EMOTE_ONESHOT_WORK_CHOPWOOD: return { "EMOTE_ONESHOT_WORK_CHOPWOOD", "EMOTE_ONESHOT_WORK_CHOPWOOD", "" };
2173 case EMOTE_ONESHOT_WORK_MINING: return { "EMOTE_ONESHOT_WORK_MINING", "EMOTE_ONESHOT_WORK_MINING", "" };
2174 case EMOTE_STATE_SPELL_CHANNEL_OMNI: return { "EMOTE_STATE_SPELL_CHANNEL_OMNI", "EMOTE_STATE_SPELL_CHANNEL_OMNI", "" };
2175 case EMOTE_STATE_SPELL_CHANNEL_DIRECTED: return { "EMOTE_STATE_SPELL_CHANNEL_DIRECTED", "EMOTE_STATE_SPELL_CHANNEL_DIRECTED", "" };
2176 case EMOTE_STAND_STATE_NONE: return { "EMOTE_STAND_STATE_NONE", "EMOTE_STAND_STATE_NONE", "" };
2177 case EMOTE_STATE_READYJOUST: return { "EMOTE_STATE_READYJOUST", "EMOTE_STATE_READYJOUST", "" };
2178 case EMOTE_STATE_STRANGULATE: return { "EMOTE_STATE_STRANGULATE", "EMOTE_STATE_STRANGULATE", "" };
2179 case EMOTE_STATE_READY_SPELL_OMNI: return { "EMOTE_STATE_READY_SPELL_OMNI", "EMOTE_STATE_READY_SPELL_OMNI", "" };
2180 case EMOTE_STATE_HOLD_JOUST: return { "EMOTE_STATE_HOLD_JOUST", "EMOTE_STATE_HOLD_JOUST", "" };
2181 case EMOTE_ONESHOT_CRY_JAINA: return { "EMOTE_ONESHOT_CRY_JAINA", "EMOTE_ONESHOT_CRY_JAINA", "" };
2182 default: throw std::out_of_range("value");
2183 }
2184}

References EMOTE_ONESHOT_APPLAUD, EMOTE_ONESHOT_ATTACK1H, EMOTE_ONESHOT_ATTACK2H_LOOSE, EMOTE_ONESHOT_ATTACK2HTIGHT, EMOTE_ONESHOT_ATTACK_BOW, EMOTE_ONESHOT_ATTACK_OFF, EMOTE_ONESHOT_ATTACK_OFF_PIERCE, EMOTE_ONESHOT_ATTACK_RIFLE, EMOTE_ONESHOT_ATTACK_THROWN, EMOTE_ONESHOT_ATTACK_UNARMED, EMOTE_ONESHOT_BATTLE_ROAR, EMOTE_ONESHOT_BEG, EMOTE_ONESHOT_BOW, EMOTE_ONESHOT_CHEER, EMOTE_ONESHOT_CHEER_NO_SHEATHE, EMOTE_ONESHOT_CHICKEN, EMOTE_ONESHOT_COWER, EMOTE_ONESHOT_CREATURE_SPECIAL, EMOTE_ONESHOT_CRY, EMOTE_ONESHOT_CRY_JAINA, EMOTE_ONESHOT_CUSTOM_SPELL_01, EMOTE_ONESHOT_CUSTOM_SPELL_02, EMOTE_ONESHOT_CUSTOM_SPELL_03, EMOTE_ONESHOT_CUSTOM_SPELL_04, EMOTE_ONESHOT_CUSTOM_SPELL_05, EMOTE_ONESHOT_CUSTOM_SPELL_06, EMOTE_ONESHOT_CUSTOM_SPELL_07, EMOTE_ONESHOT_CUSTOM_SPELL_08, EMOTE_ONESHOT_CUSTOM_SPELL_09, EMOTE_ONESHOT_CUSTOM_SPELL_10, EMOTE_ONESHOT_DANCE, EMOTE_ONESHOT_DANCESPECIAL, EMOTE_ONESHOT_DODGE, EMOTE_ONESHOT_DRAGON_SPIT, EMOTE_ONESHOT_DROWN, EMOTE_ONESHOT_EAT, EMOTE_ONESHOT_EAT_NO_SHEATHE, EMOTE_ONESHOT_EMERGE, EMOTE_ONESHOT_EXCLAMATION, EMOTE_ONESHOT_FISHING, EMOTE_ONESHOT_FLEX, EMOTE_ONESHOT_FLY_DRAGON_SPIT, EMOTE_ONESHOT_FLY_SIT_GROUND_DOWN, EMOTE_ONESHOT_FLY_SIT_GROUND_UP, EMOTE_ONESHOT_FLYATTACK1H, EMOTE_ONESHOT_FLYDEATH, EMOTE_ONESHOT_FLYGRAB, EMOTE_ONESHOT_FLYGRABTHROWN, EMOTE_ONESHOT_FLYTALK, EMOTE_ONESHOT_JUMPEND, EMOTE_ONESHOT_JUMPLANDRUN, EMOTE_ONESHOT_JUMPSTART, EMOTE_ONESHOT_KICK, EMOTE_ONESHOT_KISS, EMOTE_ONESHOT_KNEEL, EMOTE_ONESHOT_LAND, EMOTE_ONESHOT_LAUGH, EMOTE_ONESHOT_LAUGH_NO_SHEATHE, EMOTE_ONESHOT_LIFTOFF, EMOTE_ONESHOT_LOOT, EMOTE_ONESHOT_MOUNT_SPECIAL, EMOTE_ONESHOT_NO, EMOTE_ONESHOT_OMNICAST_GHOUL, EMOTE_ONESHOT_PARRY1H, EMOTE_ONESHOT_PARRY2H, EMOTE_ONESHOT_PARRY2HL, EMOTE_ONESHOT_PARRY_SHIELD, EMOTE_ONESHOT_PARRY_UNARMED, EMOTE_ONESHOT_POINT, EMOTE_ONESHOT_POINT_NO_SHEATHE, EMOTE_ONESHOT_QUESTION, EMOTE_ONESHOT_READY1H, EMOTE_ONESHOT_READY_BOW, EMOTE_ONESHOT_READY_RIFLE, EMOTE_ONESHOT_READY_UNARMED, EMOTE_ONESHOT_ROAR, EMOTE_ONESHOT_RUDE, EMOTE_ONESHOT_SALUTE, EMOTE_ONESHOT_SALUTE_NO_SHEATH, EMOTE_ONESHOT_SHOUT, EMOTE_ONESHOT_SHY, EMOTE_ONESHOT_SPECIALATTACK1H, EMOTE_ONESHOT_SPELL_CAST, EMOTE_ONESHOT_SPELL_CAST_OMNI, EMOTE_ONESHOT_SPELL_CAST_W_SOUND, EMOTE_ONESHOT_SPELL_PRECAST, EMOTE_ONESHOT_STOMP, EMOTE_ONESHOT_STUN, EMOTE_ONESHOT_SUBMERGE, EMOTE_ONESHOT_TALK, EMOTE_ONESHOT_TALK_NO_SHEATHE, EMOTE_ONESHOT_TRAIN, EMOTE_ONESHOT_USE_STANDING, EMOTE_ONESHOT_WAVE, EMOTE_ONESHOT_WAVE_NO_SHEATHE, EMOTE_ONESHOT_WORK_CHOPWOOD, EMOTE_ONESHOT_WORK_MINING, EMOTE_ONESHOT_WOUND, EMOTE_ONESHOT_WOUND_CRITICAL, EMOTE_ONESHOT_YES, EMOTE_STAND_STATE_NONE, EMOTE_STATE_APPLAUD, EMOTE_STATE_AT_EASE, EMOTE_STATE_ATTACK_UNARMED, EMOTE_STATE_CANNIBALIZE, EMOTE_STATE_COWER, EMOTE_STATE_CUSTOM_SPELL_01, EMOTE_STATE_CUSTOM_SPELL_02, EMOTE_STATE_CUSTOM_SPELL_03, EMOTE_STATE_CUSTOM_SPELL_04, EMOTE_STATE_CUSTOM_SPELL_05, EMOTE_STATE_CUSTOM_SPELL_08, EMOTE_STATE_DANCE, EMOTE_STATE_DANCE_CUSTOM, EMOTE_STATE_DANCESPECIAL, EMOTE_STATE_DEAD, EMOTE_STATE_DROWNED, EMOTE_STATE_EAT, EMOTE_STATE_EAT_NO_SHEATHE, EMOTE_STATE_EXCLAIM, EMOTE_STATE_FALL, EMOTE_STATE_FISHING, EMOTE_STATE_FLY_FALL, EMOTE_STATE_FLY_SIT_GROUND, EMOTE_STATE_FLYFALL, EMOTE_STATE_FLYGRABCLOSED, EMOTE_STATE_HOLD_BOW, EMOTE_STATE_HOLD_JOUST, EMOTE_STATE_HOLD_RIFLE, EMOTE_STATE_HOLD_THROWN, EMOTE_STATE_KNEEL, EMOTE_STATE_LAUGH, EMOTE_STATE_LOOT, EMOTE_STATE_MOUNT, EMOTE_STATE_NONE, EMOTE_STATE_POINT, EMOTE_STATE_READY1H, EMOTE_STATE_READY2H, EMOTE_STATE_READY2HL, EMOTE_STATE_READY_BOW, EMOTE_STATE_READY_RIFLE, EMOTE_STATE_READY_SPELL_OMNI, EMOTE_STATE_READY_THROWN, EMOTE_STATE_READY_UNARMED, EMOTE_STATE_READYJOUST, EMOTE_STATE_ROAR, EMOTE_STATE_SIT, EMOTE_STATE_SIT_CHAIR_HIGH, EMOTE_STATE_SIT_CHAIR_LOW, EMOTE_STATE_SIT_CHAIR_MED, EMOTE_STATE_SLEEP, EMOTE_STATE_SPECIAL_UNARMED, EMOTE_STATE_SPELL_CHANNEL_DIRECTED, EMOTE_STATE_SPELL_CHANNEL_OMNI, EMOTE_STATE_SPELL_KNEEL_START, EMOTE_STATE_SPELL_PRECAST, EMOTE_STATE_SPELLEFFECT_HOLD, EMOTE_STATE_STAND, EMOTE_STATE_STEALTH_STAND, EMOTE_STATE_STRANGULATE, EMOTE_STATE_STUN, EMOTE_STATE_STUN_NO_SHEATHE, EMOTE_STATE_SUBMERGED, EMOTE_STATE_SUBMERGED_NEW, EMOTE_STATE_SWIM_IDLE, EMOTE_STATE_TALK, EMOTE_STATE_USE_STANDING, EMOTE_STATE_USE_STANDING_NO_SHEATHE, EMOTE_STATE_WALK_BACKWARDS, EMOTE_STATE_WHIRLWIND, EMOTE_STATE_WORK, EMOTE_STATE_WORK_CHOPWOOD, EMOTE_STATE_WORK_MINING, and EMOTE_STATE_WORK_SHEATHED.

◆ ToString() [13/32]

◆ ToString() [14/32]

31{
32 switch (value)
33 {
34 case EQUIP_ERR_OK: return { "EQUIP_ERR_OK", "EQUIP_ERR_OK", "" };
35 case EQUIP_ERR_CANT_EQUIP_LEVEL_I: return { "EQUIP_ERR_CANT_EQUIP_LEVEL_I", "EQUIP_ERR_CANT_EQUIP_LEVEL_I", "" };
36 case EQUIP_ERR_CANT_EQUIP_SKILL: return { "EQUIP_ERR_CANT_EQUIP_SKILL", "EQUIP_ERR_CANT_EQUIP_SKILL", "" };
37 case EQUIP_ERR_ITEM_DOESNT_GO_TO_SLOT: return { "EQUIP_ERR_ITEM_DOESNT_GO_TO_SLOT", "EQUIP_ERR_ITEM_DOESNT_GO_TO_SLOT", "" };
38 case EQUIP_ERR_BAG_FULL: return { "EQUIP_ERR_BAG_FULL", "EQUIP_ERR_BAG_FULL", "" };
39 case EQUIP_ERR_NONEMPTY_BAG_OVER_OTHER_BAG: return { "EQUIP_ERR_NONEMPTY_BAG_OVER_OTHER_BAG", "EQUIP_ERR_NONEMPTY_BAG_OVER_OTHER_BAG", "" };
40 case EQUIP_ERR_CANT_TRADE_EQUIP_BAGS: return { "EQUIP_ERR_CANT_TRADE_EQUIP_BAGS", "EQUIP_ERR_CANT_TRADE_EQUIP_BAGS", "" };
41 case EQUIP_ERR_ONLY_AMMO_CAN_GO_HERE: return { "EQUIP_ERR_ONLY_AMMO_CAN_GO_HERE", "EQUIP_ERR_ONLY_AMMO_CAN_GO_HERE", "" };
42 case EQUIP_ERR_NO_REQUIRED_PROFICIENCY: return { "EQUIP_ERR_NO_REQUIRED_PROFICIENCY", "EQUIP_ERR_NO_REQUIRED_PROFICIENCY", "" };
43 case EQUIP_ERR_NO_EQUIPMENT_SLOT_AVAILABLE: return { "EQUIP_ERR_NO_EQUIPMENT_SLOT_AVAILABLE", "EQUIP_ERR_NO_EQUIPMENT_SLOT_AVAILABLE", "" };
44 case EQUIP_ERR_YOU_CAN_NEVER_USE_THAT_ITEM: return { "EQUIP_ERR_YOU_CAN_NEVER_USE_THAT_ITEM", "EQUIP_ERR_YOU_CAN_NEVER_USE_THAT_ITEM", "" };
45 case EQUIP_ERR_YOU_CAN_NEVER_USE_THAT_ITEM2: return { "EQUIP_ERR_YOU_CAN_NEVER_USE_THAT_ITEM2", "EQUIP_ERR_YOU_CAN_NEVER_USE_THAT_ITEM2", "" };
46 case EQUIP_ERR_NO_EQUIPMENT_SLOT_AVAILABLE2: return { "EQUIP_ERR_NO_EQUIPMENT_SLOT_AVAILABLE2", "EQUIP_ERR_NO_EQUIPMENT_SLOT_AVAILABLE2", "" };
47 case EQUIP_ERR_CANT_EQUIP_WITH_TWOHANDED: return { "EQUIP_ERR_CANT_EQUIP_WITH_TWOHANDED", "EQUIP_ERR_CANT_EQUIP_WITH_TWOHANDED", "" };
48 case EQUIP_ERR_CANT_DUAL_WIELD: return { "EQUIP_ERR_CANT_DUAL_WIELD", "EQUIP_ERR_CANT_DUAL_WIELD", "" };
49 case EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG: return { "EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG", "EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG", "" };
50 case EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG2: return { "EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG2", "EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG2", "" };
51 case EQUIP_ERR_CANT_CARRY_MORE_OF_THIS: return { "EQUIP_ERR_CANT_CARRY_MORE_OF_THIS", "EQUIP_ERR_CANT_CARRY_MORE_OF_THIS", "" };
52 case EQUIP_ERR_NO_EQUIPMENT_SLOT_AVAILABLE3: return { "EQUIP_ERR_NO_EQUIPMENT_SLOT_AVAILABLE3", "EQUIP_ERR_NO_EQUIPMENT_SLOT_AVAILABLE3", "" };
53 case EQUIP_ERR_ITEM_CANT_STACK: return { "EQUIP_ERR_ITEM_CANT_STACK", "EQUIP_ERR_ITEM_CANT_STACK", "" };
54 case EQUIP_ERR_ITEM_CANT_BE_EQUIPPED: return { "EQUIP_ERR_ITEM_CANT_BE_EQUIPPED", "EQUIP_ERR_ITEM_CANT_BE_EQUIPPED", "" };
55 case EQUIP_ERR_ITEMS_CANT_BE_SWAPPED: return { "EQUIP_ERR_ITEMS_CANT_BE_SWAPPED", "EQUIP_ERR_ITEMS_CANT_BE_SWAPPED", "" };
56 case EQUIP_ERR_SLOT_IS_EMPTY: return { "EQUIP_ERR_SLOT_IS_EMPTY", "EQUIP_ERR_SLOT_IS_EMPTY", "" };
57 case EQUIP_ERR_ITEM_NOT_FOUND: return { "EQUIP_ERR_ITEM_NOT_FOUND", "EQUIP_ERR_ITEM_NOT_FOUND", "" };
58 case EQUIP_ERR_CANT_DROP_SOULBOUND: return { "EQUIP_ERR_CANT_DROP_SOULBOUND", "EQUIP_ERR_CANT_DROP_SOULBOUND", "" };
59 case EQUIP_ERR_OUT_OF_RANGE: return { "EQUIP_ERR_OUT_OF_RANGE", "EQUIP_ERR_OUT_OF_RANGE", "" };
60 case EQUIP_ERR_TRIED_TO_SPLIT_MORE_THAN_COUNT: return { "EQUIP_ERR_TRIED_TO_SPLIT_MORE_THAN_COUNT", "EQUIP_ERR_TRIED_TO_SPLIT_MORE_THAN_COUNT", "" };
61 case EQUIP_ERR_COULDNT_SPLIT_ITEMS: return { "EQUIP_ERR_COULDNT_SPLIT_ITEMS", "EQUIP_ERR_COULDNT_SPLIT_ITEMS", "" };
62 case EQUIP_ERR_MISSING_REAGENT: return { "EQUIP_ERR_MISSING_REAGENT", "EQUIP_ERR_MISSING_REAGENT", "" };
63 case EQUIP_ERR_NOT_ENOUGH_MONEY: return { "EQUIP_ERR_NOT_ENOUGH_MONEY", "EQUIP_ERR_NOT_ENOUGH_MONEY", "" };
64 case EQUIP_ERR_NOT_A_BAG: return { "EQUIP_ERR_NOT_A_BAG", "EQUIP_ERR_NOT_A_BAG", "" };
65 case EQUIP_ERR_CAN_ONLY_DO_WITH_EMPTY_BAGS: return { "EQUIP_ERR_CAN_ONLY_DO_WITH_EMPTY_BAGS", "EQUIP_ERR_CAN_ONLY_DO_WITH_EMPTY_BAGS", "" };
66 case EQUIP_ERR_DONT_OWN_THAT_ITEM: return { "EQUIP_ERR_DONT_OWN_THAT_ITEM", "EQUIP_ERR_DONT_OWN_THAT_ITEM", "" };
67 case EQUIP_ERR_CAN_EQUIP_ONLY1_QUIVER: return { "EQUIP_ERR_CAN_EQUIP_ONLY1_QUIVER", "EQUIP_ERR_CAN_EQUIP_ONLY1_QUIVER", "" };
68 case EQUIP_ERR_MUST_PURCHASE_THAT_BAG_SLOT: return { "EQUIP_ERR_MUST_PURCHASE_THAT_BAG_SLOT", "EQUIP_ERR_MUST_PURCHASE_THAT_BAG_SLOT", "" };
69 case EQUIP_ERR_TOO_FAR_AWAY_FROM_BANK: return { "EQUIP_ERR_TOO_FAR_AWAY_FROM_BANK", "EQUIP_ERR_TOO_FAR_AWAY_FROM_BANK", "" };
70 case EQUIP_ERR_ITEM_LOCKED: return { "EQUIP_ERR_ITEM_LOCKED", "EQUIP_ERR_ITEM_LOCKED", "" };
71 case EQUIP_ERR_YOU_ARE_STUNNED: return { "EQUIP_ERR_YOU_ARE_STUNNED", "EQUIP_ERR_YOU_ARE_STUNNED", "" };
72 case EQUIP_ERR_YOU_ARE_DEAD: return { "EQUIP_ERR_YOU_ARE_DEAD", "EQUIP_ERR_YOU_ARE_DEAD", "" };
73 case EQUIP_ERR_CANT_DO_RIGHT_NOW: return { "EQUIP_ERR_CANT_DO_RIGHT_NOW", "EQUIP_ERR_CANT_DO_RIGHT_NOW", "" };
74 case EQUIP_ERR_INT_BAG_ERROR: return { "EQUIP_ERR_INT_BAG_ERROR", "EQUIP_ERR_INT_BAG_ERROR", "" };
75 case EQUIP_ERR_CAN_EQUIP_ONLY1_BOLT: return { "EQUIP_ERR_CAN_EQUIP_ONLY1_BOLT", "EQUIP_ERR_CAN_EQUIP_ONLY1_BOLT", "" };
76 case EQUIP_ERR_CAN_EQUIP_ONLY1_AMMOPOUCH: return { "EQUIP_ERR_CAN_EQUIP_ONLY1_AMMOPOUCH", "EQUIP_ERR_CAN_EQUIP_ONLY1_AMMOPOUCH", "" };
77 case EQUIP_ERR_STACKABLE_CANT_BE_WRAPPED: return { "EQUIP_ERR_STACKABLE_CANT_BE_WRAPPED", "EQUIP_ERR_STACKABLE_CANT_BE_WRAPPED", "" };
78 case EQUIP_ERR_EQUIPPED_CANT_BE_WRAPPED: return { "EQUIP_ERR_EQUIPPED_CANT_BE_WRAPPED", "EQUIP_ERR_EQUIPPED_CANT_BE_WRAPPED", "" };
79 case EQUIP_ERR_WRAPPED_CANT_BE_WRAPPED: return { "EQUIP_ERR_WRAPPED_CANT_BE_WRAPPED", "EQUIP_ERR_WRAPPED_CANT_BE_WRAPPED", "" };
80 case EQUIP_ERR_BOUND_CANT_BE_WRAPPED: return { "EQUIP_ERR_BOUND_CANT_BE_WRAPPED", "EQUIP_ERR_BOUND_CANT_BE_WRAPPED", "" };
81 case EQUIP_ERR_UNIQUE_CANT_BE_WRAPPED: return { "EQUIP_ERR_UNIQUE_CANT_BE_WRAPPED", "EQUIP_ERR_UNIQUE_CANT_BE_WRAPPED", "" };
82 case EQUIP_ERR_BAGS_CANT_BE_WRAPPED: return { "EQUIP_ERR_BAGS_CANT_BE_WRAPPED", "EQUIP_ERR_BAGS_CANT_BE_WRAPPED", "" };
83 case EQUIP_ERR_ALREADY_LOOTED: return { "EQUIP_ERR_ALREADY_LOOTED", "EQUIP_ERR_ALREADY_LOOTED", "" };
84 case EQUIP_ERR_INVENTORY_FULL: return { "EQUIP_ERR_INVENTORY_FULL", "EQUIP_ERR_INVENTORY_FULL", "" };
85 case EQUIP_ERR_BANK_FULL: return { "EQUIP_ERR_BANK_FULL", "EQUIP_ERR_BANK_FULL", "" };
86 case EQUIP_ERR_ITEM_IS_CURRENTLY_SOLD_OUT: return { "EQUIP_ERR_ITEM_IS_CURRENTLY_SOLD_OUT", "EQUIP_ERR_ITEM_IS_CURRENTLY_SOLD_OUT", "" };
87 case EQUIP_ERR_BAG_FULL3: return { "EQUIP_ERR_BAG_FULL3", "EQUIP_ERR_BAG_FULL3", "" };
88 case EQUIP_ERR_ITEM_NOT_FOUND2: return { "EQUIP_ERR_ITEM_NOT_FOUND2", "EQUIP_ERR_ITEM_NOT_FOUND2", "" };
89 case EQUIP_ERR_ITEM_CANT_STACK2: return { "EQUIP_ERR_ITEM_CANT_STACK2", "EQUIP_ERR_ITEM_CANT_STACK2", "" };
90 case EQUIP_ERR_BAG_FULL4: return { "EQUIP_ERR_BAG_FULL4", "EQUIP_ERR_BAG_FULL4", "" };
91 case EQUIP_ERR_ITEM_SOLD_OUT: return { "EQUIP_ERR_ITEM_SOLD_OUT", "EQUIP_ERR_ITEM_SOLD_OUT", "" };
92 case EQUIP_ERR_OBJECT_IS_BUSY: return { "EQUIP_ERR_OBJECT_IS_BUSY", "EQUIP_ERR_OBJECT_IS_BUSY", "" };
93 case EQUIP_ERR_NONE: return { "EQUIP_ERR_NONE", "EQUIP_ERR_NONE", "" };
94 case EQUIP_ERR_NOT_IN_COMBAT: return { "EQUIP_ERR_NOT_IN_COMBAT", "EQUIP_ERR_NOT_IN_COMBAT", "" };
95 case EQUIP_ERR_NOT_WHILE_DISARMED: return { "EQUIP_ERR_NOT_WHILE_DISARMED", "EQUIP_ERR_NOT_WHILE_DISARMED", "" };
96 case EQUIP_ERR_BAG_FULL6: return { "EQUIP_ERR_BAG_FULL6", "EQUIP_ERR_BAG_FULL6", "" };
97 case EQUIP_ERR_CANT_EQUIP_RANK: return { "EQUIP_ERR_CANT_EQUIP_RANK", "EQUIP_ERR_CANT_EQUIP_RANK", "" };
98 case EQUIP_ERR_CANT_EQUIP_REPUTATION: return { "EQUIP_ERR_CANT_EQUIP_REPUTATION", "EQUIP_ERR_CANT_EQUIP_REPUTATION", "" };
99 case EQUIP_ERR_TOO_MANY_SPECIAL_BAGS: return { "EQUIP_ERR_TOO_MANY_SPECIAL_BAGS", "EQUIP_ERR_TOO_MANY_SPECIAL_BAGS", "" };
100 case EQUIP_ERR_LOOT_CANT_LOOT_THAT_NOW: return { "EQUIP_ERR_LOOT_CANT_LOOT_THAT_NOW", "EQUIP_ERR_LOOT_CANT_LOOT_THAT_NOW", "" };
101 case EQUIP_ERR_ITEM_UNIQUE_EQUIPABLE: return { "EQUIP_ERR_ITEM_UNIQUE_EQUIPABLE", "EQUIP_ERR_ITEM_UNIQUE_EQUIPABLE", "" };
102 case EQUIP_ERR_VENDOR_MISSING_TURNINS: return { "EQUIP_ERR_VENDOR_MISSING_TURNINS", "EQUIP_ERR_VENDOR_MISSING_TURNINS", "" };
103 case EQUIP_ERR_NOT_ENOUGH_HONOR_POINTS: return { "EQUIP_ERR_NOT_ENOUGH_HONOR_POINTS", "EQUIP_ERR_NOT_ENOUGH_HONOR_POINTS", "" };
104 case EQUIP_ERR_NOT_ENOUGH_ARENA_POINTS: return { "EQUIP_ERR_NOT_ENOUGH_ARENA_POINTS", "EQUIP_ERR_NOT_ENOUGH_ARENA_POINTS", "" };
105 case EQUIP_ERR_ITEM_MAX_COUNT_SOCKETED: return { "EQUIP_ERR_ITEM_MAX_COUNT_SOCKETED", "EQUIP_ERR_ITEM_MAX_COUNT_SOCKETED", "" };
106 case EQUIP_ERR_MAIL_BOUND_ITEM: return { "EQUIP_ERR_MAIL_BOUND_ITEM", "EQUIP_ERR_MAIL_BOUND_ITEM", "" };
107 case EQUIP_ERR_NO_SPLIT_WHILE_PROSPECTING: return { "EQUIP_ERR_NO_SPLIT_WHILE_PROSPECTING", "EQUIP_ERR_NO_SPLIT_WHILE_PROSPECTING", "" };
108 case EQUIP_ERR_ITEM_MAX_COUNT_EQUIPPED_SOCKETED: return { "EQUIP_ERR_ITEM_MAX_COUNT_EQUIPPED_SOCKETED", "EQUIP_ERR_ITEM_MAX_COUNT_EQUIPPED_SOCKETED", "" };
109 case EQUIP_ERR_ITEM_UNIQUE_EQUIPPABLE_SOCKETED: return { "EQUIP_ERR_ITEM_UNIQUE_EQUIPPABLE_SOCKETED", "EQUIP_ERR_ITEM_UNIQUE_EQUIPPABLE_SOCKETED", "" };
110 case EQUIP_ERR_TOO_MUCH_GOLD: return { "EQUIP_ERR_TOO_MUCH_GOLD", "EQUIP_ERR_TOO_MUCH_GOLD", "" };
111 case EQUIP_ERR_NOT_DURING_ARENA_MATCH: return { "EQUIP_ERR_NOT_DURING_ARENA_MATCH", "EQUIP_ERR_NOT_DURING_ARENA_MATCH", "" };
112 case EQUIP_ERR_CANNOT_TRADE_THAT: return { "EQUIP_ERR_CANNOT_TRADE_THAT", "EQUIP_ERR_CANNOT_TRADE_THAT", "" };
113 case EQUIP_ERR_PERSONAL_ARENA_RATING_TOO_LOW: return { "EQUIP_ERR_PERSONAL_ARENA_RATING_TOO_LOW", "EQUIP_ERR_PERSONAL_ARENA_RATING_TOO_LOW", "" };
114 case EQUIP_ERR_EVENT_AUTOEQUIP_BIND_CONFIRM: return { "EQUIP_ERR_EVENT_AUTOEQUIP_BIND_CONFIRM", "EQUIP_ERR_EVENT_AUTOEQUIP_BIND_CONFIRM", "" };
115 case EQUIP_ERR_ARTEFACTS_ONLY_FOR_OWN_CHARACTERS: return { "EQUIP_ERR_ARTEFACTS_ONLY_FOR_OWN_CHARACTERS", "EQUIP_ERR_ARTEFACTS_ONLY_FOR_OWN_CHARACTERS", "" };
116 case EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_COUNT_EXCEEDED: return { "EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_COUNT_EXCEEDED", "EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_COUNT_EXCEEDED", "" };
117 case EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_SOCKETED_EXCEEDED: return { "EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_SOCKETED_EXCEEDED", "EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_SOCKETED_EXCEEDED", "" };
118 case EQUIP_ERR_SCALING_STAT_ITEM_LEVEL_EXCEEDED: return { "EQUIP_ERR_SCALING_STAT_ITEM_LEVEL_EXCEEDED", "EQUIP_ERR_SCALING_STAT_ITEM_LEVEL_EXCEEDED", "" };
119 case EQUIP_ERR_PURCHASE_LEVEL_TOO_LOW: return { "EQUIP_ERR_PURCHASE_LEVEL_TOO_LOW", "EQUIP_ERR_PURCHASE_LEVEL_TOO_LOW", "" };
120 case EQUIP_ERR_CANT_EQUIP_NEED_TALENT: return { "EQUIP_ERR_CANT_EQUIP_NEED_TALENT", "EQUIP_ERR_CANT_EQUIP_NEED_TALENT", "" };
121 case EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_EQUIPPED_EXCEEDED: return { "EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_EQUIPPED_EXCEEDED", "EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_EQUIPPED_EXCEEDED", "" };
122 default: throw std::out_of_range("value");
123 }
124}

References EQUIP_ERR_ALREADY_LOOTED, EQUIP_ERR_ARTEFACTS_ONLY_FOR_OWN_CHARACTERS, EQUIP_ERR_BAG_FULL, EQUIP_ERR_BAG_FULL3, EQUIP_ERR_BAG_FULL4, EQUIP_ERR_BAG_FULL6, EQUIP_ERR_BAGS_CANT_BE_WRAPPED, EQUIP_ERR_BANK_FULL, EQUIP_ERR_BOUND_CANT_BE_WRAPPED, EQUIP_ERR_CAN_EQUIP_ONLY1_AMMOPOUCH, EQUIP_ERR_CAN_EQUIP_ONLY1_BOLT, EQUIP_ERR_CAN_EQUIP_ONLY1_QUIVER, EQUIP_ERR_CAN_ONLY_DO_WITH_EMPTY_BAGS, EQUIP_ERR_CANNOT_TRADE_THAT, EQUIP_ERR_CANT_CARRY_MORE_OF_THIS, EQUIP_ERR_CANT_DO_RIGHT_NOW, EQUIP_ERR_CANT_DROP_SOULBOUND, EQUIP_ERR_CANT_DUAL_WIELD, EQUIP_ERR_CANT_EQUIP_LEVEL_I, EQUIP_ERR_CANT_EQUIP_NEED_TALENT, EQUIP_ERR_CANT_EQUIP_RANK, EQUIP_ERR_CANT_EQUIP_REPUTATION, EQUIP_ERR_CANT_EQUIP_SKILL, EQUIP_ERR_CANT_EQUIP_WITH_TWOHANDED, EQUIP_ERR_CANT_TRADE_EQUIP_BAGS, EQUIP_ERR_COULDNT_SPLIT_ITEMS, EQUIP_ERR_DONT_OWN_THAT_ITEM, EQUIP_ERR_EQUIPPED_CANT_BE_WRAPPED, EQUIP_ERR_EVENT_AUTOEQUIP_BIND_CONFIRM, EQUIP_ERR_INT_BAG_ERROR, EQUIP_ERR_INVENTORY_FULL, EQUIP_ERR_ITEM_CANT_BE_EQUIPPED, EQUIP_ERR_ITEM_CANT_STACK, EQUIP_ERR_ITEM_CANT_STACK2, EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG, EQUIP_ERR_ITEM_DOESNT_GO_INTO_BAG2, EQUIP_ERR_ITEM_DOESNT_GO_TO_SLOT, EQUIP_ERR_ITEM_IS_CURRENTLY_SOLD_OUT, EQUIP_ERR_ITEM_LOCKED, EQUIP_ERR_ITEM_MAX_COUNT_EQUIPPED_SOCKETED, EQUIP_ERR_ITEM_MAX_COUNT_SOCKETED, EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_COUNT_EXCEEDED, EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_EQUIPPED_EXCEEDED, EQUIP_ERR_ITEM_MAX_LIMIT_CATEGORY_SOCKETED_EXCEEDED, EQUIP_ERR_ITEM_NOT_FOUND, EQUIP_ERR_ITEM_NOT_FOUND2, EQUIP_ERR_ITEM_SOLD_OUT, EQUIP_ERR_ITEM_UNIQUE_EQUIPABLE, EQUIP_ERR_ITEM_UNIQUE_EQUIPPABLE_SOCKETED, EQUIP_ERR_ITEMS_CANT_BE_SWAPPED, EQUIP_ERR_LOOT_CANT_LOOT_THAT_NOW, EQUIP_ERR_MAIL_BOUND_ITEM, EQUIP_ERR_MISSING_REAGENT, EQUIP_ERR_MUST_PURCHASE_THAT_BAG_SLOT, EQUIP_ERR_NO_EQUIPMENT_SLOT_AVAILABLE, EQUIP_ERR_NO_EQUIPMENT_SLOT_AVAILABLE2, EQUIP_ERR_NO_EQUIPMENT_SLOT_AVAILABLE3, EQUIP_ERR_NO_REQUIRED_PROFICIENCY, EQUIP_ERR_NO_SPLIT_WHILE_PROSPECTING, EQUIP_ERR_NONE, EQUIP_ERR_NONEMPTY_BAG_OVER_OTHER_BAG, EQUIP_ERR_NOT_A_BAG, EQUIP_ERR_NOT_DURING_ARENA_MATCH, EQUIP_ERR_NOT_ENOUGH_ARENA_POINTS, EQUIP_ERR_NOT_ENOUGH_HONOR_POINTS, EQUIP_ERR_NOT_ENOUGH_MONEY, EQUIP_ERR_NOT_IN_COMBAT, EQUIP_ERR_NOT_WHILE_DISARMED, EQUIP_ERR_OBJECT_IS_BUSY, EQUIP_ERR_OK, EQUIP_ERR_ONLY_AMMO_CAN_GO_HERE, EQUIP_ERR_OUT_OF_RANGE, EQUIP_ERR_PERSONAL_ARENA_RATING_TOO_LOW, EQUIP_ERR_PURCHASE_LEVEL_TOO_LOW, EQUIP_ERR_SCALING_STAT_ITEM_LEVEL_EXCEEDED, EQUIP_ERR_SLOT_IS_EMPTY, EQUIP_ERR_STACKABLE_CANT_BE_WRAPPED, EQUIP_ERR_TOO_FAR_AWAY_FROM_BANK, EQUIP_ERR_TOO_MANY_SPECIAL_BAGS, EQUIP_ERR_TOO_MUCH_GOLD, EQUIP_ERR_TRIED_TO_SPLIT_MORE_THAN_COUNT, EQUIP_ERR_UNIQUE_CANT_BE_WRAPPED, EQUIP_ERR_VENDOR_MISSING_TURNINS, EQUIP_ERR_WRAPPED_CANT_BE_WRAPPED, EQUIP_ERR_YOU_ARE_DEAD, EQUIP_ERR_YOU_ARE_STUNNED, EQUIP_ERR_YOU_CAN_NEVER_USE_THAT_ITEM, and EQUIP_ERR_YOU_CAN_NEVER_USE_THAT_ITEM2.

◆ ToString() [15/32]

31{
32 switch (value)
33 {
34 case LOG_LEVEL_DISABLED: return { "LOG_LEVEL_DISABLED", "LOG_LEVEL_DISABLED", "" };
35 case LOG_LEVEL_FATAL: return { "LOG_LEVEL_FATAL", "LOG_LEVEL_FATAL", "" };
36 case LOG_LEVEL_ERROR: return { "LOG_LEVEL_ERROR", "LOG_LEVEL_ERROR", "" };
37 case LOG_LEVEL_WARN: return { "LOG_LEVEL_WARN", "LOG_LEVEL_WARN", "" };
38 case LOG_LEVEL_INFO: return { "LOG_LEVEL_INFO", "LOG_LEVEL_INFO", "" };
39 case LOG_LEVEL_DEBUG: return { "LOG_LEVEL_DEBUG", "LOG_LEVEL_DEBUG", "" };
40 case LOG_LEVEL_TRACE: return { "LOG_LEVEL_TRACE", "LOG_LEVEL_TRACE", "" };
41 default: throw std::out_of_range("value");
42 }
43}

References LOG_LEVEL_DEBUG, LOG_LEVEL_DISABLED, LOG_LEVEL_ERROR, LOG_LEVEL_FATAL, LOG_LEVEL_INFO, LOG_LEVEL_TRACE, and LOG_LEVEL_WARN.

◆ ToString() [16/32]

1876{
1877 switch (value)
1878 {
1879 case MECHANIC_NONE: return { "MECHANIC_NONE", "MECHANIC_NONE", "" };
1880 case MECHANIC_CHARM: return { "MECHANIC_CHARM", "MECHANIC_CHARM", "" };
1881 case MECHANIC_DISORIENTED: return { "MECHANIC_DISORIENTED", "MECHANIC_DISORIENTED", "" };
1882 case MECHANIC_DISARM: return { "MECHANIC_DISARM", "MECHANIC_DISARM", "" };
1883 case MECHANIC_DISTRACT: return { "MECHANIC_DISTRACT", "MECHANIC_DISTRACT", "" };
1884 case MECHANIC_FEAR: return { "MECHANIC_FEAR", "MECHANIC_FEAR", "" };
1885 case MECHANIC_GRIP: return { "MECHANIC_GRIP", "MECHANIC_GRIP", "" };
1886 case MECHANIC_ROOT: return { "MECHANIC_ROOT", "MECHANIC_ROOT", "" };
1887 case MECHANIC_SLOW_ATTACK: return { "MECHANIC_SLOW_ATTACK", "MECHANIC_SLOW_ATTACK", "" };
1888 case MECHANIC_SILENCE: return { "MECHANIC_SILENCE", "MECHANIC_SILENCE", "" };
1889 case MECHANIC_SLEEP: return { "MECHANIC_SLEEP", "MECHANIC_SLEEP", "" };
1890 case MECHANIC_SNARE: return { "MECHANIC_SNARE", "MECHANIC_SNARE", "" };
1891 case MECHANIC_STUN: return { "MECHANIC_STUN", "MECHANIC_STUN", "" };
1892 case MECHANIC_FREEZE: return { "MECHANIC_FREEZE", "MECHANIC_FREEZE", "" };
1893 case MECHANIC_KNOCKOUT: return { "MECHANIC_KNOCKOUT", "MECHANIC_KNOCKOUT", "" };
1894 case MECHANIC_BLEED: return { "MECHANIC_BLEED", "MECHANIC_BLEED", "" };
1895 case MECHANIC_BANDAGE: return { "MECHANIC_BANDAGE", "MECHANIC_BANDAGE", "" };
1896 case MECHANIC_POLYMORPH: return { "MECHANIC_POLYMORPH", "MECHANIC_POLYMORPH", "" };
1897 case MECHANIC_BANISH: return { "MECHANIC_BANISH", "MECHANIC_BANISH", "" };
1898 case MECHANIC_SHIELD: return { "MECHANIC_SHIELD", "MECHANIC_SHIELD", "" };
1899 case MECHANIC_SHACKLE: return { "MECHANIC_SHACKLE", "MECHANIC_SHACKLE", "" };
1900 case MECHANIC_MOUNT: return { "MECHANIC_MOUNT", "MECHANIC_MOUNT", "" };
1901 case MECHANIC_INFECTED: return { "MECHANIC_INFECTED", "MECHANIC_INFECTED", "" };
1902 case MECHANIC_TURN: return { "MECHANIC_TURN", "MECHANIC_TURN", "" };
1903 case MECHANIC_HORROR: return { "MECHANIC_HORROR", "MECHANIC_HORROR", "" };
1904 case MECHANIC_INVULNERABILITY: return { "MECHANIC_INVULNERABILITY", "MECHANIC_INVULNERABILITY", "" };
1905 case MECHANIC_INTERRUPT: return { "MECHANIC_INTERRUPT", "MECHANIC_INTERRUPT", "" };
1906 case MECHANIC_DAZE: return { "MECHANIC_DAZE", "MECHANIC_DAZE", "" };
1907 case MECHANIC_DISCOVERY: return { "MECHANIC_DISCOVERY", "MECHANIC_DISCOVERY", "" };
1908 case MECHANIC_IMMUNE_SHIELD: return { "MECHANIC_IMMUNE_SHIELD", "MECHANIC_IMMUNE_SHIELD", "Divine (Blessing) Shield/Protection and Ice Block" };
1909 case MECHANIC_SAPPED: return { "MECHANIC_SAPPED", "MECHANIC_SAPPED", "" };
1910 case MECHANIC_ENRAGED: return { "MECHANIC_ENRAGED", "MECHANIC_ENRAGED", "" };
1911 default: throw std::out_of_range("value");
1912 }
1913}

References MECHANIC_BANDAGE, MECHANIC_BANISH, MECHANIC_BLEED, MECHANIC_CHARM, MECHANIC_DAZE, MECHANIC_DISARM, MECHANIC_DISCOVERY, MECHANIC_DISORIENTED, MECHANIC_DISTRACT, MECHANIC_ENRAGED, MECHANIC_FEAR, MECHANIC_FREEZE, MECHANIC_GRIP, MECHANIC_HORROR, MECHANIC_IMMUNE_SHIELD, MECHANIC_INFECTED, MECHANIC_INTERRUPT, MECHANIC_INVULNERABILITY, MECHANIC_KNOCKOUT, MECHANIC_MOUNT, MECHANIC_NONE, MECHANIC_POLYMORPH, MECHANIC_ROOT, MECHANIC_SAPPED, MECHANIC_SHACKLE, MECHANIC_SHIELD, MECHANIC_SILENCE, MECHANIC_SLEEP, MECHANIC_SLOW_ATTACK, MECHANIC_SNARE, MECHANIC_STUN, and MECHANIC_TURN.

◆ ToString() [17/32]

163{
164 switch (value)
165 {
166 case UNIT_NPC_FLAG_GOSSIP: return { "UNIT_NPC_FLAG_GOSSIP", "has gossip menu", "100%" };
167 case UNIT_NPC_FLAG_QUESTGIVER: return { "UNIT_NPC_FLAG_QUESTGIVER", "is quest giver", "guessed, probably ok" };
168 case UNIT_NPC_FLAG_UNK1: return { "UNIT_NPC_FLAG_UNK1", "UNIT_NPC_FLAG_UNK1", "" };
169 case UNIT_NPC_FLAG_UNK2: return { "UNIT_NPC_FLAG_UNK2", "UNIT_NPC_FLAG_UNK2", "" };
170 case UNIT_NPC_FLAG_TRAINER: return { "UNIT_NPC_FLAG_TRAINER", "is trainer", "100%" };
171 case UNIT_NPC_FLAG_TRAINER_CLASS: return { "UNIT_NPC_FLAG_TRAINER_CLASS", "is class trainer", "100%" };
172 case UNIT_NPC_FLAG_TRAINER_PROFESSION: return { "UNIT_NPC_FLAG_TRAINER_PROFESSION", "is profession trainer", "100%" };
173 case UNIT_NPC_FLAG_VENDOR: return { "UNIT_NPC_FLAG_VENDOR", "is vendor (generic)", "100%" };
174 case UNIT_NPC_FLAG_VENDOR_AMMO: return { "UNIT_NPC_FLAG_VENDOR_AMMO", "is vendor (ammo)", "100%, general goods vendor" };
175 case UNIT_NPC_FLAG_VENDOR_FOOD: return { "UNIT_NPC_FLAG_VENDOR_FOOD", "is vendor (food)", "100%" };
176 case UNIT_NPC_FLAG_VENDOR_POISON: return { "UNIT_NPC_FLAG_VENDOR_POISON", "is vendor (poison)", "guessed" };
177 case UNIT_NPC_FLAG_VENDOR_REAGENT: return { "UNIT_NPC_FLAG_VENDOR_REAGENT", "is vendor (reagents)", "100%" };
178 case UNIT_NPC_FLAG_REPAIR: return { "UNIT_NPC_FLAG_REPAIR", "can repair", "100%" };
179 case UNIT_NPC_FLAG_FLIGHTMASTER: return { "UNIT_NPC_FLAG_FLIGHTMASTER", "is flight master", "100%" };
180 case UNIT_NPC_FLAG_SPIRITHEALER: return { "UNIT_NPC_FLAG_SPIRITHEALER", "is spirit healer", "guessed" };
181 case UNIT_NPC_FLAG_SPIRITGUIDE: return { "UNIT_NPC_FLAG_SPIRITGUIDE", "is spirit guide", "guessed" };
182 case UNIT_NPC_FLAG_INNKEEPER: return { "UNIT_NPC_FLAG_INNKEEPER", "is innkeeper", "" };
183 case UNIT_NPC_FLAG_BANKER: return { "UNIT_NPC_FLAG_BANKER", "is banker", "100%" };
184 case UNIT_NPC_FLAG_PETITIONER: return { "UNIT_NPC_FLAG_PETITIONER", "handles guild/arena petitions", "100% 0xC0000 = guild petitions, 0x40000 = arena team petitions" };
185 case UNIT_NPC_FLAG_TABARDDESIGNER: return { "UNIT_NPC_FLAG_TABARDDESIGNER", "is guild tabard designer", "100%" };
186 case UNIT_NPC_FLAG_BATTLEMASTER: return { "UNIT_NPC_FLAG_BATTLEMASTER", "is battlemaster", "100%" };
187 case UNIT_NPC_FLAG_AUCTIONEER: return { "UNIT_NPC_FLAG_AUCTIONEER", "is auctioneer", "100%" };
188 case UNIT_NPC_FLAG_STABLEMASTER: return { "UNIT_NPC_FLAG_STABLEMASTER", "is stable master", "100%" };
189 case UNIT_NPC_FLAG_GUILD_BANKER: return { "UNIT_NPC_FLAG_GUILD_BANKER", "is guild banker", "cause client to send 997 opcode" };
190 case UNIT_NPC_FLAG_SPELLCLICK: return { "UNIT_NPC_FLAG_SPELLCLICK", "has spell click enabled", "cause client to send 1015 opcode (spell click)" };
191 case UNIT_NPC_FLAG_PLAYER_VEHICLE: return { "UNIT_NPC_FLAG_PLAYER_VEHICLE", "is player vehicle", "players with mounts that have vehicle data should have it set" };
192 case UNIT_NPC_FLAG_MAILBOX: return { "UNIT_NPC_FLAG_MAILBOX", "is mailbox", "" };
193 case UNIT_NPC_FLAG_VENDOR_MASK: return { "UNIT_NPC_FLAG_VENDOR_MASK", "UNIT_NPC_FLAG_VENDOR_MASK", "" };
194 default: throw std::out_of_range("value");
195 }
196}

References UNIT_NPC_FLAG_AUCTIONEER, UNIT_NPC_FLAG_BANKER, UNIT_NPC_FLAG_BATTLEMASTER, UNIT_NPC_FLAG_FLIGHTMASTER, UNIT_NPC_FLAG_GOSSIP, UNIT_NPC_FLAG_GUILD_BANKER, UNIT_NPC_FLAG_INNKEEPER, UNIT_NPC_FLAG_MAILBOX, UNIT_NPC_FLAG_PETITIONER, UNIT_NPC_FLAG_PLAYER_VEHICLE, UNIT_NPC_FLAG_QUESTGIVER, UNIT_NPC_FLAG_REPAIR, UNIT_NPC_FLAG_SPELLCLICK, UNIT_NPC_FLAG_SPIRITGUIDE, UNIT_NPC_FLAG_SPIRITHEALER, UNIT_NPC_FLAG_STABLEMASTER, UNIT_NPC_FLAG_TABARDDESIGNER, UNIT_NPC_FLAG_TRAINER, UNIT_NPC_FLAG_TRAINER_CLASS, UNIT_NPC_FLAG_TRAINER_PROFESSION, UNIT_NPC_FLAG_UNK1, UNIT_NPC_FLAG_UNK2, UNIT_NPC_FLAG_VENDOR, UNIT_NPC_FLAG_VENDOR_AMMO, UNIT_NPC_FLAG_VENDOR_FOOD, UNIT_NPC_FLAG_VENDOR_MASK, UNIT_NPC_FLAG_VENDOR_POISON, and UNIT_NPC_FLAG_VENDOR_REAGENT.

◆ ToString() [18/32]

31{
32 switch (value)
33 {
34 case INVALIDREASON_DONT_HAVE_REQ: return { "INVALIDREASON_DONT_HAVE_REQ", "INVALIDREASON_DONT_HAVE_REQ", "" };
35 case INVALIDREASON_QUEST_FAILED_LOW_LEVEL: return { "INVALIDREASON_QUEST_FAILED_LOW_LEVEL", "INVALIDREASON_QUEST_FAILED_LOW_LEVEL", "You are not high enough level for that quest." };
36 case INVALIDREASON_QUEST_FAILED_WRONG_RACE: return { "INVALIDREASON_QUEST_FAILED_WRONG_RACE", "INVALIDREASON_QUEST_FAILED_WRONG_RACE", "That quest is not available to your race." };
37 case INVALIDREASON_QUEST_ALREADY_DONE: return { "INVALIDREASON_QUEST_ALREADY_DONE", "INVALIDREASON_QUEST_ALREADY_DONE", "You have completed that quest." };
38 case INVALIDREASON_QUEST_ONLY_ONE_TIMED: return { "INVALIDREASON_QUEST_ONLY_ONE_TIMED", "INVALIDREASON_QUEST_ONLY_ONE_TIMED", "You can only be on one timed quest at a time." };
39 case INVALIDREASON_QUEST_ALREADY_ON: return { "INVALIDREASON_QUEST_ALREADY_ON", "INVALIDREASON_QUEST_ALREADY_ON", "You are already on that quest." };
40 case INVALIDREASON_QUEST_FAILED_EXPANSION: return { "INVALIDREASON_QUEST_FAILED_EXPANSION", "INVALIDREASON_QUEST_FAILED_EXPANSION", "This quest requires an expansion enabled account." };
41 case INVALIDREASON_QUEST_ALREADY_ON2: return { "INVALIDREASON_QUEST_ALREADY_ON2", "INVALIDREASON_QUEST_ALREADY_ON2", "You are already on that quest." };
42 case INVALIDREASON_QUEST_FAILED_MISSING_ITEMS: return { "INVALIDREASON_QUEST_FAILED_MISSING_ITEMS", "INVALIDREASON_QUEST_FAILED_MISSING_ITEMS", "You don't have the required items with you. Check storage." };
43 case INVALIDREASON_QUEST_FAILED_NOT_ENOUGH_MONEY: return { "INVALIDREASON_QUEST_FAILED_NOT_ENOUGH_MONEY", "INVALIDREASON_QUEST_FAILED_NOT_ENOUGH_MONEY", "You don't have enough money for that quest." };
44 case INVALIDREASON_DAILY_QUESTS_REMAINING: return { "INVALIDREASON_DAILY_QUESTS_REMAINING", "INVALIDREASON_DAILY_QUESTS_REMAINING", "You have already completed 25 daily quests today." };
45 case INVALIDREASON_QUEST_FAILED_CAIS: return { "INVALIDREASON_QUEST_FAILED_CAIS", "INVALIDREASON_QUEST_FAILED_CAIS", "You cannot complete quests once you have reached tired time." };
46 case INVALIDREASON_DAILY_QUEST_COMPLETED_TODAY: return { "INVALIDREASON_DAILY_QUEST_COMPLETED_TODAY", "INVALIDREASON_DAILY_QUEST_COMPLETED_TODAY", "You have completed that daily quest today." };
47 default: throw std::out_of_range("value");
48 }
49}

References INVALIDREASON_DAILY_QUEST_COMPLETED_TODAY, INVALIDREASON_DAILY_QUESTS_REMAINING, INVALIDREASON_DONT_HAVE_REQ, INVALIDREASON_QUEST_ALREADY_DONE, INVALIDREASON_QUEST_ALREADY_ON, INVALIDREASON_QUEST_ALREADY_ON2, INVALIDREASON_QUEST_FAILED_CAIS, INVALIDREASON_QUEST_FAILED_EXPANSION, INVALIDREASON_QUEST_FAILED_LOW_LEVEL, INVALIDREASON_QUEST_FAILED_MISSING_ITEMS, INVALIDREASON_QUEST_FAILED_NOT_ENOUGH_MONEY, INVALIDREASON_QUEST_FAILED_WRONG_RACE, and INVALIDREASON_QUEST_ONLY_ONE_TIMED.

◆ ToString() [19/32]

103{
104 switch (value)
105 {
106 case QUEST_PARTY_MSG_SHARING_QUEST: return { "QUEST_PARTY_MSG_SHARING_QUEST", "QUEST_PARTY_MSG_SHARING_QUEST", "" };
107 case QUEST_PARTY_MSG_CANT_TAKE_QUEST: return { "QUEST_PARTY_MSG_CANT_TAKE_QUEST", "QUEST_PARTY_MSG_CANT_TAKE_QUEST", "" };
108 case QUEST_PARTY_MSG_ACCEPT_QUEST: return { "QUEST_PARTY_MSG_ACCEPT_QUEST", "QUEST_PARTY_MSG_ACCEPT_QUEST", "" };
109 case QUEST_PARTY_MSG_DECLINE_QUEST: return { "QUEST_PARTY_MSG_DECLINE_QUEST", "QUEST_PARTY_MSG_DECLINE_QUEST", "" };
110 case QUEST_PARTY_MSG_BUSY: return { "QUEST_PARTY_MSG_BUSY", "QUEST_PARTY_MSG_BUSY", "" };
111 case QUEST_PARTY_MSG_LOG_FULL: return { "QUEST_PARTY_MSG_LOG_FULL", "QUEST_PARTY_MSG_LOG_FULL", "" };
112 case QUEST_PARTY_MSG_HAVE_QUEST: return { "QUEST_PARTY_MSG_HAVE_QUEST", "QUEST_PARTY_MSG_HAVE_QUEST", "" };
113 case QUEST_PARTY_MSG_FINISH_QUEST: return { "QUEST_PARTY_MSG_FINISH_QUEST", "QUEST_PARTY_MSG_FINISH_QUEST", "" };
114 case QUEST_PARTY_MSG_CANT_BE_SHARED_TODAY: return { "QUEST_PARTY_MSG_CANT_BE_SHARED_TODAY", "QUEST_PARTY_MSG_CANT_BE_SHARED_TODAY", "" };
115 case QUEST_PARTY_MSG_SHARING_TIMER_EXPIRED: return { "QUEST_PARTY_MSG_SHARING_TIMER_EXPIRED", "QUEST_PARTY_MSG_SHARING_TIMER_EXPIRED", "" };
116 case QUEST_PARTY_MSG_NOT_IN_PARTY: return { "QUEST_PARTY_MSG_NOT_IN_PARTY", "QUEST_PARTY_MSG_NOT_IN_PARTY", "" };
117 default: throw std::out_of_range("value");
118 }
119}

References QUEST_PARTY_MSG_ACCEPT_QUEST, QUEST_PARTY_MSG_BUSY, QUEST_PARTY_MSG_CANT_BE_SHARED_TODAY, QUEST_PARTY_MSG_CANT_TAKE_QUEST, QUEST_PARTY_MSG_DECLINE_QUEST, QUEST_PARTY_MSG_FINISH_QUEST, QUEST_PARTY_MSG_HAVE_QUEST, QUEST_PARTY_MSG_LOG_FULL, QUEST_PARTY_MSG_NOT_IN_PARTY, QUEST_PARTY_MSG_SHARING_QUEST, and QUEST_PARTY_MSG_SHARING_TIMER_EXPIRED.

◆ ToString() [20/32]

AC_API_EXPORT EnumText EnumUtils< Races >::ToString ( Races  value)
31{
32 switch (value)
33 {
34 case RACE_HUMAN: return { "RACE_HUMAN", "Human", "" };
35 case RACE_ORC: return { "RACE_ORC", "Orc", "" };
36 case RACE_DWARF: return { "RACE_DWARF", "Dwarf", "" };
37 case RACE_NIGHTELF: return { "RACE_NIGHTELF", "Night Elf", "" };
38 case RACE_UNDEAD_PLAYER: return { "RACE_UNDEAD_PLAYER", "Undead", "" };
39 case RACE_TAUREN: return { "RACE_TAUREN", "Tauren", "" };
40 case RACE_GNOME: return { "RACE_GNOME", "Gnome", "" };
41 case RACE_TROLL: return { "RACE_TROLL", "Troll", "" };
42 case RACE_BLOODELF: return { "RACE_BLOODELF", "Blood Elf", "" };
43 case RACE_DRAENEI: return { "RACE_DRAENEI", "Draenei", "" };
44 default: throw std::out_of_range("value");
45 }
46}

References RACE_BLOODELF, RACE_DRAENEI, RACE_DWARF, RACE_GNOME, RACE_HUMAN, RACE_NIGHTELF, RACE_ORC, RACE_TAUREN, RACE_TROLL, and RACE_UNDEAD_PLAYER.

◆ ToString() [21/32]

388{
389 switch (value)
390 {
391 case SELL_ERR_CANT_FIND_ITEM: return { "SELL_ERR_CANT_FIND_ITEM", "SELL_ERR_CANT_FIND_ITEM", "The item was not found." };
392 case SELL_ERR_CANT_SELL_ITEM: return { "SELL_ERR_CANT_SELL_ITEM", "SELL_ERR_CANT_SELL_ITEM", "The merchant doesn't want that item." };
393 case SELL_ERR_CANT_FIND_VENDOR: return { "SELL_ERR_CANT_FIND_VENDOR", "SELL_ERR_CANT_FIND_VENDOR", "The merchant doesn't like you." };
394 case SELL_ERR_YOU_DONT_OWN_THAT_ITEM: return { "SELL_ERR_YOU_DONT_OWN_THAT_ITEM", "SELL_ERR_YOU_DONT_OWN_THAT_ITEM", "You don't own that item." };
395 case SELL_ERR_UNK: return { "SELL_ERR_UNK", "SELL_ERR_UNK", "Nothing appears..." };
396 case SELL_ERR_ONLY_EMPTY_BAG: return { "SELL_ERR_ONLY_EMPTY_BAG", "SELL_ERR_ONLY_EMPTY_BAG", "You can only do that with empty bags." };
397 case SELL_ERR_CANT_SELL_TO_THIS_MERCHANT: return { "SELL_ERR_CANT_SELL_TO_THIS_MERCHANT", "SELL_ERR_CANT_SELL_TO_THIS_MERCHANT", "You cannot sell items to this merchant." };
398 case SELL_ERR_MUST_REPAIR_ITEM_DURABILITY_TO_USE: return { "SELL_ERR_MUST_REPAIR_ITEM_DURABILITY_TO_USE", "SELL_ERR_MUST_REPAIR_ITEM_DURABILITY_TO_USE", "You must repair that item's durability to use it." };
399 case SELL_INTERNAL_BAG_ERROR: return { "SELL_INTERNAL_BAG_ERROR", "SELL_INTERNAL_BAG_ERROR", "Internal Bag Error" };
400 default: throw std::out_of_range("value");
401 }
402}

References SELL_ERR_CANT_FIND_ITEM, SELL_ERR_CANT_FIND_VENDOR, SELL_ERR_CANT_SELL_ITEM, SELL_ERR_CANT_SELL_TO_THIS_MERCHANT, SELL_ERR_MUST_REPAIR_ITEM_DURABILITY_TO_USE, SELL_ERR_ONLY_EMPTY_BAG, SELL_ERR_UNK, SELL_ERR_YOU_DONT_OWN_THAT_ITEM, and SELL_INTERNAL_BAG_ERROR.

◆ ToString() [22/32]

157{
158 switch (value)
159 {
160 case SPELL_ATTR0_PROC_FAILURE_BURNS_CHARGE: return { "SPELL_ATTR0_PROC_FAILURE_BURNS_CHARGE", "Unknown attribute 0@Attr0", "" };
161 case SPELL_ATTR0_USES_RANGED_SLOT: return { "SPELL_ATTR0_USES_RANGED_SLOT", "Treat as ranged attack", "Use ammo, ranged attack range modifiers, ranged haste, etc." };
162 case SPELL_ATTR0_ON_NEXT_SWING_NO_DAMAGE: return { "SPELL_ATTR0_ON_NEXT_SWING_NO_DAMAGE", "On next melee (type 1)", "Both \042on next swing\042 attributes have identical handling in server & client" };
163 case SPELL_ATTR0_DO_NOT_LOG_IMMUNE_MISSES: return { "SPELL_ATTR0_DO_NOT_LOG_IMMUNE_MISSES", "Replenishment (client only)", "" };
164 case SPELL_ATTR0_IS_ABILITY: return { "SPELL_ATTR0_IS_ABILITY", "Treat as ability", "Cannot be reflected, not affected by cast speed modifiers, etc." };
165 case SPELL_ATTR0_IS_TRADESKILL: return { "SPELL_ATTR0_IS_TRADESKILL", "Trade skill recipe", "Displayed in recipe list, not affected by cast speed modifiers" };
166 case SPELL_ATTR0_PASSIVE: return { "SPELL_ATTR0_PASSIVE", "Passive spell", "Spell is automatically cast on self by core" };
167 case SPELL_ATTR0_DO_NOT_DISPLAY: return { "SPELL_ATTR0_DO_NOT_DISPLAY", "Hidden in UI (client only)", "Not visible in spellbook or aura bar (Spellbook, Aura Icon, Combat Log)" };
168 case SPELL_ATTR0_DO_NOT_LOG: return { "SPELL_ATTR0_DO_NOT_LOG", "Hidden in combat log (client only)", "Spell will not appear in combat logs" };
169 case SPELL_ATTR0_HELD_ITEM_ONLY: return { "SPELL_ATTR0_HELD_ITEM_ONLY", "Auto-target mainhand item (client only)", "Client will automatically select main-hand item as cast target" };
170 case SPELL_ATTR0_ON_NEXT_SWING: return { "SPELL_ATTR0_ON_NEXT_SWING", "On next melee (type 2)", "Both \042on next swing\042 attributes have identical handling in server & client" };
171 case SPELL_ATTR0_WEARER_CASTS_PROC_TRIGGER: return { "SPELL_ATTR0_WEARER_CASTS_PROC_TRIGGER", "Unknown attribute 11@Attr0", "" };
172 case SPELL_ATTR0_SERVER_ONLY: return { "SPELL_ATTR0_SERVER_ONLY", "Only usable during daytime (unused)", "" };
173 case SPELL_ATTR0_ALLOW_ITEM_SPELL_IN_PVP: return { "SPELL_ATTR0_ALLOW_ITEM_SPELL_IN_PVP", "Only usable during nighttime (unused)", "" };
174 case SPELL_ATTR0_ONLY_INDOORS: return { "SPELL_ATTR0_ONLY_INDOORS", "Only usable indoors", "" };
175 case SPELL_ATTR0_ONLY_OUTDOORS: return { "SPELL_ATTR0_ONLY_OUTDOORS", "Only usable outdoors", "" };
176 case SPELL_ATTR0_NOT_SHAPESHIFTED: return { "SPELL_ATTR0_NOT_SHAPESHIFTED", "Not usable while shapeshifted", "" };
177 case SPELL_ATTR0_ONLY_STEALTHED: return { "SPELL_ATTR0_ONLY_STEALTHED", "Only usable in stealth", "" };
178 case SPELL_ATTR0_DO_NOT_SHEATH: return { "SPELL_ATTR0_DO_NOT_SHEATH", "Don't shealthe weapons (client only)", "" };
179 case SPELL_ATTR0_SCALES_WITH_CREATURE_LEVEL: return { "SPELL_ATTR0_SCALES_WITH_CREATURE_LEVEL", "Scale with caster level", "For non-player casts, scale impact and power cost with caster's level" };
180 case SPELL_ATTR0_CANCELS_AUTO_ATTACK_COMBAT: return { "SPELL_ATTR0_CANCELS_AUTO_ATTACK_COMBAT", "Stop attacking after cast", "After casting this, the current auto-attack will be interrupted" };
181 case SPELL_ATTR0_NO_ACTIVE_DEFENSE: return { "SPELL_ATTR0_NO_ACTIVE_DEFENSE", "Prevent physical avoidance", "Spell cannot be dodged, parried or blocked" };
182 case SPELL_ATTR0_TRACK_TARGET_IN_CAST_PLAYER_ONLY: return { "SPELL_ATTR0_TRACK_TARGET_IN_CAST_PLAYER_ONLY", "Automatically face target during cast (client only)", "" };
183 case SPELL_ATTR0_ALLOW_CAST_WHILE_DEAD: return { "SPELL_ATTR0_ALLOW_CAST_WHILE_DEAD", "Can be cast while dead", "Spells without this flag cannot be cast by dead units in non-triggered contexts" };
184 case SPELL_ATTR0_ALLOW_WHILE_MOUNTED: return { "SPELL_ATTR0_ALLOW_WHILE_MOUNTED", "Can be cast while mounted", "" };
185 case SPELL_ATTR0_COOLDOWN_ON_EVENT: return { "SPELL_ATTR0_COOLDOWN_ON_EVENT", "Cooldown starts on expiry", "Spell is unusable while already active, and cooldown does not begin until the effects have worn off" };
186 case SPELL_ATTR0_AURA_IS_DEBUFF: return { "SPELL_ATTR0_AURA_IS_DEBUFF", "Is negative spell", "Forces the spell to be treated as a negative spell" };
187 case SPELL_ATTR0_ALLOW_WHILE_SITTING: return { "SPELL_ATTR0_ALLOW_WHILE_SITTING", "Can be cast while sitting", "" };
188 case SPELL_ATTR0_NOT_IN_COMBAT_ONLY_PEACEFUL: return { "SPELL_ATTR0_NOT_IN_COMBAT_ONLY_PEACEFUL", "Cannot be used in combat", "" };
189 case SPELL_ATTR0_NO_IMMUNITIES: return { "SPELL_ATTR0_NO_IMMUNITIES", "Pierce invulnerability", "Allows spell to pierce invulnerability, unless the invulnerability spell also has this attribute" };
190 case SPELL_ATTR0_HEARTBEAT_RESIST: return { "SPELL_ATTR0_HEARTBEAT_RESIST", "Periodic resistance checks", "Periodically re-rolls against resistance to potentially expire aura early" };
191 case SPELL_ATTR0_NO_AURA_CANCEL: return { "SPELL_ATTR0_NO_AURA_CANCEL", "Aura cannot be cancelled", "Prevents the player from voluntarily canceling a positive aura" };
192 default: throw std::out_of_range("value");
193 }
194}

References SPELL_ATTR0_ALLOW_CAST_WHILE_DEAD, SPELL_ATTR0_ALLOW_ITEM_SPELL_IN_PVP, SPELL_ATTR0_ALLOW_WHILE_MOUNTED, SPELL_ATTR0_ALLOW_WHILE_SITTING, SPELL_ATTR0_AURA_IS_DEBUFF, SPELL_ATTR0_CANCELS_AUTO_ATTACK_COMBAT, SPELL_ATTR0_COOLDOWN_ON_EVENT, SPELL_ATTR0_DO_NOT_DISPLAY, SPELL_ATTR0_DO_NOT_LOG, SPELL_ATTR0_DO_NOT_LOG_IMMUNE_MISSES, SPELL_ATTR0_DO_NOT_SHEATH, SPELL_ATTR0_HEARTBEAT_RESIST, SPELL_ATTR0_HELD_ITEM_ONLY, SPELL_ATTR0_IS_ABILITY, SPELL_ATTR0_IS_TRADESKILL, SPELL_ATTR0_NO_ACTIVE_DEFENSE, SPELL_ATTR0_NO_AURA_CANCEL, SPELL_ATTR0_NO_IMMUNITIES, SPELL_ATTR0_NOT_IN_COMBAT_ONLY_PEACEFUL, SPELL_ATTR0_NOT_SHAPESHIFTED, SPELL_ATTR0_ON_NEXT_SWING, SPELL_ATTR0_ON_NEXT_SWING_NO_DAMAGE, SPELL_ATTR0_ONLY_INDOORS, SPELL_ATTR0_ONLY_OUTDOORS, SPELL_ATTR0_ONLY_STEALTHED, SPELL_ATTR0_PASSIVE, SPELL_ATTR0_PROC_FAILURE_BURNS_CHARGE, SPELL_ATTR0_SCALES_WITH_CREATURE_LEVEL, SPELL_ATTR0_SERVER_ONLY, SPELL_ATTR0_TRACK_TARGET_IN_CAST_PLAYER_ONLY, SPELL_ATTR0_USES_RANGED_SLOT, and SPELL_ATTR0_WEARER_CASTS_PROC_TRIGGER.

◆ ToString() [23/32]

286{
287 switch (value)
288 {
289 case SPELL_ATTR1_DISMISS_PET_FIRST: return { "SPELL_ATTR1_DISMISS_PET_FIRST", "Dismiss Pet on cast", "Without this attribute, summoning spells will fail if caster already has a pet" };
290 case SPELL_ATTR1_USE_ALL_MANA: return { "SPELL_ATTR1_USE_ALL_MANA", "Drain all power", "Ignores listed power cost and drains entire pool instead" };
291 case SPELL_ATTR1_IS_CHANNELED: return { "SPELL_ATTR1_IS_CHANNELED", "Channeled (type 1)", "Both \042channeled\042 attributes have identical handling in server & client" };
292 case SPELL_ATTR1_NO_REDIRECTION: return { "SPELL_ATTR1_NO_REDIRECTION", "Ignore redirection effects", "Spell will not be attracted by SPELL_MAGNET auras (Grounding Totem)" };
293 case SPELL_ATTR1_NO_SKILL_INCREASE: return { "SPELL_ATTR1_NO_SKILL_INCREASE", "Unknown attribute 4@Attr1", "stealth and whirlwind" };
294 case SPELL_ATTR1_ALLOW_WHILE_STEALTHED: return { "SPELL_ATTR1_ALLOW_WHILE_STEALTHED", "Does not break stealth", "" };
295 case SPELL_ATTR1_IS_SELF_CHANNELED: return { "SPELL_ATTR1_IS_SELF_CHANNELED", "Channeled (type 2)", "Both \042channeled\042 attributes have identical handling in server & client" };
296 case SPELL_ATTR1_NO_REFLECTION: return { "SPELL_ATTR1_NO_REFLECTION", "Ignore reflection effects", "Spell will pierce through Spell Reflection and similar" };
297 case SPELL_ATTR1_ONLY_PEACEFUL_TARGETS: return { "SPELL_ATTR1_ONLY_PEACEFUL_TARGETS", "Target cannot be in combat", "" };
298 case SPELL_ATTR1_INITIATE_COMBAT: return { "SPELL_ATTR1_INITIATE_COMBAT", "Enables Auto-Attack (client only)", "Caster will begin auto-attacking the target on cast" };
299 case SPELL_ATTR1_NO_THREAT: return { "SPELL_ATTR1_NO_THREAT", "Does not generate threat", "Also does not cause target to engage" };
300 case SPELL_ATTR1_AURA_UNIQUE: return { "SPELL_ATTR1_AURA_UNIQUE", "Aura will not refresh its duration when recast", "" };
301 case SPELL_ATTR1_FAILURE_BREAKS_STEALTH: return { "SPELL_ATTR1_FAILURE_BREAKS_STEALTH", "Pickpocket (client only)", "" };
302 case SPELL_ATTR1_TOGGLE_FAR_SIGHT: return { "SPELL_ATTR1_TOGGLE_FAR_SIGHT", "Farsight aura (client only)", "" };
303 case SPELL_ATTR1_TRACK_TARGET_IN_CHANNEL: return { "SPELL_ATTR1_TRACK_TARGET_IN_CHANNEL", "Track target while channeling", "While channeling, adjust facing to face target" };
304 case SPELL_ATTR1_IMMUNITY_PURGES_EFFECT: return { "SPELL_ATTR1_IMMUNITY_PURGES_EFFECT", "Immunity cancels preapplied auras", "For immunity spells, cancel all auras that this spell would make you immune to when the spell is applied" };
305 case SPELL_ATTR1_IMMUNITY_TO_HOSTILE_AND_FRIENDLY_EFFECTS: return { "SPELL_ATTR1_IMMUNITY_TO_HOSTILE_AND_FRIENDLY_EFFECTS", "Unaffected by school immunities", "Will not pierce Divine Shield, Ice Block and other full invulnerabilities" };
306 case SPELL_ATTR1_NO_AUTOCAST_AI: return { "SPELL_ATTR1_NO_AUTOCAST_AI", "Cannot be autocast by pet", "(AI)" };
307 case SPELL_ATTR1_PREVENTS_ANIM: return { "SPELL_ATTR1_PREVENTS_ANIM", "NYI, auras apply UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT", "" };
308 case SPELL_ATTR1_EXCLUDE_CASTER: return { "SPELL_ATTR1_EXCLUDE_CASTER", "Cannot be self-cast", "" };
309 case SPELL_ATTR1_FINISHING_MOVE_DAMAGE: return { "SPELL_ATTR1_FINISHING_MOVE_DAMAGE", "Requires combo points (type 1)", "" };
310 case SPELL_ATTR1_THREAT_ONLY_ON_MISS: return { "SPELL_ATTR1_THREAT_ONLY_ON_MISS", "Unknown attribute 21@Attr1", "" };
311 case SPELL_ATTR1_FINISHING_MOVE_DURATION: return { "SPELL_ATTR1_FINISHING_MOVE_DURATION", "Requires combo points (type 2)", "" };
312 case SPELL_ATTR1_IGNORE_OWNERS_DEATH: return { "SPELL_ATTR1_IGNORE_OWNERS_DEATH", "Unknwon attribute 23@Attr1", "" };
313 case SPELL_ATTR1_SPECIAL_SKILLUP: return { "SPELL_ATTR1_SPECIAL_SKILLUP", "Fishing (client only)", "" };
314 case SPELL_ATTR1_AURA_STAYS_AFTER_COMBAT: return { "SPELL_ATTR1_AURA_STAYS_AFTER_COMBAT", "Aura stays after combat", "Aura will not be removed when the unit leaves combat" };
315 case SPELL_ATTR1_REQUIRE_ALL_TARGETS: return { "SPELL_ATTR1_REQUIRE_ALL_TARGETS", "Unknown attribute 26@Attr1", "Related to [target=focus] and [target=mouseover] macros?" };
316 case SPELL_ATTR1_DISCOUNT_POWER_ON_MISS: return { "SPELL_ATTR1_DISCOUNT_POWER_ON_MISS", "Unknown attribute 27@Attr1", "Melee spell?" };
317 case SPELL_ATTR1_NO_AURA_ICON: return { "SPELL_ATTR1_NO_AURA_ICON", "Hide in aura bar (client only)", "" };
318 case SPELL_ATTR1_NAME_IN_CHANNEL_BAR: return { "SPELL_ATTR1_NAME_IN_CHANNEL_BAR", "Show spell name during channel (client only)", "" };
319 case SPELL_ATTR1_COMBO_ON_BLOCK: return { "SPELL_ATTR1_COMBO_ON_BLOCK", "Enable at dodge", "(Mainline: Dispel All Stacks)" };
320 case SPELL_ATTR1_CAST_WHEN_LEARNED: return { "SPELL_ATTR1_CAST_WHEN_LEARNED", "Unknown attribute 31@Attr1", "" };
321 default: throw std::out_of_range("value");
322 }
323}

References SPELL_ATTR1_ALLOW_WHILE_STEALTHED, SPELL_ATTR1_AURA_STAYS_AFTER_COMBAT, SPELL_ATTR1_AURA_UNIQUE, SPELL_ATTR1_CAST_WHEN_LEARNED, SPELL_ATTR1_COMBO_ON_BLOCK, SPELL_ATTR1_DISCOUNT_POWER_ON_MISS, SPELL_ATTR1_DISMISS_PET_FIRST, SPELL_ATTR1_EXCLUDE_CASTER, SPELL_ATTR1_FAILURE_BREAKS_STEALTH, SPELL_ATTR1_FINISHING_MOVE_DAMAGE, SPELL_ATTR1_FINISHING_MOVE_DURATION, SPELL_ATTR1_IGNORE_OWNERS_DEATH, SPELL_ATTR1_IMMUNITY_PURGES_EFFECT, SPELL_ATTR1_IMMUNITY_TO_HOSTILE_AND_FRIENDLY_EFFECTS, SPELL_ATTR1_INITIATE_COMBAT, SPELL_ATTR1_IS_CHANNELED, SPELL_ATTR1_IS_SELF_CHANNELED, SPELL_ATTR1_NAME_IN_CHANNEL_BAR, SPELL_ATTR1_NO_AURA_ICON, SPELL_ATTR1_NO_AUTOCAST_AI, SPELL_ATTR1_NO_REDIRECTION, SPELL_ATTR1_NO_REFLECTION, SPELL_ATTR1_NO_SKILL_INCREASE, SPELL_ATTR1_NO_THREAT, SPELL_ATTR1_ONLY_PEACEFUL_TARGETS, SPELL_ATTR1_PREVENTS_ANIM, SPELL_ATTR1_REQUIRE_ALL_TARGETS, SPELL_ATTR1_SPECIAL_SKILLUP, SPELL_ATTR1_THREAT_ONLY_ON_MISS, SPELL_ATTR1_TOGGLE_FAR_SIGHT, SPELL_ATTR1_TRACK_TARGET_IN_CHANNEL, and SPELL_ATTR1_USE_ALL_MANA.

◆ ToString() [24/32]

415{
416 switch (value)
417 {
418 case SPELL_ATTR2_ALLOW_DEAD_TARGET: return { "SPELL_ATTR2_ALLOW_DEAD_TARGET", "Can target dead players or corpses", "" };
419 case SPELL_ATTR2_NO_SHAPESHIFT_UI: return { "SPELL_ATTR2_NO_SHAPESHIFT_UI", "Unknown attribute 1@Attr2", "vanish, shadowform, Ghost Wolf and other" };
420 case SPELL_ATTR2_IGNORE_LINE_OF_SIGHT: return { "SPELL_ATTR2_IGNORE_LINE_OF_SIGHT", "Ignore Line of Sight", "" };
421 case SPELL_ATTR2_ALLOW_LOW_LEVEL_BUFF: return { "SPELL_ATTR2_ALLOW_LOW_LEVEL_BUFF", "Ignore aura scaling", "" };
422 case SPELL_ATTR2_USE_SHAPESHIFT_BAR: return { "SPELL_ATTR2_USE_SHAPESHIFT_BAR", "Show in stance bar (client only)", "" };
423 case SPELL_ATTR2_AUTO_REPEAT: return { "SPELL_ATTR2_AUTO_REPEAT", "Ranged auto-attack spell", "" };
424 case SPELL_ATTR2_CANNOT_CAST_ON_TAPPED: return { "SPELL_ATTR2_CANNOT_CAST_ON_TAPPED", "Cannot target others' tapped units", "Can only target untapped units, or those tapped by caster" };
425 case SPELL_ATTR2_DO_NOT_REPORT_SPELL_FAILURE: return { "SPELL_ATTR2_DO_NOT_REPORT_SPELL_FAILURE", "Unknown attribute 7@Attr2", "" };
426 case SPELL_ATTR2_INCLUDE_IN_ADVANCED_COMBAT_LOG: return { "SPELL_ATTR2_INCLUDE_IN_ADVANCED_COMBAT_LOG", "Unknown attribute 8@Attr2", "not set in 3.0.3" };
427 case SPELL_ATTR2_ALWAYS_CAST_AS_UNIT: return { "SPELL_ATTR2_ALWAYS_CAST_AS_UNIT", "Unknown attribute 9@Attr2", "" };
428 case SPELL_ATTR2_SPECIAL_TAMING_FLAG: return { "SPELL_ATTR2_SPECIAL_TAMING_FLAG", "Unknown attribute 10@Attr2", "Related to taming?" };
429 case SPELL_ATTR2_NO_TARGET_PER_SECOND_COST: return { "SPELL_ATTR2_NO_TARGET_PER_SECOND_COST", "Health Funnel", "" };
430 case SPELL_ATTR2_CHAIN_FROM_CASTER: return { "SPELL_ATTR2_CHAIN_FROM_CASTER", "Unknown attribute 12@Attr2", "Cleave, Heart Strike, Maul, Sunder Armor, Swipe" };
431 case SPELL_ATTR2_ENCHANT_OWN_ITEM_ONLY: return { "SPELL_ATTR2_ENCHANT_OWN_ITEM_ONLY", "Enchant persists when entering arena", "" };
432 case SPELL_ATTR2_ALLOW_WHILE_INVISIBLE: return { "SPELL_ATTR2_ALLOW_WHILE_INVISIBLE", "Unknown attribute 14@Attr2", "" };
433 case SPELL_ATTR2_DO_NOT_CONSUME_IF_GAINED_DURING_CAST: return { "SPELL_ATTR2_DO_NOT_CONSUME_IF_GAINED_DURING_CAST", "Unknown attribute 15@Attr2", "not set in 3.0.3" };
434 case SPELL_ATTR2_NO_ACTIVE_PETS: return { "SPELL_ATTR2_NO_ACTIVE_PETS", "Tame Beast", "" };
435 case SPELL_ATTR2_DO_NOT_RESET_COMBAT_TIMERS: return { "SPELL_ATTR2_DO_NOT_RESET_COMBAT_TIMERS", "Don't reset swing timer", "Does not reset melee/ranged autoattack timer on cast" };
436 case SPELL_ATTR2_NO_JUMP_WHILE_CAST_PENDING: return { "SPELL_ATTR2_NO_JUMP_WHILE_CAST_PENDING", "Requires dead pet", "" };
437 case SPELL_ATTR2_ALLOW_WHILE_NOT_SHAPESHIFTED: return { "SPELL_ATTR2_ALLOW_WHILE_NOT_SHAPESHIFTED", "Also allow outside shapeshift (caster form)", "Even if Stances are nonzero, allow spell to be cast outside of shapeshift (though not in a different shapeshift)" };
438 case SPELL_ATTR2_INITIATE_COMBAT_POST_CAST: return { "SPELL_ATTR2_INITIATE_COMBAT_POST_CAST", "(Enables Auto-Attack)", "" };
439 case SPELL_ATTR2_FAIL_ON_ALL_TARGETS_IMMUNE: return { "SPELL_ATTR2_FAIL_ON_ALL_TARGETS_IMMUNE", "Damage reduction ability", "Causes BG flags to be dropped if combined with ATTR1_DISPEL_AURAS_ON_IMMUNITY" };
440 case SPELL_ATTR2_NO_INITIAL_THREAD: return { "SPELL_ATTR2_NO_INITIAL_THREAD", "Unknown attribute 22@Attr2", "Ambush, Backstab, Cheap Shot, Death Grip, Garrote, Judgements, Mutilate, Pounce, Ravage, Shiv, Shred" };
441 case SPELL_ATTR2_PROC_COOLDOWN_ON_FAILURE: return { "SPELL_ATTR2_PROC_COOLDOWN_ON_FAILURE", "Arcane Concentration", "" };
442 case SPELL_ATTR2_ITEM_CAST_WITH_OWNER_SKILL: return { "SPELL_ATTR2_ITEM_CAST_WITH_OWNER_SKILL", "Unknown attribute 24@Attr2", "" };
443 case SPELL_ATTR2_DONT_BLOCK_MANA_REGEN: return { "SPELL_ATTR2_DONT_BLOCK_MANA_REGEN", "Unknown attribute 25@Attr2", "" };
444 case SPELL_ATTR2_NO_SCHOOL_IMMUNITIES: return { "SPELL_ATTR2_NO_SCHOOL_IMMUNITIES", "Pierce aura application immunities", "Allow aura to be applied despite target being immune to new aura applications" };
445 case SPELL_ATTR2_IGNORE_WEAPONSKILL: return { "SPELL_ATTR2_IGNORE_WEAPONSKILL", "Unknown attribute 27@Attr2", "" };
446 case SPELL_ATTR2_NOT_AN_ACTION: return { "SPELL_ATTR2_NOT_AN_ACTION", "Unknown attribute 28@Attr2", "" };
447 case SPELL_ATTR2_CANT_CRIT: return { "SPELL_ATTR2_CANT_CRIT", "Cannot critically strike", "" };
448 case SPELL_ATTR2_ACTIVE_THREAT: return { "SPELL_ATTR2_ACTIVE_THREAT", "Allow triggered spell to trigger (type 1)", "Without this attribute, any triggered spell will be unable to trigger other auras' procs" };
449 case SPELL_ATTR2_RETAIN_ITEM_CAST: return { "SPELL_ATTR2_RETAIN_ITEM_CAST", "Food buff (client only)", "" };
450 default: throw std::out_of_range("value");
451 }
452}

References SPELL_ATTR2_ACTIVE_THREAT, SPELL_ATTR2_ALLOW_DEAD_TARGET, SPELL_ATTR2_ALLOW_LOW_LEVEL_BUFF, SPELL_ATTR2_ALLOW_WHILE_INVISIBLE, SPELL_ATTR2_ALLOW_WHILE_NOT_SHAPESHIFTED, SPELL_ATTR2_ALWAYS_CAST_AS_UNIT, SPELL_ATTR2_AUTO_REPEAT, SPELL_ATTR2_CANNOT_CAST_ON_TAPPED, SPELL_ATTR2_CANT_CRIT, SPELL_ATTR2_CHAIN_FROM_CASTER, SPELL_ATTR2_DO_NOT_CONSUME_IF_GAINED_DURING_CAST, SPELL_ATTR2_DO_NOT_REPORT_SPELL_FAILURE, SPELL_ATTR2_DO_NOT_RESET_COMBAT_TIMERS, SPELL_ATTR2_DONT_BLOCK_MANA_REGEN, SPELL_ATTR2_ENCHANT_OWN_ITEM_ONLY, SPELL_ATTR2_FAIL_ON_ALL_TARGETS_IMMUNE, SPELL_ATTR2_IGNORE_LINE_OF_SIGHT, SPELL_ATTR2_IGNORE_WEAPONSKILL, SPELL_ATTR2_INCLUDE_IN_ADVANCED_COMBAT_LOG, SPELL_ATTR2_INITIATE_COMBAT_POST_CAST, SPELL_ATTR2_ITEM_CAST_WITH_OWNER_SKILL, SPELL_ATTR2_NO_ACTIVE_PETS, SPELL_ATTR2_NO_INITIAL_THREAD, SPELL_ATTR2_NO_JUMP_WHILE_CAST_PENDING, SPELL_ATTR2_NO_SCHOOL_IMMUNITIES, SPELL_ATTR2_NO_SHAPESHIFT_UI, SPELL_ATTR2_NO_TARGET_PER_SECOND_COST, SPELL_ATTR2_NOT_AN_ACTION, SPELL_ATTR2_PROC_COOLDOWN_ON_FAILURE, SPELL_ATTR2_RETAIN_ITEM_CAST, SPELL_ATTR2_SPECIAL_TAMING_FLAG, and SPELL_ATTR2_USE_SHAPESHIFT_BAR.

◆ ToString() [25/32]

544{
545 switch (value)
546 {
547 case SPELL_ATTR3_PVP_ENABLING: return { "SPELL_ATTR3_PVP_ENABLING", "Unknown attribute 0@Attr3", "" };
548 case SPELL_ATTR3_NO_PROC_EQUIP_REQUIREMENT: return { "SPELL_ATTR3_NO_PROC_EQUIP_REQUIREMENT", "1 Ignores subclass mask check when checking proc", "" };
549 case SPELL_ATTR3_NO_CASTING_BAR_TEXT: return { "SPELL_ATTR3_NO_CASTING_BAR_TEXT", "Unknown attribute 2@Attr3", "" };
550 case SPELL_ATTR3_COMPLETELY_BLOCKED: return { "SPELL_ATTR3_COMPLETELY_BLOCKED", "Blockable spell", "" };
551 case SPELL_ATTR3_NO_RES_TIMER: return { "SPELL_ATTR3_NO_RES_TIMER", "Ignore resurrection timer", "" };
552 case SPELL_ATTR3_NO_DURABILITY_LOSS: return { "SPELL_ATTR3_NO_DURABILITY_LOSS", "Unknown attribute 5@Attr3", "" };
553 case SPELL_ATTR3_NO_AVOIDANCE: return { "SPELL_ATTR3_NO_AVOIDANCE", "Unknown attribute 6@Attr3", "" };
554 case SPELL_ATTR3_DOT_STACKING_RULE: return { "SPELL_ATTR3_DOT_STACKING_RULE", "Stack separately for each caster", "" };
555 case SPELL_ATTR3_ONLY_ON_PLAYER: return { "SPELL_ATTR3_ONLY_ON_PLAYER", "Can only target players", "" };
556 case SPELL_ATTR3_NOT_A_PROC: return { "SPELL_ATTR3_NOT_A_PROC", "Allow triggered spell to trigger (type 2)", "Without this attribute, any triggered spell will be unable to trigger other auras' procs" };
557 case SPELL_ATTR3_REQUIRES_MAIN_HAND_WEAPON: return { "SPELL_ATTR3_REQUIRES_MAIN_HAND_WEAPON", "Require main hand weapon", "" };
558 case SPELL_ATTR3_ONLY_BATTLEGROUNDS: return { "SPELL_ATTR3_ONLY_BATTLEGROUNDS", "Can only be cast in battleground", "" };
559 case SPELL_ATTR3_ONLY_ON_GHOSTS: return { "SPELL_ATTR3_ONLY_ON_GHOSTS", "Can only target ghost players", "" };
560 case SPELL_ATTR3_HIDE_CHANNEL_BAR: return { "SPELL_ATTR3_HIDE_CHANNEL_BAR", "Do not display channel bar (client only)", "" };
561 case SPELL_ATTR3_HIDE_IN_RAID_FILTER: return { "SPELL_ATTR3_HIDE_IN_RAID_FILTER", "Honorless Target", "" };
562 case SPELL_ATTR3_NORMAL_RANGED_ATTACK: return { "SPELL_ATTR3_NORMAL_RANGED_ATTACK", "Unknown attribute 15@Attr3", "Auto Shoot, Shoot, Throw - ranged normal attack attribute?" };
563 case SPELL_ATTR3_SUPRESS_CASTER_PROCS: return { "SPELL_ATTR3_SUPRESS_CASTER_PROCS", "Cannot trigger procs", "" };
564 case SPELL_ATTR3_SUPRESS_TARGET_PROCS: return { "SPELL_ATTR3_SUPRESS_TARGET_PROCS", "No initial aggro", "" };
565 case SPELL_ATTR3_ALWAYS_HIT: return { "SPELL_ATTR3_ALWAYS_HIT", "Ignore hit result", "Spell cannot miss, or be dodged/parried/blocked" };
566 case SPELL_ATTR3_INSTANT_TARGET_PROCS: return { "SPELL_ATTR3_INSTANT_TARGET_PROCS", "Cannot trigger spells during aura proc", "" };
567 case SPELL_ATTR3_ALLOW_AURA_WHILE_DEAD: return { "SPELL_ATTR3_ALLOW_AURA_WHILE_DEAD", "Persists through death", "" };
568 case SPELL_ATTR3_ONLY_PROC_OUTDOORS: return { "SPELL_ATTR3_ONLY_PROC_OUTDOORS", "Unknown attribute 21@Attr3", "" };
569 case SPELL_ATTR3_CASTING_CANCELS_AUTOREPEAT: return { "SPELL_ATTR3_CASTING_CANCELS_AUTOREPEAT", "Requires equipped Wand (Mainline: Do Not Trigger Target Stand)", "" };
570 case SPELL_ATTR3_NO_DAMAGE_HISTORY: return { "SPELL_ATTR3_NO_DAMAGE_HISTORY", "Unknown attribute 23@Attr3", "" };
571 case SPELL_ATTR3_REQUIRES_OFF_HAND_WEAPON: return { "SPELL_ATTR3_REQUIRES_OFF_HAND_WEAPON", "Requires offhand weapon", "" };
572 case SPELL_ATTR3_TREAT_AS_PERIODIC: return { "SPELL_ATTR3_TREAT_AS_PERIODIC", "Treat as periodic effect", "" };
573 case SPELL_ATTR3_CAN_PROC_FROM_PROCS: return { "SPELL_ATTR3_CAN_PROC_FROM_PROCS", "Can trigger from triggered spells", "" };
574 case SPELL_ATTR3_ONLY_PROC_ON_CASTER: return { "SPELL_ATTR3_ONLY_PROC_ON_CASTER", "Drain Soul", "" };
575 case SPELL_ATTR3_IGNORE_CASTER_AND_TARGET_RESTRICTIONS: return { "SPELL_ATTR3_IGNORE_CASTER_AND_TARGET_RESTRICTIONS", "Unknown attribute 28@Attr3", "" };
576 case SPELL_ATTR3_IGNORE_CASTER_MODIFIERS: return { "SPELL_ATTR3_IGNORE_CASTER_MODIFIERS", "Damage dealt is unaffected by modifiers", "" };
577 case SPELL_ATTR3_DO_NOT_DISPLAY_RANGE: return { "SPELL_ATTR3_DO_NOT_DISPLAY_RANGE", "Do not show range in tooltip (client only)", "" };
578 case SPELL_ATTR3_NOT_ON_AOE_IMMUNE: return { "SPELL_ATTR3_NOT_ON_AOE_IMMUNE", "Unknown attribute 31@Attr3", "" };
579 default: throw std::out_of_range("value");
580 }
581}

References SPELL_ATTR3_ALLOW_AURA_WHILE_DEAD, SPELL_ATTR3_ALWAYS_HIT, SPELL_ATTR3_CAN_PROC_FROM_PROCS, SPELL_ATTR3_CASTING_CANCELS_AUTOREPEAT, SPELL_ATTR3_COMPLETELY_BLOCKED, SPELL_ATTR3_DO_NOT_DISPLAY_RANGE, SPELL_ATTR3_DOT_STACKING_RULE, SPELL_ATTR3_HIDE_CHANNEL_BAR, SPELL_ATTR3_HIDE_IN_RAID_FILTER, SPELL_ATTR3_IGNORE_CASTER_AND_TARGET_RESTRICTIONS, SPELL_ATTR3_IGNORE_CASTER_MODIFIERS, SPELL_ATTR3_INSTANT_TARGET_PROCS, SPELL_ATTR3_NO_AVOIDANCE, SPELL_ATTR3_NO_CASTING_BAR_TEXT, SPELL_ATTR3_NO_DAMAGE_HISTORY, SPELL_ATTR3_NO_DURABILITY_LOSS, SPELL_ATTR3_NO_PROC_EQUIP_REQUIREMENT, SPELL_ATTR3_NO_RES_TIMER, SPELL_ATTR3_NORMAL_RANGED_ATTACK, SPELL_ATTR3_NOT_A_PROC, SPELL_ATTR3_NOT_ON_AOE_IMMUNE, SPELL_ATTR3_ONLY_BATTLEGROUNDS, SPELL_ATTR3_ONLY_ON_GHOSTS, SPELL_ATTR3_ONLY_ON_PLAYER, SPELL_ATTR3_ONLY_PROC_ON_CASTER, SPELL_ATTR3_ONLY_PROC_OUTDOORS, SPELL_ATTR3_PVP_ENABLING, SPELL_ATTR3_REQUIRES_MAIN_HAND_WEAPON, SPELL_ATTR3_REQUIRES_OFF_HAND_WEAPON, SPELL_ATTR3_SUPRESS_CASTER_PROCS, SPELL_ATTR3_SUPRESS_TARGET_PROCS, and SPELL_ATTR3_TREAT_AS_PERIODIC.

◆ ToString() [26/32]

673{
674 switch (value)
675 {
676 case SPELL_ATTR4_NO_CAST_LOG: return { "SPELL_ATTR4_NO_CAST_LOG", "Cannot be resisted", "" };
677 case SPELL_ATTR4_CLASS_TRIGGER_ONLY_ON_TARGET: return { "SPELL_ATTR4_CLASS_TRIGGER_ONLY_ON_TARGET", "Only proc on self-cast", "" };
678 case SPELL_ATTR4_AURA_EXPIRES_OFFLINE: return { "SPELL_ATTR4_AURA_EXPIRES_OFFLINE", "Buff expires while offline", "Debuffs (except Resurrection Sickness) will automatically do this" };
679 case SPELL_ATTR4_NO_HELPFUL_THREAT: return { "SPELL_ATTR4_NO_HELPFUL_THREAT", "Unknown attribute 3@Attr4", "" };
680 case SPELL_ATTR4_NO_HARMFUL_THREAT: return { "SPELL_ATTR4_NO_HARMFUL_THREAT", "Treat as delayed spell", "This will no longer cause guards to attack on use??" };
681 case SPELL_ATTR4_ALLOW_CLIENT_TARGETING: return { "SPELL_ATTR4_ALLOW_CLIENT_TARGETING", "Unknown attribute 5@Attr4", "" };
682 case SPELL_ATTR4_CANNOT_BE_STOLEN: return { "SPELL_ATTR4_CANNOT_BE_STOLEN", "Aura cannot be stolen", "" };
683 case SPELL_ATTR4_ALLOW_CAST_WHILE_CASTING: return { "SPELL_ATTR4_ALLOW_CAST_WHILE_CASTING", "Can be cast while casting", "Ignores already in-progress cast and still casts" };
684 case SPELL_ATTR4_IGNORE_DAMAGE_TAKEN_MODIFIERS: return { "SPELL_ATTR4_IGNORE_DAMAGE_TAKEN_MODIFIERS", "Deals fixed damage", "" };
685 case SPELL_ATTR4_COMBAT_FEEDBACK_WHEN_USABLE: return { "SPELL_ATTR4_COMBAT_FEEDBACK_WHEN_USABLE", "Spell is initially disabled (client only)", "" };
686 case SPELL_ATTR4_WEAPON_SPEED_COST_SCALING: return { "SPELL_ATTR4_WEAPON_SPEED_COST_SCALING", "Attack speed modifies cost", "Adds 10 to power cost for each 1s of weapon speed" };
687 case SPELL_ATTR4_NO_PARTIAL_IMMUNITY: return { "SPELL_ATTR4_NO_PARTIAL_IMMUNITY", "Unknown attribute 11@Attr4", "" };
688 case SPELL_ATTR4_AURA_IS_BUFF: return { "SPELL_ATTR4_AURA_IS_BUFF", "Unknown attribute 12@Attr4", "" };
689 case SPELL_ATTR4_DO_NOT_LOG_CASTER: return { "SPELL_ATTR4_DO_NOT_LOG_CASTER", "Unknown attribute 13@Attr4", "" };
690 case SPELL_ATTR4_REACTIVE_DAMAGE_PROC: return { "SPELL_ATTR4_REACTIVE_DAMAGE_PROC", "Damage does not break auras", "" };
691 case SPELL_ATTR4_NOT_IN_SPELLBOOK: return { "SPELL_ATTR4_NOT_IN_SPELLBOOK", "Unknown attribute 15@Attr4", "" };
692 case SPELL_ATTR4_NOT_IN_ARENA_OR_RATED_BATTLEGROUND: return { "SPELL_ATTR4_NOT_IN_ARENA_OR_RATED_BATTLEGROUND", "Not usable in arena", "Makes spell unusable despite CD <= 10min" };
693 case SPELL_ATTR4_IGNORE_DEFAULT_ARENA_RESTRICTIONS: return { "SPELL_ATTR4_IGNORE_DEFAULT_ARENA_RESTRICTIONS", "Usable in arena", "Makes spell usable despite CD > 10min" };
694 case SPELL_ATTR4_BOUNCY_CHAIN_MISSILES: return { "SPELL_ATTR4_BOUNCY_CHAIN_MISSILES", "Chain area targets", "[NYI] Hits area targets over time instead of all at once" };
695 case SPELL_ATTR4_ALLOW_PROC_WHILE_SITTING: return { "SPELL_ATTR4_ALLOW_PROC_WHILE_SITTING", "Unknown attribute 19@Attr4", "proc dalayed, after damage or don't proc on absorb?" };
696 case SPELL_ATTR4_AURA_NEVER_BOUNCES: return { "SPELL_ATTR4_AURA_NEVER_BOUNCES", "Allow self-cast to override stronger aura (client only)", "" };
697 case SPELL_ATTR4_ALLOW_ENETRING_ARENA: return { "SPELL_ATTR4_ALLOW_ENETRING_ARENA", "Keep when entering arena", "" };
698 case SPELL_ATTR4_PROC_SUPPRESS_SWING_ANIM: return { "SPELL_ATTR4_PROC_SUPPRESS_SWING_ANIM", "Unknown attribute 22@Attr4", "Seal of Command (42058,57770) and Gymer's Smash 55426" };
699 case SPELL_ATTR4_SUPRESS_WEAPON_PROCS: return { "SPELL_ATTR4_SUPRESS_WEAPON_PROCS", "Cannot trigger item spells", "" };
700 case SPELL_ATTR4_AUTO_RANGED_COMBAT: return { "SPELL_ATTR4_AUTO_RANGED_COMBAT", "Unknown attribute 24@Attr4", "Shoot-type spell?" };
701 case SPELL_ATTR4_OWNER_POWER_SCALING: return { "SPELL_ATTR4_OWNER_POWER_SCALING", "Pet Scaling aura", "" };
702 case SPELL_ATTR4_ONLY_FLYING_AREAS: return { "SPELL_ATTR4_ONLY_FLYING_AREAS", "Only in Outland/Northrend", "" };
703 case SPELL_ATTR4_FORCE_DISPLAY_CASTBAR: return { "SPELL_ATTR4_FORCE_DISPLAY_CASTBAR", "Inherit critical chance from triggering aura", "" };
704 case SPELL_ATTR4_IGNORE_COMBAT_TIMERS: return { "SPELL_ATTR4_IGNORE_COMBAT_TIMERS", "Unknown attribute 28@Attr4", "Aimed Shot" };
705 case SPELL_ATTR4_AURA_BOUNCE_FAILS_SPELL: return { "SPELL_ATTR4_AURA_BOUNCE_FAILS_SPELL", "Unknown attribute 29@Attr4", "" };
706 case SPELL_ATTR4_OBSOLETE: return { "SPELL_ATTR4_OBSOLETE", "Unknown attribute 30@Attr4", "" };
707 case SPELL_ATTR4_USE_FACING_FROM_SPELL: return { "SPELL_ATTR4_USE_FACING_FROM_SPELL", "Unknown attribute 31@Attr4", "Polymorph (chicken) 228 and Sonic Boom (38052,38488)" };
708 default: throw std::out_of_range("value");
709 }
710}

References SPELL_ATTR4_ALLOW_CAST_WHILE_CASTING, SPELL_ATTR4_ALLOW_CLIENT_TARGETING, SPELL_ATTR4_ALLOW_ENETRING_ARENA, SPELL_ATTR4_ALLOW_PROC_WHILE_SITTING, SPELL_ATTR4_AURA_BOUNCE_FAILS_SPELL, SPELL_ATTR4_AURA_EXPIRES_OFFLINE, SPELL_ATTR4_AURA_IS_BUFF, SPELL_ATTR4_AURA_NEVER_BOUNCES, SPELL_ATTR4_AUTO_RANGED_COMBAT, SPELL_ATTR4_BOUNCY_CHAIN_MISSILES, SPELL_ATTR4_CANNOT_BE_STOLEN, SPELL_ATTR4_CLASS_TRIGGER_ONLY_ON_TARGET, SPELL_ATTR4_COMBAT_FEEDBACK_WHEN_USABLE, SPELL_ATTR4_DO_NOT_LOG_CASTER, SPELL_ATTR4_FORCE_DISPLAY_CASTBAR, SPELL_ATTR4_IGNORE_COMBAT_TIMERS, SPELL_ATTR4_IGNORE_DAMAGE_TAKEN_MODIFIERS, SPELL_ATTR4_IGNORE_DEFAULT_ARENA_RESTRICTIONS, SPELL_ATTR4_NO_CAST_LOG, SPELL_ATTR4_NO_HARMFUL_THREAT, SPELL_ATTR4_NO_HELPFUL_THREAT, SPELL_ATTR4_NO_PARTIAL_IMMUNITY, SPELL_ATTR4_NOT_IN_ARENA_OR_RATED_BATTLEGROUND, SPELL_ATTR4_NOT_IN_SPELLBOOK, SPELL_ATTR4_OBSOLETE, SPELL_ATTR4_ONLY_FLYING_AREAS, SPELL_ATTR4_OWNER_POWER_SCALING, SPELL_ATTR4_PROC_SUPPRESS_SWING_ANIM, SPELL_ATTR4_REACTIVE_DAMAGE_PROC, SPELL_ATTR4_SUPRESS_WEAPON_PROCS, SPELL_ATTR4_USE_FACING_FROM_SPELL, and SPELL_ATTR4_WEAPON_SPEED_COST_SCALING.

◆ ToString() [27/32]

802{
803 switch (value)
804 {
805 case SPELL_ATTR5_ALLOW_ACTION_DURING_CHANNEL: return { "SPELL_ATTR5_ALLOW_ACTION_DURING_CHANNEL", "Can be channeled while moving/casting", "" };
806 case SPELL_ATTR5_NO_REAGENT_COST_WITH_AURA: return { "SPELL_ATTR5_NO_REAGENT_COST_WITH_AURA", "No reagents during arena preparation", "" };
807 case SPELL_ATTR5_REMOVE_ENTERING_ARENA: return { "SPELL_ATTR5_REMOVE_ENTERING_ARENA", "Remove when entering arena", "Force this aura to be removed on entering arena, regardless of other properties" };
808 case SPELL_ATTR5_ALLOW_WHILE_STUNNED: return { "SPELL_ATTR5_ALLOW_WHILE_STUNNED", "Usable while stunned", "" };
809 case SPELL_ATTR5_TRIGGERS_CHANNELING: return { "SPELL_ATTR5_TRIGGERS_CHANNELING", "Unknown attribute 4@Attr5", "" };
810 case SPELL_ATTR5_LIMIT_N: return { "SPELL_ATTR5_LIMIT_N", "Single-target aura", "Remove previous application to another unit if applied" };
811 case SPELL_ATTR5_IGNORE_AREA_EFFECT_PVP_CHECK: return { "SPELL_ATTR5_IGNORE_AREA_EFFECT_PVP_CHECK", "Unknown attribute 6@Attr5", "" };
812 case SPELL_ATTR5_NOT_ON_PLAYER: return { "SPELL_ATTR5_NOT_ON_PLAYER", "Unknown attribute 7@Attr5", "" };
813 case SPELL_ATTR5_NOT_ON_PLAYER_CONTROLLED_NPC: return { "SPELL_ATTR5_NOT_ON_PLAYER_CONTROLLED_NPC", "Cannot target player controlled units but can target players", "" };
814 case SPELL_ATTR5_EXTRA_INITIAL_PERIOD: return { "SPELL_ATTR5_EXTRA_INITIAL_PERIOD", "Immediately do periodic tick on apply", "" };
815 case SPELL_ATTR5_DO_NOT_DISPLAY_DURATION: return { "SPELL_ATTR5_DO_NOT_DISPLAY_DURATION", "Do not send aura duration to client", "" };
816 case SPELL_ATTR5_IMPLIED_TARGETING: return { "SPELL_ATTR5_IMPLIED_TARGETING", "Auto-target target of target (client only)", "" };
817 case SPELL_ATTR5_MELEE_CHAIN_TARGETING: return { "SPELL_ATTR5_MELEE_CHAIN_TARGETING", "Unknown attribute 12@Attr5", "Cleave related?" };
818 case SPELL_ATTR5_SPELL_HASTE_AFFECTS_PERIODIC: return { "SPELL_ATTR5_SPELL_HASTE_AFFECTS_PERIODIC", "Duration scales with Haste Rating", "" };
819 case SPELL_ATTR5_NOT_AVALIABLE_WHILE_CHARMED: return { "SPELL_ATTR5_NOT_AVALIABLE_WHILE_CHARMED", "Charmed units cannot cast this spell", "" };
820 case SPELL_ATTR5_TREAT_AS_AREA_EFFECT: return { "SPELL_ATTR5_TREAT_AS_AREA_EFFECT", "Unknown attribute 15@Attr5", "Related to multi-target spells?" };
821 case SPELL_ATTR5_AURA_AFFECTS_NOT_JUST_REQ_EQUIPPED_ITEM: return { "SPELL_ATTR5_AURA_AFFECTS_NOT_JUST_REQ_EQUIPPED_ITEM", "DESCRIPTION this allows spells with EquippedItemClass to affect spells from other items if the required item is equipped", "" };
822 case SPELL_ATTR5_ALLOW_WHILE_FLEEING: return { "SPELL_ATTR5_ALLOW_WHILE_FLEEING", "Usable while feared", "" };
823 case SPELL_ATTR5_ALLOW_WHILE_CONFUSED: return { "SPELL_ATTR5_ALLOW_WHILE_CONFUSED", "Usable while confused", "" };
824 case SPELL_ATTR5_AI_DOESNT_FACE_TARGET: return { "SPELL_ATTR5_AI_DOESNT_FACE_TARGET", "Do not auto-turn while casting", "" };
825 case SPELL_ATTR5_DO_NOT_ATTEMPT_A_PET_RESUMMON_WHEN_DISMOUNTING: return { "SPELL_ATTR5_DO_NOT_ATTEMPT_A_PET_RESUMMON_WHEN_DISMOUNTING", "Unknown attribute 20@Attr5", "" };
826 case SPELL_ATTR5_IGNORE_TARGET_REQUIREMENTS: return { "SPELL_ATTR5_IGNORE_TARGET_REQUIREMENTS", "Unknown attribute 21@Attr5", "" };
827 case SPELL_ATTR5_NOT_ON_TRIVIAL: return { "SPELL_ATTR5_NOT_ON_TRIVIAL", "Unknown attribute 22@Attr5", "" };
828 case SPELL_ATTR5_NO_PARTIAL_RESISTS: return { "SPELL_ATTR5_NO_PARTIAL_RESISTS", "Unknown attribute 23@Attr5", "" };
829 case SPELL_ATTR5_IGNORE_CASTER_REQUIREMENETS: return { "SPELL_ATTR5_IGNORE_CASTER_REQUIREMENETS", "Unknown attribute 24@Attr5", "" };
830 case SPELL_ATTR5_ALWAYS_LINE_OF_SIGHT: return { "SPELL_ATTR5_ALWAYS_LINE_OF_SIGHT", "Unknown attribute 25@Attr5", "" };
831 case SPELL_ATTR5_ALWAYS_AOE_LINE_OF_SIGHT: return { "SPELL_ATTR5_ALWAYS_AOE_LINE_OF_SIGHT", "Ignore line of sight checks", "" };
832 case SPELL_ATTR5_NO_CASTER_AURA_ICON: return { "SPELL_ATTR5_NO_CASTER_AURA_ICON", "Don't show aura if self-cast (client only)", "" };
833 case SPELL_ATTR5_NO_TARGET_AURA_ICON: return { "SPELL_ATTR5_NO_TARGET_AURA_ICON", "Don't show aura unless self-cast (client only)", "" };
834 case SPELL_ATTR5_AURA_UNIQUE_PER_CASTER: return { "SPELL_ATTR5_AURA_UNIQUE_PER_CASTER", "Unknown attribute 29@Attr5", "" };
835 case SPELL_ATTR5_ALWAYS_SHOW_GROUND_TEXTURE: return { "SPELL_ATTR5_ALWAYS_SHOW_GROUND_TEXTURE", "Unknown attribute 30@Attr5", "" };
836 case SPELL_ATTR5_ADD_MELEE_HIT_RATING: return { "SPELL_ATTR5_ADD_MELEE_HIT_RATING", "Unknown attribute 31@Attr5", "Forces nearby enemies to attack caster?" };
837 default: throw std::out_of_range("value");
838 }
839}

References SPELL_ATTR5_ADD_MELEE_HIT_RATING, SPELL_ATTR5_AI_DOESNT_FACE_TARGET, SPELL_ATTR5_ALLOW_ACTION_DURING_CHANNEL, SPELL_ATTR5_ALLOW_WHILE_CONFUSED, SPELL_ATTR5_ALLOW_WHILE_FLEEING, SPELL_ATTR5_ALLOW_WHILE_STUNNED, SPELL_ATTR5_ALWAYS_AOE_LINE_OF_SIGHT, SPELL_ATTR5_ALWAYS_LINE_OF_SIGHT, SPELL_ATTR5_ALWAYS_SHOW_GROUND_TEXTURE, SPELL_ATTR5_AURA_AFFECTS_NOT_JUST_REQ_EQUIPPED_ITEM, SPELL_ATTR5_AURA_UNIQUE_PER_CASTER, SPELL_ATTR5_DO_NOT_ATTEMPT_A_PET_RESUMMON_WHEN_DISMOUNTING, SPELL_ATTR5_DO_NOT_DISPLAY_DURATION, SPELL_ATTR5_EXTRA_INITIAL_PERIOD, SPELL_ATTR5_IGNORE_AREA_EFFECT_PVP_CHECK, SPELL_ATTR5_IGNORE_CASTER_REQUIREMENETS, SPELL_ATTR5_IGNORE_TARGET_REQUIREMENTS, SPELL_ATTR5_IMPLIED_TARGETING, SPELL_ATTR5_LIMIT_N, SPELL_ATTR5_MELEE_CHAIN_TARGETING, SPELL_ATTR5_NO_CASTER_AURA_ICON, SPELL_ATTR5_NO_PARTIAL_RESISTS, SPELL_ATTR5_NO_REAGENT_COST_WITH_AURA, SPELL_ATTR5_NO_TARGET_AURA_ICON, SPELL_ATTR5_NOT_AVALIABLE_WHILE_CHARMED, SPELL_ATTR5_NOT_ON_PLAYER, SPELL_ATTR5_NOT_ON_PLAYER_CONTROLLED_NPC, SPELL_ATTR5_NOT_ON_TRIVIAL, SPELL_ATTR5_REMOVE_ENTERING_ARENA, SPELL_ATTR5_SPELL_HASTE_AFFECTS_PERIODIC, SPELL_ATTR5_TREAT_AS_AREA_EFFECT, and SPELL_ATTR5_TRIGGERS_CHANNELING.

◆ ToString() [28/32]

931{
932 switch (value)
933 {
934 case SPELL_ATTR6_NO_COOLDOWN_ON_TOOLTIP: return { "SPELL_ATTR6_NO_COOLDOWN_ON_TOOLTIP", "Don't display cooldown (client only)", "" };
935 case SPELL_ATTR6_DO_NOT_RESET_COOLDOWN_IN_ARENA: return { "SPELL_ATTR6_DO_NOT_RESET_COOLDOWN_IN_ARENA", "Only usable in arena", "" };
936 case SPELL_ATTR6_NOT_AN_ATTACK: return { "SPELL_ATTR6_NOT_AN_ATTACK", "Ignore all preventing caster auras", "" };
937 case SPELL_ATTR6_CAN_ASSIST_IMMUNE_PC: return { "SPELL_ATTR6_CAN_ASSIST_IMMUNE_PC", "Ignore immunity flags when assisting", "" };
938 case SPELL_ATTR6_IGNORE_FOR_MOD_TIME_RATE: return { "SPELL_ATTR6_IGNORE_FOR_MOD_TIME_RATE", "Unknown attribute 4@Attr6", "" };
939 case SPELL_ATTR6_DO_NOT_CONSUME_RESOURCES: return { "SPELL_ATTR6_DO_NOT_CONSUME_RESOURCES", "Don't consume proc charges", "" };
940 case SPELL_ATTR6_FLOATING_COMBAT_TEXT_ON_CAST: return { "SPELL_ATTR6_FLOATING_COMBAT_TEXT_ON_CAST", "Generate spell_cast event instead of aura_start (client only)", "" };
941 case SPELL_ATTR6_AURA_IS_WEAPON_PROC: return { "SPELL_ATTR6_AURA_IS_WEAPON_PROC", "Unknown attribute 7@Attr6", "" };
942 case SPELL_ATTR6_DO_NOT_CHAIN_TO_CROWD_CONTROLLED_TARGETS: return { "SPELL_ATTR6_DO_NOT_CHAIN_TO_CROWD_CONTROLLED_TARGETS", "Do not implicitly target in CC", "Implicit targeting (chaining and area targeting) will not impact crowd controlled targets" };
943 case SPELL_ATTR6_ALLOW_ON_CHARMED_TARGETS: return { "SPELL_ATTR6_ALLOW_ON_CHARMED_TARGETS", "Unknown attribute 9@Attr6", "" };
944 case SPELL_ATTR6_NO_AURA_LOG: return { "SPELL_ATTR6_NO_AURA_LOG", "Can target possessed friends", "[NYI]" };
945 case SPELL_ATTR6_NOT_IN_RAID_INSTANCES: return { "SPELL_ATTR6_NOT_IN_RAID_INSTANCES", "Unusable in raid instances", "" };
946 case SPELL_ATTR6_ALLOW_WHILE_RIDING_VEHICLE: return { "SPELL_ATTR6_ALLOW_WHILE_RIDING_VEHICLE", "Castable while caster is on vehicle", "" };
947 case SPELL_ATTR6_IGNORE_PHASE_SHIFT: return { "SPELL_ATTR6_IGNORE_PHASE_SHIFT", "Can target invisible units", "" };
948 case SPELL_ATTR6_AI_PRIMARY_RANGED_ATTACK: return { "SPELL_ATTR6_AI_PRIMARY_RANGED_ATTACK", "Unknown attribute 14@Attr6", "" };
949 case SPELL_ATTR6_NO_PUSHBACK: return { "SPELL_ATTR6_NO_PUSHBACK", "Not affected by pushback", "Casts/Channels will not affected by pushback" };
950 case SPELL_ATTR6_NO_JUMP_PATHING: return { "SPELL_ATTR6_NO_JUMP_PATHING", "Unknown attribute 16@Attr6", "" };
951 case SPELL_ATTR6_ALLOW_EQUIP_WHILE_CASTING: return { "SPELL_ATTR6_ALLOW_EQUIP_WHILE_CASTING", "Unknown attribute 17@Attr6", "Mount related?" };
952 case SPELL_ATTR6_ORIGINATE_FROM_CONTROLLER: return { "SPELL_ATTR6_ORIGINATE_FROM_CONTROLLER", "Spell is cast by charmer", "Client will prevent casting if not possessed, charmer will be caster for all intents and purposes" };
953 case SPELL_ATTR6_DELAY_COMBAT_TIMER_DURING_CAST: return { "SPELL_ATTR6_DELAY_COMBAT_TIMER_DURING_CAST", "Unknown attribute 19@Attr6", "only 47488, 50782" };
954 case SPELL_ATTR6_AURA_ICON_ONLY_FOR_CASTER: return { "SPELL_ATTR6_AURA_ICON_ONLY_FOR_CASTER", "Only visible to caster (client only) (LIMIT 10)", "" };
955 case SPELL_ATTR6_SHOW_MECHANIC_AS_COMBAT_TEXT: return { "SPELL_ATTR6_SHOW_MECHANIC_AS_COMBAT_TEXT", "Client UI target effects (client only)", "" };
956 case SPELL_ATTR6_ABSORB_CANNOT_BE_IGNORED: return { "SPELL_ATTR6_ABSORB_CANNOT_BE_IGNORED", "Unknown attribute 22@Attr6", "only 72054" };
957 case SPELL_ATTR6_TAPS_IMMEDIATELY: return { "SPELL_ATTR6_TAPS_IMMEDIATELY", "Unknown attribute 23@Attr6", "" };
958 case SPELL_ATTR6_CAN_TARGET_UNTARGETABLE: return { "SPELL_ATTR6_CAN_TARGET_UNTARGETABLE", "Can target untargetable units", "" };
959 case SPELL_ATTR6_DOESNT_RESET_SWING_TIMER_IF_INSTANT: return { "SPELL_ATTR6_DOESNT_RESET_SWING_TIMER_IF_INSTANT", "Do not reset swing timer if cast time is instant", "" };
960 case SPELL_ATTR6_VEHICLE_IMMUNITY_CATEGORY: return { "SPELL_ATTR6_VEHICLE_IMMUNITY_CATEGORY", "Unknown attribute 26@Attr6", "Player castable buff?" };
961 case SPELL_ATTR6_IGNORE_HEALTH_MODIFIERS: return { "SPELL_ATTR6_IGNORE_HEALTH_MODIFIERS", "Limit applicable %healing modifiers", "This prevents certain healing modifiers from applying - see implementation if you really care about details" };
962 case SPELL_ATTR6_DO_NOT_SELECT_TARGET_WITH_INITIATES_COMBAT: return { "SPELL_ATTR6_DO_NOT_SELECT_TARGET_WITH_INITIATES_COMBAT", "Unknown attribute 28@Attr6", "Death grip?" };
963 case SPELL_ATTR6_IGNORE_CASTER_DAMAGE_MODIFIERS: return { "SPELL_ATTR6_IGNORE_CASTER_DAMAGE_MODIFIERS", "Limit applicable %damage modifiers", "This prevents certain damage modifiers from applying - see implementation if you really care about details" };
964 case SPELL_ATTR6_DISABLE_TIED_EFFECT_POINTS: return { "SPELL_ATTR6_DISABLE_TIED_EFFECT_POINTS", "Unknown attribute 30@Attr6", "" };
965 case SPELL_ATTR6_NO_CATEGORY_COOLDOWN_MODS: return { "SPELL_ATTR6_NO_CATEGORY_COOLDOWN_MODS", "Ignore cooldown modifiers for category cooldown", "" };
966 default: throw std::out_of_range("value");
967 }
968}

References SPELL_ATTR6_ABSORB_CANNOT_BE_IGNORED, SPELL_ATTR6_AI_PRIMARY_RANGED_ATTACK, SPELL_ATTR6_ALLOW_EQUIP_WHILE_CASTING, SPELL_ATTR6_ALLOW_ON_CHARMED_TARGETS, SPELL_ATTR6_ALLOW_WHILE_RIDING_VEHICLE, SPELL_ATTR6_AURA_ICON_ONLY_FOR_CASTER, SPELL_ATTR6_AURA_IS_WEAPON_PROC, SPELL_ATTR6_CAN_ASSIST_IMMUNE_PC, SPELL_ATTR6_CAN_TARGET_UNTARGETABLE, SPELL_ATTR6_DELAY_COMBAT_TIMER_DURING_CAST, SPELL_ATTR6_DISABLE_TIED_EFFECT_POINTS, SPELL_ATTR6_DO_NOT_CHAIN_TO_CROWD_CONTROLLED_TARGETS, SPELL_ATTR6_DO_NOT_CONSUME_RESOURCES, SPELL_ATTR6_DO_NOT_RESET_COOLDOWN_IN_ARENA, SPELL_ATTR6_DO_NOT_SELECT_TARGET_WITH_INITIATES_COMBAT, SPELL_ATTR6_DOESNT_RESET_SWING_TIMER_IF_INSTANT, SPELL_ATTR6_FLOATING_COMBAT_TEXT_ON_CAST, SPELL_ATTR6_IGNORE_CASTER_DAMAGE_MODIFIERS, SPELL_ATTR6_IGNORE_FOR_MOD_TIME_RATE, SPELL_ATTR6_IGNORE_HEALTH_MODIFIERS, SPELL_ATTR6_IGNORE_PHASE_SHIFT, SPELL_ATTR6_NO_AURA_LOG, SPELL_ATTR6_NO_CATEGORY_COOLDOWN_MODS, SPELL_ATTR6_NO_COOLDOWN_ON_TOOLTIP, SPELL_ATTR6_NO_JUMP_PATHING, SPELL_ATTR6_NO_PUSHBACK, SPELL_ATTR6_NOT_AN_ATTACK, SPELL_ATTR6_NOT_IN_RAID_INSTANCES, SPELL_ATTR6_ORIGINATE_FROM_CONTROLLER, SPELL_ATTR6_SHOW_MECHANIC_AS_COMBAT_TEXT, SPELL_ATTR6_TAPS_IMMEDIATELY, and SPELL_ATTR6_VEHICLE_IMMUNITY_CATEGORY.

◆ ToString() [29/32]

1060{
1061 switch (value)
1062 {
1063 case SPELL_ATTR7_ALLOW_SPELL_REFLECTION: return { "SPELL_ATTR7_ALLOW_SPELL_REFLECTION", "Unknown attribute 0@Attr7", "Shaman's new spells (Call of the ...), Feign Death." };
1064 case SPELL_ATTR7_NO_TARGET_DURATION_MOD: return { "SPELL_ATTR7_NO_TARGET_DURATION_MOD", "Ignore duration modifiers", "" };
1065 case SPELL_ATTR7_DISABLE_AURA_WHILE_DEAD: return { "SPELL_ATTR7_DISABLE_AURA_WHILE_DEAD", "Reactivate at resurrect (client only)", "" };
1066 case SPELL_ATTR7_DEBUG_SPELL: return { "SPELL_ATTR7_DEBUG_SPELL", "Is cheat spell", "Cannot cast if caster doesn't have UnitFlag2 & UNIT_FLAG2_ALLOW_CHEAT_SPELLS" };
1067 case SPELL_ATTR7_TREAT_AS_RAID_BUFF: return { "SPELL_ATTR7_TREAT_AS_RAID_BUFF", "Unknown attribute 4@Attr7", "Soulstone related?" };
1068 case SPELL_ATTR7_CAN_BE_MULTI_CAST: return { "SPELL_ATTR7_CAN_BE_MULTI_CAST", "Summons player-owned totem", "" };
1069 case SPELL_ATTR7_DONT_CAUSE_SPELL_PUSHBACK: return { "SPELL_ATTR7_DONT_CAUSE_SPELL_PUSHBACK", "Damage dealt by this does not cause spell pushback", "" };
1070 case SPELL_ATTR7_PREPARE_FOR_VEHICLE_CONTROL_END: return { "SPELL_ATTR7_PREPARE_FOR_VEHICLE_CONTROL_END", "Unknown attribute 7@Attr7", "66218 (Launch) spell." };
1071 case SPELL_ATTR7_HORDE_SPECIFIC_SPELL: return { "SPELL_ATTR7_HORDE_SPECIFIC_SPELL", "Horde only", "" };
1072 case SPELL_ATTR7_ALLIANCE_SPECIFIC_SPELL: return { "SPELL_ATTR7_ALLIANCE_SPECIFIC_SPELL", "Alliance only", "" };
1073 case SPELL_ATTR7_DISPEL_REMOVES_CHARGES: return { "SPELL_ATTR7_DISPEL_REMOVES_CHARGES", "Dispel/Spellsteal remove individual charges", "" };
1074 case SPELL_ATTR7_CAN_CAUSE_INTERRUPT: return { "SPELL_ATTR7_CAN_CAUSE_INTERRUPT", "Only interrupt non-player casting", "" };
1075 case SPELL_ATTR7_CAN_CAUSE_SILENCE: return { "SPELL_ATTR7_CAN_CAUSE_SILENCE", "Unknown attribute 12@Attr7", "Not set in 3.2.2a." };
1076 case SPELL_ATTR7_NO_UI_NOT_INTERRUPTIBLE: return { "SPELL_ATTR7_NO_UI_NOT_INTERRUPTIBLE", "Unknown attribute 13@Attr7", "Not set in 3.2.2a." };
1077 case SPELL_ATTR7_RECAST_ON_RESUMMON: return { "SPELL_ATTR7_RECAST_ON_RESUMMON", "Unknown attribute 14@Attr7", "Only 52150 (Raise Dead - Pet) spell." };
1078 case SPELL_ATTR7_RESET_SWING_TIMER_AT_SPELL_START: return { "SPELL_ATTR7_RESET_SWING_TIMER_AT_SPELL_START", "Unknown attribute 15@Attr7", "Exorcism - guaranteed crit vs families?" };
1079 case SPELL_ATTR7_ONLY_IN_SPELLBOOK_UNTIL_LEARNED: return { "SPELL_ATTR7_ONLY_IN_SPELLBOOK_UNTIL_LEARNED", "Can restore secondary power", "Only spells with this attribute can replenish a non-active power type" };
1080 case SPELL_ATTR7_DO_NOT_LOG_PVP_KILL: return { "SPELL_ATTR7_DO_NOT_LOG_PVP_KILL", "Unknown attribute 17@Attr7", "Only 27965 (Suicide) spell." };
1081 case SPELL_ATTR7_ATTACK_ON_CHARGE_TO_UNIT: return { "SPELL_ATTR7_ATTACK_ON_CHARGE_TO_UNIT", "Has charge effect", "" };
1082 case SPELL_ATTR7_REPORT_SPELL_FAILURE_TO_UNIT_TARGET: return { "SPELL_ATTR7_REPORT_SPELL_FAILURE_TO_UNIT_TARGET", "Is zone teleport", "" };
1083 case SPELL_ATTR7_NO_CLIENT_FAIL_WHILE_STUNNED_FLEEING_CONFUSED: return { "SPELL_ATTR7_NO_CLIENT_FAIL_WHILE_STUNNED_FLEEING_CONFUSED", "Unknown attribute 20@Attr7", "Invulnerability related?" };
1084 case SPELL_ATTR7_RETAIN_COOLDOWN_THROUGH_LOAD: return { "SPELL_ATTR7_RETAIN_COOLDOWN_THROUGH_LOAD", "Unknown attribute 21@Attr7", "" };
1085 case SPELL_ATTR7_IGNORES_COLD_WEATHER_FLYING_REQUIREMENT: return { "SPELL_ATTR7_IGNORES_COLD_WEATHER_FLYING_REQUIREMENT", "Ignore cold weather flying restriction", "Set for loaner mounts, allows them to be used despite lacking required flight skill" };
1086 case SPELL_ATTR7_NO_ATTACK_DODGE: return { "SPELL_ATTR7_NO_ATTACK_DODGE", "Spell cannot be dodged 23@Attr7", "Motivate, Mutilate, Shattering Throw" };
1087 case SPELL_ATTR7_NO_ATTACK_PARRY: return { "SPELL_ATTR7_NO_ATTACK_PARRY", "Spell cannot be parried 24@Attr7", "Motivate, Mutilate, Perform Speech, Shattering Throw" };
1088 case SPELL_ATTR7_NO_ATTACK_MISS: return { "SPELL_ATTR7_NO_ATTACK_MISS", "Spell cannot be missed 25@Attr7", "" };
1089 case SPELL_ATTR7_TREAT_AS_NPC_AOE: return { "SPELL_ATTR7_TREAT_AS_NPC_AOE", "Unknown attribute 26@Attr7", "" };
1090 case SPELL_ATTR7_BYPASS_NO_RESURRECTION_AURA: return { "SPELL_ATTR7_BYPASS_NO_RESURRECTION_AURA", "Bypasses the prevent resurrection aura", "" };
1091 case SPELL_ATTR7_DO_NOT_COUNT_FOR_PVP_SCOREBOARD: return { "SPELL_ATTR7_DO_NOT_COUNT_FOR_PVP_SCOREBOARD", "Consolidate in raid buff frame (client only)", "" };
1092 case SPELL_ATTR7_REFLECTION_ONLY_DEFENDS: return { "SPELL_ATTR7_REFLECTION_ONLY_DEFENDS", "Unknown attribute 29@Attr7", "only 69028, 71237" };
1093 case SPELL_ATTR7_CAN_PROC_FROM_SUPPRESSED_TARGET_PROCS: return { "SPELL_ATTR7_CAN_PROC_FROM_SUPPRESSED_TARGET_PROCS", "Unknown attribute 30@Attr7", "Burning Determination, Divine Sacrifice, Earth Shield, Prayer of Mending" };
1094 case SPELL_ATTR7_ALWAYS_CAST_LOG: return { "SPELL_ATTR7_ALWAYS_CAST_LOG", "Client indicator (client only)", "" };
1095 default: throw std::out_of_range("value");
1096 }
1097}

References SPELL_ATTR7_ALLIANCE_SPECIFIC_SPELL, SPELL_ATTR7_ALLOW_SPELL_REFLECTION, SPELL_ATTR7_ALWAYS_CAST_LOG, SPELL_ATTR7_ATTACK_ON_CHARGE_TO_UNIT, SPELL_ATTR7_BYPASS_NO_RESURRECTION_AURA, SPELL_ATTR7_CAN_BE_MULTI_CAST, SPELL_ATTR7_CAN_CAUSE_INTERRUPT, SPELL_ATTR7_CAN_CAUSE_SILENCE, SPELL_ATTR7_CAN_PROC_FROM_SUPPRESSED_TARGET_PROCS, SPELL_ATTR7_DEBUG_SPELL, SPELL_ATTR7_DISABLE_AURA_WHILE_DEAD, SPELL_ATTR7_DISPEL_REMOVES_CHARGES, SPELL_ATTR7_DO_NOT_COUNT_FOR_PVP_SCOREBOARD, SPELL_ATTR7_DO_NOT_LOG_PVP_KILL, SPELL_ATTR7_DONT_CAUSE_SPELL_PUSHBACK, SPELL_ATTR7_HORDE_SPECIFIC_SPELL, SPELL_ATTR7_IGNORES_COLD_WEATHER_FLYING_REQUIREMENT, SPELL_ATTR7_NO_ATTACK_DODGE, SPELL_ATTR7_NO_ATTACK_MISS, SPELL_ATTR7_NO_ATTACK_PARRY, SPELL_ATTR7_NO_CLIENT_FAIL_WHILE_STUNNED_FLEEING_CONFUSED, SPELL_ATTR7_NO_TARGET_DURATION_MOD, SPELL_ATTR7_NO_UI_NOT_INTERRUPTIBLE, SPELL_ATTR7_ONLY_IN_SPELLBOOK_UNTIL_LEARNED, SPELL_ATTR7_PREPARE_FOR_VEHICLE_CONTROL_END, SPELL_ATTR7_RECAST_ON_RESUMMON, SPELL_ATTR7_REFLECTION_ONLY_DEFENDS, SPELL_ATTR7_REPORT_SPELL_FAILURE_TO_UNIT_TARGET, SPELL_ATTR7_RESET_SWING_TIMER_AT_SPELL_START, SPELL_ATTR7_RETAIN_COOLDOWN_THROUGH_LOAD, SPELL_ATTR7_TREAT_AS_NPC_AOE, and SPELL_ATTR7_TREAT_AS_RAID_BUFF.

◆ ToString() [30/32]

1189{
1190 switch (value)
1191 {
1192 case SPELL_FAILED_SUCCESS: return { "SPELL_FAILED_SUCCESS", "SPELL_FAILED_SUCCESS", "" };
1193 case SPELL_FAILED_AFFECTING_COMBAT: return { "SPELL_FAILED_AFFECTING_COMBAT", "SPELL_FAILED_AFFECTING_COMBAT", "" };
1194 case SPELL_FAILED_ALREADY_AT_FULL_HEALTH: return { "SPELL_FAILED_ALREADY_AT_FULL_HEALTH", "SPELL_FAILED_ALREADY_AT_FULL_HEALTH", "" };
1195 case SPELL_FAILED_ALREADY_AT_FULL_MANA: return { "SPELL_FAILED_ALREADY_AT_FULL_MANA", "SPELL_FAILED_ALREADY_AT_FULL_MANA", "" };
1196 case SPELL_FAILED_ALREADY_AT_FULL_POWER: return { "SPELL_FAILED_ALREADY_AT_FULL_POWER", "SPELL_FAILED_ALREADY_AT_FULL_POWER", "" };
1197 case SPELL_FAILED_ALREADY_BEING_TAMED: return { "SPELL_FAILED_ALREADY_BEING_TAMED", "SPELL_FAILED_ALREADY_BEING_TAMED", "" };
1198 case SPELL_FAILED_ALREADY_HAVE_CHARM: return { "SPELL_FAILED_ALREADY_HAVE_CHARM", "SPELL_FAILED_ALREADY_HAVE_CHARM", "" };
1199 case SPELL_FAILED_ALREADY_HAVE_SUMMON: return { "SPELL_FAILED_ALREADY_HAVE_SUMMON", "SPELL_FAILED_ALREADY_HAVE_SUMMON", "" };
1200 case SPELL_FAILED_ALREADY_OPEN: return { "SPELL_FAILED_ALREADY_OPEN", "SPELL_FAILED_ALREADY_OPEN", "" };
1201 case SPELL_FAILED_AURA_BOUNCED: return { "SPELL_FAILED_AURA_BOUNCED", "SPELL_FAILED_AURA_BOUNCED", "" };
1202 case SPELL_FAILED_AUTOTRACK_INTERRUPTED: return { "SPELL_FAILED_AUTOTRACK_INTERRUPTED", "SPELL_FAILED_AUTOTRACK_INTERRUPTED", "" };
1203 case SPELL_FAILED_BAD_IMPLICIT_TARGETS: return { "SPELL_FAILED_BAD_IMPLICIT_TARGETS", "SPELL_FAILED_BAD_IMPLICIT_TARGETS", "" };
1204 case SPELL_FAILED_BAD_TARGETS: return { "SPELL_FAILED_BAD_TARGETS", "SPELL_FAILED_BAD_TARGETS", "" };
1205 case SPELL_FAILED_CANT_BE_CHARMED: return { "SPELL_FAILED_CANT_BE_CHARMED", "SPELL_FAILED_CANT_BE_CHARMED", "" };
1206 case SPELL_FAILED_CANT_BE_DISENCHANTED: return { "SPELL_FAILED_CANT_BE_DISENCHANTED", "SPELL_FAILED_CANT_BE_DISENCHANTED", "" };
1207 case SPELL_FAILED_CANT_BE_DISENCHANTED_SKILL: return { "SPELL_FAILED_CANT_BE_DISENCHANTED_SKILL", "SPELL_FAILED_CANT_BE_DISENCHANTED_SKILL", "" };
1208 case SPELL_FAILED_CANT_BE_MILLED: return { "SPELL_FAILED_CANT_BE_MILLED", "SPELL_FAILED_CANT_BE_MILLED", "" };
1209 case SPELL_FAILED_CANT_BE_PROSPECTED: return { "SPELL_FAILED_CANT_BE_PROSPECTED", "SPELL_FAILED_CANT_BE_PROSPECTED", "" };
1210 case SPELL_FAILED_CANT_CAST_ON_TAPPED: return { "SPELL_FAILED_CANT_CAST_ON_TAPPED", "SPELL_FAILED_CANT_CAST_ON_TAPPED", "" };
1211 case SPELL_FAILED_CANT_DUEL_WHILE_INVISIBLE: return { "SPELL_FAILED_CANT_DUEL_WHILE_INVISIBLE", "SPELL_FAILED_CANT_DUEL_WHILE_INVISIBLE", "" };
1212 case SPELL_FAILED_CANT_DUEL_WHILE_STEALTHED: return { "SPELL_FAILED_CANT_DUEL_WHILE_STEALTHED", "SPELL_FAILED_CANT_DUEL_WHILE_STEALTHED", "" };
1213 case SPELL_FAILED_CANT_STEALTH: return { "SPELL_FAILED_CANT_STEALTH", "SPELL_FAILED_CANT_STEALTH", "" };
1214 case SPELL_FAILED_CASTER_AURASTATE: return { "SPELL_FAILED_CASTER_AURASTATE", "SPELL_FAILED_CASTER_AURASTATE", "" };
1215 case SPELL_FAILED_CASTER_DEAD: return { "SPELL_FAILED_CASTER_DEAD", "SPELL_FAILED_CASTER_DEAD", "" };
1216 case SPELL_FAILED_CHARMED: return { "SPELL_FAILED_CHARMED", "SPELL_FAILED_CHARMED", "" };
1217 case SPELL_FAILED_CHEST_IN_USE: return { "SPELL_FAILED_CHEST_IN_USE", "SPELL_FAILED_CHEST_IN_USE", "" };
1218 case SPELL_FAILED_CONFUSED: return { "SPELL_FAILED_CONFUSED", "SPELL_FAILED_CONFUSED", "" };
1219 case SPELL_FAILED_DONT_REPORT: return { "SPELL_FAILED_DONT_REPORT", "SPELL_FAILED_DONT_REPORT", "" };
1220 case SPELL_FAILED_EQUIPPED_ITEM: return { "SPELL_FAILED_EQUIPPED_ITEM", "SPELL_FAILED_EQUIPPED_ITEM", "" };
1221 case SPELL_FAILED_EQUIPPED_ITEM_CLASS: return { "SPELL_FAILED_EQUIPPED_ITEM_CLASS", "SPELL_FAILED_EQUIPPED_ITEM_CLASS", "" };
1222 case SPELL_FAILED_EQUIPPED_ITEM_CLASS_MAINHAND: return { "SPELL_FAILED_EQUIPPED_ITEM_CLASS_MAINHAND", "SPELL_FAILED_EQUIPPED_ITEM_CLASS_MAINHAND", "" };
1223 case SPELL_FAILED_EQUIPPED_ITEM_CLASS_OFFHAND: return { "SPELL_FAILED_EQUIPPED_ITEM_CLASS_OFFHAND", "SPELL_FAILED_EQUIPPED_ITEM_CLASS_OFFHAND", "" };
1224 case SPELL_FAILED_ERROR: return { "SPELL_FAILED_ERROR", "SPELL_FAILED_ERROR", "" };
1225 case SPELL_FAILED_FIZZLE: return { "SPELL_FAILED_FIZZLE", "SPELL_FAILED_FIZZLE", "" };
1226 case SPELL_FAILED_FLEEING: return { "SPELL_FAILED_FLEEING", "SPELL_FAILED_FLEEING", "" };
1227 case SPELL_FAILED_FOOD_LOWLEVEL: return { "SPELL_FAILED_FOOD_LOWLEVEL", "SPELL_FAILED_FOOD_LOWLEVEL", "" };
1228 case SPELL_FAILED_HIGHLEVEL: return { "SPELL_FAILED_HIGHLEVEL", "SPELL_FAILED_HIGHLEVEL", "" };
1229 case SPELL_FAILED_HUNGER_SATIATED: return { "SPELL_FAILED_HUNGER_SATIATED", "SPELL_FAILED_HUNGER_SATIATED", "" };
1230 case SPELL_FAILED_IMMUNE: return { "SPELL_FAILED_IMMUNE", "SPELL_FAILED_IMMUNE", "" };
1231 case SPELL_FAILED_INCORRECT_AREA: return { "SPELL_FAILED_INCORRECT_AREA", "SPELL_FAILED_INCORRECT_AREA", "" };
1232 case SPELL_FAILED_INTERRUPTED: return { "SPELL_FAILED_INTERRUPTED", "SPELL_FAILED_INTERRUPTED", "" };
1233 case SPELL_FAILED_INTERRUPTED_COMBAT: return { "SPELL_FAILED_INTERRUPTED_COMBAT", "SPELL_FAILED_INTERRUPTED_COMBAT", "" };
1234 case SPELL_FAILED_ITEM_ALREADY_ENCHANTED: return { "SPELL_FAILED_ITEM_ALREADY_ENCHANTED", "SPELL_FAILED_ITEM_ALREADY_ENCHANTED", "" };
1235 case SPELL_FAILED_ITEM_GONE: return { "SPELL_FAILED_ITEM_GONE", "SPELL_FAILED_ITEM_GONE", "" };
1236 case SPELL_FAILED_ITEM_NOT_FOUND: return { "SPELL_FAILED_ITEM_NOT_FOUND", "SPELL_FAILED_ITEM_NOT_FOUND", "" };
1237 case SPELL_FAILED_ITEM_NOT_READY: return { "SPELL_FAILED_ITEM_NOT_READY", "SPELL_FAILED_ITEM_NOT_READY", "" };
1238 case SPELL_FAILED_LEVEL_REQUIREMENT: return { "SPELL_FAILED_LEVEL_REQUIREMENT", "SPELL_FAILED_LEVEL_REQUIREMENT", "" };
1239 case SPELL_FAILED_LINE_OF_SIGHT: return { "SPELL_FAILED_LINE_OF_SIGHT", "SPELL_FAILED_LINE_OF_SIGHT", "" };
1240 case SPELL_FAILED_LOWLEVEL: return { "SPELL_FAILED_LOWLEVEL", "SPELL_FAILED_LOWLEVEL", "" };
1241 case SPELL_FAILED_LOW_CASTLEVEL: return { "SPELL_FAILED_LOW_CASTLEVEL", "SPELL_FAILED_LOW_CASTLEVEL", "" };
1242 case SPELL_FAILED_MAINHAND_EMPTY: return { "SPELL_FAILED_MAINHAND_EMPTY", "SPELL_FAILED_MAINHAND_EMPTY", "" };
1243 case SPELL_FAILED_MOVING: return { "SPELL_FAILED_MOVING", "SPELL_FAILED_MOVING", "" };
1244 case SPELL_FAILED_NEED_AMMO: return { "SPELL_FAILED_NEED_AMMO", "SPELL_FAILED_NEED_AMMO", "" };
1245 case SPELL_FAILED_NEED_AMMO_POUCH: return { "SPELL_FAILED_NEED_AMMO_POUCH", "SPELL_FAILED_NEED_AMMO_POUCH", "" };
1246 case SPELL_FAILED_NEED_EXOTIC_AMMO: return { "SPELL_FAILED_NEED_EXOTIC_AMMO", "SPELL_FAILED_NEED_EXOTIC_AMMO", "" };
1247 case SPELL_FAILED_NEED_MORE_ITEMS: return { "SPELL_FAILED_NEED_MORE_ITEMS", "SPELL_FAILED_NEED_MORE_ITEMS", "" };
1248 case SPELL_FAILED_NOPATH: return { "SPELL_FAILED_NOPATH", "SPELL_FAILED_NOPATH", "" };
1249 case SPELL_FAILED_NOT_BEHIND: return { "SPELL_FAILED_NOT_BEHIND", "SPELL_FAILED_NOT_BEHIND", "" };
1250 case SPELL_FAILED_NOT_FISHABLE: return { "SPELL_FAILED_NOT_FISHABLE", "SPELL_FAILED_NOT_FISHABLE", "" };
1251 case SPELL_FAILED_NOT_FLYING: return { "SPELL_FAILED_NOT_FLYING", "SPELL_FAILED_NOT_FLYING", "" };
1252 case SPELL_FAILED_NOT_HERE: return { "SPELL_FAILED_NOT_HERE", "SPELL_FAILED_NOT_HERE", "" };
1253 case SPELL_FAILED_NOT_INFRONT: return { "SPELL_FAILED_NOT_INFRONT", "SPELL_FAILED_NOT_INFRONT", "" };
1254 case SPELL_FAILED_NOT_IN_CONTROL: return { "SPELL_FAILED_NOT_IN_CONTROL", "SPELL_FAILED_NOT_IN_CONTROL", "" };
1255 case SPELL_FAILED_NOT_KNOWN: return { "SPELL_FAILED_NOT_KNOWN", "SPELL_FAILED_NOT_KNOWN", "" };
1256 case SPELL_FAILED_NOT_MOUNTED: return { "SPELL_FAILED_NOT_MOUNTED", "SPELL_FAILED_NOT_MOUNTED", "" };
1257 case SPELL_FAILED_NOT_ON_TAXI: return { "SPELL_FAILED_NOT_ON_TAXI", "SPELL_FAILED_NOT_ON_TAXI", "" };
1258 case SPELL_FAILED_NOT_ON_TRANSPORT: return { "SPELL_FAILED_NOT_ON_TRANSPORT", "SPELL_FAILED_NOT_ON_TRANSPORT", "" };
1259 case SPELL_FAILED_NOT_READY: return { "SPELL_FAILED_NOT_READY", "SPELL_FAILED_NOT_READY", "" };
1260 case SPELL_FAILED_NOT_SHAPESHIFT: return { "SPELL_FAILED_NOT_SHAPESHIFT", "SPELL_FAILED_NOT_SHAPESHIFT", "" };
1261 case SPELL_FAILED_NOT_STANDING: return { "SPELL_FAILED_NOT_STANDING", "SPELL_FAILED_NOT_STANDING", "" };
1262 case SPELL_FAILED_NOT_TRADEABLE: return { "SPELL_FAILED_NOT_TRADEABLE", "SPELL_FAILED_NOT_TRADEABLE", "" };
1263 case SPELL_FAILED_NOT_TRADING: return { "SPELL_FAILED_NOT_TRADING", "SPELL_FAILED_NOT_TRADING", "" };
1264 case SPELL_FAILED_NOT_UNSHEATHED: return { "SPELL_FAILED_NOT_UNSHEATHED", "SPELL_FAILED_NOT_UNSHEATHED", "" };
1265 case SPELL_FAILED_NOT_WHILE_GHOST: return { "SPELL_FAILED_NOT_WHILE_GHOST", "SPELL_FAILED_NOT_WHILE_GHOST", "" };
1266 case SPELL_FAILED_NOT_WHILE_LOOTING: return { "SPELL_FAILED_NOT_WHILE_LOOTING", "SPELL_FAILED_NOT_WHILE_LOOTING", "" };
1267 case SPELL_FAILED_NO_AMMO: return { "SPELL_FAILED_NO_AMMO", "SPELL_FAILED_NO_AMMO", "" };
1268 case SPELL_FAILED_NO_CHARGES_REMAIN: return { "SPELL_FAILED_NO_CHARGES_REMAIN", "SPELL_FAILED_NO_CHARGES_REMAIN", "" };
1269 case SPELL_FAILED_NO_CHAMPION: return { "SPELL_FAILED_NO_CHAMPION", "SPELL_FAILED_NO_CHAMPION", "" };
1270 case SPELL_FAILED_NO_COMBO_POINTS: return { "SPELL_FAILED_NO_COMBO_POINTS", "SPELL_FAILED_NO_COMBO_POINTS", "" };
1271 case SPELL_FAILED_NO_DUELING: return { "SPELL_FAILED_NO_DUELING", "SPELL_FAILED_NO_DUELING", "" };
1272 case SPELL_FAILED_NO_ENDURANCE: return { "SPELL_FAILED_NO_ENDURANCE", "SPELL_FAILED_NO_ENDURANCE", "" };
1273 case SPELL_FAILED_NO_FISH: return { "SPELL_FAILED_NO_FISH", "SPELL_FAILED_NO_FISH", "" };
1274 case SPELL_FAILED_NO_ITEMS_WHILE_SHAPESHIFTED: return { "SPELL_FAILED_NO_ITEMS_WHILE_SHAPESHIFTED", "SPELL_FAILED_NO_ITEMS_WHILE_SHAPESHIFTED", "" };
1275 case SPELL_FAILED_NO_MOUNTS_ALLOWED: return { "SPELL_FAILED_NO_MOUNTS_ALLOWED", "SPELL_FAILED_NO_MOUNTS_ALLOWED", "" };
1276 case SPELL_FAILED_NO_PET: return { "SPELL_FAILED_NO_PET", "SPELL_FAILED_NO_PET", "" };
1277 case SPELL_FAILED_NO_POWER: return { "SPELL_FAILED_NO_POWER", "SPELL_FAILED_NO_POWER", "" };
1278 case SPELL_FAILED_NOTHING_TO_DISPEL: return { "SPELL_FAILED_NOTHING_TO_DISPEL", "SPELL_FAILED_NOTHING_TO_DISPEL", "" };
1279 case SPELL_FAILED_NOTHING_TO_STEAL: return { "SPELL_FAILED_NOTHING_TO_STEAL", "SPELL_FAILED_NOTHING_TO_STEAL", "" };
1280 case SPELL_FAILED_ONLY_ABOVEWATER: return { "SPELL_FAILED_ONLY_ABOVEWATER", "SPELL_FAILED_ONLY_ABOVEWATER", "" };
1281 case SPELL_FAILED_ONLY_DAYTIME: return { "SPELL_FAILED_ONLY_DAYTIME", "SPELL_FAILED_ONLY_DAYTIME", "" };
1282 case SPELL_FAILED_ONLY_INDOORS: return { "SPELL_FAILED_ONLY_INDOORS", "SPELL_FAILED_ONLY_INDOORS", "" };
1283 case SPELL_FAILED_ONLY_MOUNTED: return { "SPELL_FAILED_ONLY_MOUNTED", "SPELL_FAILED_ONLY_MOUNTED", "" };
1284 case SPELL_FAILED_ONLY_NIGHTTIME: return { "SPELL_FAILED_ONLY_NIGHTTIME", "SPELL_FAILED_ONLY_NIGHTTIME", "" };
1285 case SPELL_FAILED_ONLY_OUTDOORS: return { "SPELL_FAILED_ONLY_OUTDOORS", "SPELL_FAILED_ONLY_OUTDOORS", "" };
1286 case SPELL_FAILED_ONLY_SHAPESHIFT: return { "SPELL_FAILED_ONLY_SHAPESHIFT", "SPELL_FAILED_ONLY_SHAPESHIFT", "" };
1287 case SPELL_FAILED_ONLY_STEALTHED: return { "SPELL_FAILED_ONLY_STEALTHED", "SPELL_FAILED_ONLY_STEALTHED", "" };
1288 case SPELL_FAILED_ONLY_UNDERWATER: return { "SPELL_FAILED_ONLY_UNDERWATER", "SPELL_FAILED_ONLY_UNDERWATER", "" };
1289 case SPELL_FAILED_OUT_OF_RANGE: return { "SPELL_FAILED_OUT_OF_RANGE", "SPELL_FAILED_OUT_OF_RANGE", "" };
1290 case SPELL_FAILED_PACIFIED: return { "SPELL_FAILED_PACIFIED", "SPELL_FAILED_PACIFIED", "" };
1291 case SPELL_FAILED_POSSESSED: return { "SPELL_FAILED_POSSESSED", "SPELL_FAILED_POSSESSED", "" };
1292 case SPELL_FAILED_REAGENTS: return { "SPELL_FAILED_REAGENTS", "SPELL_FAILED_REAGENTS", "" };
1293 case SPELL_FAILED_REQUIRES_AREA: return { "SPELL_FAILED_REQUIRES_AREA", "SPELL_FAILED_REQUIRES_AREA", "" };
1294 case SPELL_FAILED_REQUIRES_SPELL_FOCUS: return { "SPELL_FAILED_REQUIRES_SPELL_FOCUS", "SPELL_FAILED_REQUIRES_SPELL_FOCUS", "" };
1295 case SPELL_FAILED_ROOTED: return { "SPELL_FAILED_ROOTED", "SPELL_FAILED_ROOTED", "" };
1296 case SPELL_FAILED_SILENCED: return { "SPELL_FAILED_SILENCED", "SPELL_FAILED_SILENCED", "" };
1297 case SPELL_FAILED_SPELL_IN_PROGRESS: return { "SPELL_FAILED_SPELL_IN_PROGRESS", "SPELL_FAILED_SPELL_IN_PROGRESS", "" };
1298 case SPELL_FAILED_SPELL_LEARNED: return { "SPELL_FAILED_SPELL_LEARNED", "SPELL_FAILED_SPELL_LEARNED", "" };
1299 case SPELL_FAILED_SPELL_UNAVAILABLE: return { "SPELL_FAILED_SPELL_UNAVAILABLE", "SPELL_FAILED_SPELL_UNAVAILABLE", "" };
1300 case SPELL_FAILED_STUNNED: return { "SPELL_FAILED_STUNNED", "SPELL_FAILED_STUNNED", "" };
1301 case SPELL_FAILED_TARGETS_DEAD: return { "SPELL_FAILED_TARGETS_DEAD", "SPELL_FAILED_TARGETS_DEAD", "" };
1302 case SPELL_FAILED_TARGET_AFFECTING_COMBAT: return { "SPELL_FAILED_TARGET_AFFECTING_COMBAT", "SPELL_FAILED_TARGET_AFFECTING_COMBAT", "" };
1303 case SPELL_FAILED_TARGET_AURASTATE: return { "SPELL_FAILED_TARGET_AURASTATE", "SPELL_FAILED_TARGET_AURASTATE", "" };
1304 case SPELL_FAILED_TARGET_DUELING: return { "SPELL_FAILED_TARGET_DUELING", "SPELL_FAILED_TARGET_DUELING", "" };
1305 case SPELL_FAILED_TARGET_ENEMY: return { "SPELL_FAILED_TARGET_ENEMY", "SPELL_FAILED_TARGET_ENEMY", "" };
1306 case SPELL_FAILED_TARGET_ENRAGED: return { "SPELL_FAILED_TARGET_ENRAGED", "SPELL_FAILED_TARGET_ENRAGED", "" };
1307 case SPELL_FAILED_TARGET_FRIENDLY: return { "SPELL_FAILED_TARGET_FRIENDLY", "SPELL_FAILED_TARGET_FRIENDLY", "" };
1308 case SPELL_FAILED_TARGET_IN_COMBAT: return { "SPELL_FAILED_TARGET_IN_COMBAT", "SPELL_FAILED_TARGET_IN_COMBAT", "" };
1309 case SPELL_FAILED_TARGET_IS_PLAYER: return { "SPELL_FAILED_TARGET_IS_PLAYER", "SPELL_FAILED_TARGET_IS_PLAYER", "" };
1310 case SPELL_FAILED_TARGET_IS_PLAYER_CONTROLLED: return { "SPELL_FAILED_TARGET_IS_PLAYER_CONTROLLED", "SPELL_FAILED_TARGET_IS_PLAYER_CONTROLLED", "" };
1311 case SPELL_FAILED_TARGET_NOT_DEAD: return { "SPELL_FAILED_TARGET_NOT_DEAD", "SPELL_FAILED_TARGET_NOT_DEAD", "" };
1312 case SPELL_FAILED_TARGET_NOT_IN_PARTY: return { "SPELL_FAILED_TARGET_NOT_IN_PARTY", "SPELL_FAILED_TARGET_NOT_IN_PARTY", "" };
1313 case SPELL_FAILED_TARGET_NOT_LOOTED: return { "SPELL_FAILED_TARGET_NOT_LOOTED", "SPELL_FAILED_TARGET_NOT_LOOTED", "" };
1314 case SPELL_FAILED_TARGET_NOT_PLAYER: return { "SPELL_FAILED_TARGET_NOT_PLAYER", "SPELL_FAILED_TARGET_NOT_PLAYER", "" };
1315 case SPELL_FAILED_TARGET_NO_POCKETS: return { "SPELL_FAILED_TARGET_NO_POCKETS", "SPELL_FAILED_TARGET_NO_POCKETS", "" };
1316 case SPELL_FAILED_TARGET_NO_WEAPONS: return { "SPELL_FAILED_TARGET_NO_WEAPONS", "SPELL_FAILED_TARGET_NO_WEAPONS", "" };
1317 case SPELL_FAILED_TARGET_NO_RANGED_WEAPONS: return { "SPELL_FAILED_TARGET_NO_RANGED_WEAPONS", "SPELL_FAILED_TARGET_NO_RANGED_WEAPONS", "" };
1318 case SPELL_FAILED_TARGET_UNSKINNABLE: return { "SPELL_FAILED_TARGET_UNSKINNABLE", "SPELL_FAILED_TARGET_UNSKINNABLE", "" };
1319 case SPELL_FAILED_THIRST_SATIATED: return { "SPELL_FAILED_THIRST_SATIATED", "SPELL_FAILED_THIRST_SATIATED", "" };
1320 case SPELL_FAILED_TOO_CLOSE: return { "SPELL_FAILED_TOO_CLOSE", "SPELL_FAILED_TOO_CLOSE", "" };
1321 case SPELL_FAILED_TOO_MANY_OF_ITEM: return { "SPELL_FAILED_TOO_MANY_OF_ITEM", "SPELL_FAILED_TOO_MANY_OF_ITEM", "" };
1322 case SPELL_FAILED_TOTEM_CATEGORY: return { "SPELL_FAILED_TOTEM_CATEGORY", "SPELL_FAILED_TOTEM_CATEGORY", "" };
1323 case SPELL_FAILED_TOTEMS: return { "SPELL_FAILED_TOTEMS", "SPELL_FAILED_TOTEMS", "" };
1324 case SPELL_FAILED_TRY_AGAIN: return { "SPELL_FAILED_TRY_AGAIN", "SPELL_FAILED_TRY_AGAIN", "" };
1325 case SPELL_FAILED_UNIT_NOT_BEHIND: return { "SPELL_FAILED_UNIT_NOT_BEHIND", "SPELL_FAILED_UNIT_NOT_BEHIND", "" };
1326 case SPELL_FAILED_UNIT_NOT_INFRONT: return { "SPELL_FAILED_UNIT_NOT_INFRONT", "SPELL_FAILED_UNIT_NOT_INFRONT", "" };
1327 case SPELL_FAILED_WRONG_PET_FOOD: return { "SPELL_FAILED_WRONG_PET_FOOD", "SPELL_FAILED_WRONG_PET_FOOD", "" };
1328 case SPELL_FAILED_NOT_WHILE_FATIGUED: return { "SPELL_FAILED_NOT_WHILE_FATIGUED", "SPELL_FAILED_NOT_WHILE_FATIGUED", "" };
1329 case SPELL_FAILED_TARGET_NOT_IN_INSTANCE: return { "SPELL_FAILED_TARGET_NOT_IN_INSTANCE", "SPELL_FAILED_TARGET_NOT_IN_INSTANCE", "" };
1330 case SPELL_FAILED_NOT_WHILE_TRADING: return { "SPELL_FAILED_NOT_WHILE_TRADING", "SPELL_FAILED_NOT_WHILE_TRADING", "" };
1331 case SPELL_FAILED_TARGET_NOT_IN_RAID: return { "SPELL_FAILED_TARGET_NOT_IN_RAID", "SPELL_FAILED_TARGET_NOT_IN_RAID", "" };
1332 case SPELL_FAILED_TARGET_FREEFORALL: return { "SPELL_FAILED_TARGET_FREEFORALL", "SPELL_FAILED_TARGET_FREEFORALL", "" };
1333 case SPELL_FAILED_NO_EDIBLE_CORPSES: return { "SPELL_FAILED_NO_EDIBLE_CORPSES", "SPELL_FAILED_NO_EDIBLE_CORPSES", "" };
1334 case SPELL_FAILED_ONLY_BATTLEGROUNDS: return { "SPELL_FAILED_ONLY_BATTLEGROUNDS", "SPELL_FAILED_ONLY_BATTLEGROUNDS", "" };
1335 case SPELL_FAILED_TARGET_NOT_GHOST: return { "SPELL_FAILED_TARGET_NOT_GHOST", "SPELL_FAILED_TARGET_NOT_GHOST", "" };
1336 case SPELL_FAILED_TRANSFORM_UNUSABLE: return { "SPELL_FAILED_TRANSFORM_UNUSABLE", "SPELL_FAILED_TRANSFORM_UNUSABLE", "" };
1337 case SPELL_FAILED_WRONG_WEATHER: return { "SPELL_FAILED_WRONG_WEATHER", "SPELL_FAILED_WRONG_WEATHER", "" };
1338 case SPELL_FAILED_DAMAGE_IMMUNE: return { "SPELL_FAILED_DAMAGE_IMMUNE", "SPELL_FAILED_DAMAGE_IMMUNE", "" };
1339 case SPELL_FAILED_PREVENTED_BY_MECHANIC: return { "SPELL_FAILED_PREVENTED_BY_MECHANIC", "SPELL_FAILED_PREVENTED_BY_MECHANIC", "" };
1340 case SPELL_FAILED_PLAY_TIME: return { "SPELL_FAILED_PLAY_TIME", "SPELL_FAILED_PLAY_TIME", "" };
1341 case SPELL_FAILED_REPUTATION: return { "SPELL_FAILED_REPUTATION", "SPELL_FAILED_REPUTATION", "" };
1342 case SPELL_FAILED_MIN_SKILL: return { "SPELL_FAILED_MIN_SKILL", "SPELL_FAILED_MIN_SKILL", "" };
1343 case SPELL_FAILED_NOT_IN_ARENA: return { "SPELL_FAILED_NOT_IN_ARENA", "SPELL_FAILED_NOT_IN_ARENA", "" };
1344 case SPELL_FAILED_NOT_ON_SHAPESHIFT: return { "SPELL_FAILED_NOT_ON_SHAPESHIFT", "SPELL_FAILED_NOT_ON_SHAPESHIFT", "" };
1345 case SPELL_FAILED_NOT_ON_STEALTHED: return { "SPELL_FAILED_NOT_ON_STEALTHED", "SPELL_FAILED_NOT_ON_STEALTHED", "" };
1346 case SPELL_FAILED_NOT_ON_DAMAGE_IMMUNE: return { "SPELL_FAILED_NOT_ON_DAMAGE_IMMUNE", "SPELL_FAILED_NOT_ON_DAMAGE_IMMUNE", "" };
1347 case SPELL_FAILED_NOT_ON_MOUNTED: return { "SPELL_FAILED_NOT_ON_MOUNTED", "SPELL_FAILED_NOT_ON_MOUNTED", "" };
1348 case SPELL_FAILED_TOO_SHALLOW: return { "SPELL_FAILED_TOO_SHALLOW", "SPELL_FAILED_TOO_SHALLOW", "" };
1349 case SPELL_FAILED_TARGET_NOT_IN_SANCTUARY: return { "SPELL_FAILED_TARGET_NOT_IN_SANCTUARY", "SPELL_FAILED_TARGET_NOT_IN_SANCTUARY", "" };
1350 case SPELL_FAILED_TARGET_IS_TRIVIAL: return { "SPELL_FAILED_TARGET_IS_TRIVIAL", "SPELL_FAILED_TARGET_IS_TRIVIAL", "" };
1351 case SPELL_FAILED_BM_OR_INVISGOD: return { "SPELL_FAILED_BM_OR_INVISGOD", "SPELL_FAILED_BM_OR_INVISGOD", "" };
1352 case SPELL_FAILED_EXPERT_RIDING_REQUIREMENT: return { "SPELL_FAILED_EXPERT_RIDING_REQUIREMENT", "SPELL_FAILED_EXPERT_RIDING_REQUIREMENT", "" };
1353 case SPELL_FAILED_ARTISAN_RIDING_REQUIREMENT: return { "SPELL_FAILED_ARTISAN_RIDING_REQUIREMENT", "SPELL_FAILED_ARTISAN_RIDING_REQUIREMENT", "" };
1354 case SPELL_FAILED_NOT_IDLE: return { "SPELL_FAILED_NOT_IDLE", "SPELL_FAILED_NOT_IDLE", "" };
1355 case SPELL_FAILED_NOT_INACTIVE: return { "SPELL_FAILED_NOT_INACTIVE", "SPELL_FAILED_NOT_INACTIVE", "" };
1356 case SPELL_FAILED_PARTIAL_PLAYTIME: return { "SPELL_FAILED_PARTIAL_PLAYTIME", "SPELL_FAILED_PARTIAL_PLAYTIME", "" };
1357 case SPELL_FAILED_NO_PLAYTIME: return { "SPELL_FAILED_NO_PLAYTIME", "SPELL_FAILED_NO_PLAYTIME", "" };
1358 case SPELL_FAILED_NOT_IN_BATTLEGROUND: return { "SPELL_FAILED_NOT_IN_BATTLEGROUND", "SPELL_FAILED_NOT_IN_BATTLEGROUND", "" };
1359 case SPELL_FAILED_NOT_IN_RAID_INSTANCE: return { "SPELL_FAILED_NOT_IN_RAID_INSTANCE", "SPELL_FAILED_NOT_IN_RAID_INSTANCE", "" };
1360 case SPELL_FAILED_ONLY_IN_ARENA: return { "SPELL_FAILED_ONLY_IN_ARENA", "SPELL_FAILED_ONLY_IN_ARENA", "" };
1361 case SPELL_FAILED_TARGET_LOCKED_TO_RAID_INSTANCE: return { "SPELL_FAILED_TARGET_LOCKED_TO_RAID_INSTANCE", "SPELL_FAILED_TARGET_LOCKED_TO_RAID_INSTANCE", "" };
1362 case SPELL_FAILED_ON_USE_ENCHANT: return { "SPELL_FAILED_ON_USE_ENCHANT", "SPELL_FAILED_ON_USE_ENCHANT", "" };
1363 case SPELL_FAILED_NOT_ON_GROUND: return { "SPELL_FAILED_NOT_ON_GROUND", "SPELL_FAILED_NOT_ON_GROUND", "" };
1364 case SPELL_FAILED_CUSTOM_ERROR: return { "SPELL_FAILED_CUSTOM_ERROR", "SPELL_FAILED_CUSTOM_ERROR", "" };
1365 case SPELL_FAILED_CANT_DO_THAT_RIGHT_NOW: return { "SPELL_FAILED_CANT_DO_THAT_RIGHT_NOW", "SPELL_FAILED_CANT_DO_THAT_RIGHT_NOW", "" };
1366 case SPELL_FAILED_TOO_MANY_SOCKETS: return { "SPELL_FAILED_TOO_MANY_SOCKETS", "SPELL_FAILED_TOO_MANY_SOCKETS", "" };
1367 case SPELL_FAILED_INVALID_GLYPH: return { "SPELL_FAILED_INVALID_GLYPH", "SPELL_FAILED_INVALID_GLYPH", "" };
1368 case SPELL_FAILED_UNIQUE_GLYPH: return { "SPELL_FAILED_UNIQUE_GLYPH", "SPELL_FAILED_UNIQUE_GLYPH", "" };
1369 case SPELL_FAILED_GLYPH_SOCKET_LOCKED: return { "SPELL_FAILED_GLYPH_SOCKET_LOCKED", "SPELL_FAILED_GLYPH_SOCKET_LOCKED", "" };
1370 case SPELL_FAILED_NO_VALID_TARGETS: return { "SPELL_FAILED_NO_VALID_TARGETS", "SPELL_FAILED_NO_VALID_TARGETS", "" };
1371 case SPELL_FAILED_ITEM_AT_MAX_CHARGES: return { "SPELL_FAILED_ITEM_AT_MAX_CHARGES", "SPELL_FAILED_ITEM_AT_MAX_CHARGES", "" };
1372 case SPELL_FAILED_NOT_IN_BARBERSHOP: return { "SPELL_FAILED_NOT_IN_BARBERSHOP", "SPELL_FAILED_NOT_IN_BARBERSHOP", "" };
1373 case SPELL_FAILED_FISHING_TOO_LOW: return { "SPELL_FAILED_FISHING_TOO_LOW", "SPELL_FAILED_FISHING_TOO_LOW", "" };
1374 case SPELL_FAILED_ITEM_ENCHANT_TRADE_WINDOW: return { "SPELL_FAILED_ITEM_ENCHANT_TRADE_WINDOW", "SPELL_FAILED_ITEM_ENCHANT_TRADE_WINDOW", "" };
1375 case SPELL_FAILED_SUMMON_PENDING: return { "SPELL_FAILED_SUMMON_PENDING", "SPELL_FAILED_SUMMON_PENDING", "" };
1376 case SPELL_FAILED_MAX_SOCKETS: return { "SPELL_FAILED_MAX_SOCKETS", "SPELL_FAILED_MAX_SOCKETS", "" };
1377 case SPELL_FAILED_PET_CAN_RENAME: return { "SPELL_FAILED_PET_CAN_RENAME", "SPELL_FAILED_PET_CAN_RENAME", "" };
1378 case SPELL_FAILED_TARGET_CANNOT_BE_RESURRECTED: return { "SPELL_FAILED_TARGET_CANNOT_BE_RESURRECTED", "SPELL_FAILED_TARGET_CANNOT_BE_RESURRECTED", "" };
1379 case SPELL_FAILED_UNKNOWN: return { "SPELL_FAILED_UNKNOWN", "SPELL_FAILED_UNKNOWN", "actually doesn't exist in client" };
1380 case SPELL_CAST_OK: return { "SPELL_CAST_OK", "SPELL_CAST_OK", "custom value, must not be sent to client" };
1381 default: throw std::out_of_range("value");
1382 }
1383}

References SPELL_CAST_OK, SPELL_FAILED_AFFECTING_COMBAT, SPELL_FAILED_ALREADY_AT_FULL_HEALTH, SPELL_FAILED_ALREADY_AT_FULL_MANA, SPELL_FAILED_ALREADY_AT_FULL_POWER, SPELL_FAILED_ALREADY_BEING_TAMED, SPELL_FAILED_ALREADY_HAVE_CHARM, SPELL_FAILED_ALREADY_HAVE_SUMMON, SPELL_FAILED_ALREADY_OPEN, SPELL_FAILED_ARTISAN_RIDING_REQUIREMENT, SPELL_FAILED_AURA_BOUNCED, SPELL_FAILED_AUTOTRACK_INTERRUPTED, SPELL_FAILED_BAD_IMPLICIT_TARGETS, SPELL_FAILED_BAD_TARGETS, SPELL_FAILED_BM_OR_INVISGOD, SPELL_FAILED_CANT_BE_CHARMED, SPELL_FAILED_CANT_BE_DISENCHANTED, SPELL_FAILED_CANT_BE_DISENCHANTED_SKILL, SPELL_FAILED_CANT_BE_MILLED, SPELL_FAILED_CANT_BE_PROSPECTED, SPELL_FAILED_CANT_CAST_ON_TAPPED, SPELL_FAILED_CANT_DO_THAT_RIGHT_NOW, SPELL_FAILED_CANT_DUEL_WHILE_INVISIBLE, SPELL_FAILED_CANT_DUEL_WHILE_STEALTHED, SPELL_FAILED_CANT_STEALTH, SPELL_FAILED_CASTER_AURASTATE, SPELL_FAILED_CASTER_DEAD, SPELL_FAILED_CHARMED, SPELL_FAILED_CHEST_IN_USE, SPELL_FAILED_CONFUSED, SPELL_FAILED_CUSTOM_ERROR, SPELL_FAILED_DAMAGE_IMMUNE, SPELL_FAILED_DONT_REPORT, SPELL_FAILED_EQUIPPED_ITEM, SPELL_FAILED_EQUIPPED_ITEM_CLASS, SPELL_FAILED_EQUIPPED_ITEM_CLASS_MAINHAND, SPELL_FAILED_EQUIPPED_ITEM_CLASS_OFFHAND, SPELL_FAILED_ERROR, SPELL_FAILED_EXPERT_RIDING_REQUIREMENT, SPELL_FAILED_FISHING_TOO_LOW, SPELL_FAILED_FIZZLE, SPELL_FAILED_FLEEING, SPELL_FAILED_FOOD_LOWLEVEL, SPELL_FAILED_GLYPH_SOCKET_LOCKED, SPELL_FAILED_HIGHLEVEL, SPELL_FAILED_HUNGER_SATIATED, SPELL_FAILED_IMMUNE, SPELL_FAILED_INCORRECT_AREA, SPELL_FAILED_INTERRUPTED, SPELL_FAILED_INTERRUPTED_COMBAT, SPELL_FAILED_INVALID_GLYPH, SPELL_FAILED_ITEM_ALREADY_ENCHANTED, SPELL_FAILED_ITEM_AT_MAX_CHARGES, SPELL_FAILED_ITEM_ENCHANT_TRADE_WINDOW, SPELL_FAILED_ITEM_GONE, SPELL_FAILED_ITEM_NOT_FOUND, SPELL_FAILED_ITEM_NOT_READY, SPELL_FAILED_LEVEL_REQUIREMENT, SPELL_FAILED_LINE_OF_SIGHT, SPELL_FAILED_LOW_CASTLEVEL, SPELL_FAILED_LOWLEVEL, SPELL_FAILED_MAINHAND_EMPTY, SPELL_FAILED_MAX_SOCKETS, SPELL_FAILED_MIN_SKILL, SPELL_FAILED_MOVING, SPELL_FAILED_NEED_AMMO, SPELL_FAILED_NEED_AMMO_POUCH, SPELL_FAILED_NEED_EXOTIC_AMMO, SPELL_FAILED_NEED_MORE_ITEMS, SPELL_FAILED_NO_AMMO, SPELL_FAILED_NO_CHAMPION, SPELL_FAILED_NO_CHARGES_REMAIN, SPELL_FAILED_NO_COMBO_POINTS, SPELL_FAILED_NO_DUELING, SPELL_FAILED_NO_EDIBLE_CORPSES, SPELL_FAILED_NO_ENDURANCE, SPELL_FAILED_NO_FISH, SPELL_FAILED_NO_ITEMS_WHILE_SHAPESHIFTED, SPELL_FAILED_NO_MOUNTS_ALLOWED, SPELL_FAILED_NO_PET, SPELL_FAILED_NO_PLAYTIME, SPELL_FAILED_NO_POWER, SPELL_FAILED_NO_VALID_TARGETS, SPELL_FAILED_NOPATH, SPELL_FAILED_NOT_BEHIND, SPELL_FAILED_NOT_FISHABLE, SPELL_FAILED_NOT_FLYING, SPELL_FAILED_NOT_HERE, SPELL_FAILED_NOT_IDLE, SPELL_FAILED_NOT_IN_ARENA, SPELL_FAILED_NOT_IN_BARBERSHOP, SPELL_FAILED_NOT_IN_BATTLEGROUND, SPELL_FAILED_NOT_IN_CONTROL, SPELL_FAILED_NOT_IN_RAID_INSTANCE, SPELL_FAILED_NOT_INACTIVE, SPELL_FAILED_NOT_INFRONT, SPELL_FAILED_NOT_KNOWN, SPELL_FAILED_NOT_MOUNTED, SPELL_FAILED_NOT_ON_DAMAGE_IMMUNE, SPELL_FAILED_NOT_ON_GROUND, SPELL_FAILED_NOT_ON_MOUNTED, SPELL_FAILED_NOT_ON_SHAPESHIFT, SPELL_FAILED_NOT_ON_STEALTHED, SPELL_FAILED_NOT_ON_TAXI, SPELL_FAILED_NOT_ON_TRANSPORT, SPELL_FAILED_NOT_READY, SPELL_FAILED_NOT_SHAPESHIFT, SPELL_FAILED_NOT_STANDING, SPELL_FAILED_NOT_TRADEABLE, SPELL_FAILED_NOT_TRADING, SPELL_FAILED_NOT_UNSHEATHED, SPELL_FAILED_NOT_WHILE_FATIGUED, SPELL_FAILED_NOT_WHILE_GHOST, SPELL_FAILED_NOT_WHILE_LOOTING, SPELL_FAILED_NOT_WHILE_TRADING, SPELL_FAILED_NOTHING_TO_DISPEL, SPELL_FAILED_NOTHING_TO_STEAL, SPELL_FAILED_ON_USE_ENCHANT, SPELL_FAILED_ONLY_ABOVEWATER, SPELL_FAILED_ONLY_BATTLEGROUNDS, SPELL_FAILED_ONLY_DAYTIME, SPELL_FAILED_ONLY_IN_ARENA, SPELL_FAILED_ONLY_INDOORS, SPELL_FAILED_ONLY_MOUNTED, SPELL_FAILED_ONLY_NIGHTTIME, SPELL_FAILED_ONLY_OUTDOORS, SPELL_FAILED_ONLY_SHAPESHIFT, SPELL_FAILED_ONLY_STEALTHED, SPELL_FAILED_ONLY_UNDERWATER, SPELL_FAILED_OUT_OF_RANGE, SPELL_FAILED_PACIFIED, SPELL_FAILED_PARTIAL_PLAYTIME, SPELL_FAILED_PET_CAN_RENAME, SPELL_FAILED_PLAY_TIME, SPELL_FAILED_POSSESSED, SPELL_FAILED_PREVENTED_BY_MECHANIC, SPELL_FAILED_REAGENTS, SPELL_FAILED_REPUTATION, SPELL_FAILED_REQUIRES_AREA, SPELL_FAILED_REQUIRES_SPELL_FOCUS, SPELL_FAILED_ROOTED, SPELL_FAILED_SILENCED, SPELL_FAILED_SPELL_IN_PROGRESS, SPELL_FAILED_SPELL_LEARNED, SPELL_FAILED_SPELL_UNAVAILABLE, SPELL_FAILED_STUNNED, SPELL_FAILED_SUCCESS, SPELL_FAILED_SUMMON_PENDING, SPELL_FAILED_TARGET_AFFECTING_COMBAT, SPELL_FAILED_TARGET_AURASTATE, SPELL_FAILED_TARGET_CANNOT_BE_RESURRECTED, SPELL_FAILED_TARGET_DUELING, SPELL_FAILED_TARGET_ENEMY, SPELL_FAILED_TARGET_ENRAGED, SPELL_FAILED_TARGET_FREEFORALL, SPELL_FAILED_TARGET_FRIENDLY, SPELL_FAILED_TARGET_IN_COMBAT, SPELL_FAILED_TARGET_IS_PLAYER, SPELL_FAILED_TARGET_IS_PLAYER_CONTROLLED, SPELL_FAILED_TARGET_IS_TRIVIAL, SPELL_FAILED_TARGET_LOCKED_TO_RAID_INSTANCE, SPELL_FAILED_TARGET_NO_POCKETS, SPELL_FAILED_TARGET_NO_RANGED_WEAPONS, SPELL_FAILED_TARGET_NO_WEAPONS, SPELL_FAILED_TARGET_NOT_DEAD, SPELL_FAILED_TARGET_NOT_GHOST, SPELL_FAILED_TARGET_NOT_IN_INSTANCE, SPELL_FAILED_TARGET_NOT_IN_PARTY, SPELL_FAILED_TARGET_NOT_IN_RAID, SPELL_FAILED_TARGET_NOT_IN_SANCTUARY, SPELL_FAILED_TARGET_NOT_LOOTED, SPELL_FAILED_TARGET_NOT_PLAYER, SPELL_FAILED_TARGET_UNSKINNABLE, SPELL_FAILED_TARGETS_DEAD, SPELL_FAILED_THIRST_SATIATED, SPELL_FAILED_TOO_CLOSE, SPELL_FAILED_TOO_MANY_OF_ITEM, SPELL_FAILED_TOO_MANY_SOCKETS, SPELL_FAILED_TOO_SHALLOW, SPELL_FAILED_TOTEM_CATEGORY, SPELL_FAILED_TOTEMS, SPELL_FAILED_TRANSFORM_UNUSABLE, SPELL_FAILED_TRY_AGAIN, SPELL_FAILED_UNIQUE_GLYPH, SPELL_FAILED_UNIT_NOT_BEHIND, SPELL_FAILED_UNIT_NOT_INFRONT, SPELL_FAILED_UNKNOWN, SPELL_FAILED_WRONG_PET_FOOD, and SPELL_FAILED_WRONG_WEATHER.

◆ ToString() [31/32]

31{
32 switch (value)
33 {
34 case UNIT_FLAG_NONE: return { "UNIT_FLAG_NONE", "UNIT_FLAG_NONE", "" };
35 case UNIT_FLAG_SERVER_CONTROLLED: return { "UNIT_FLAG_SERVER_CONTROLLED", "UNIT_FLAG_SERVER_CONTROLLED", "set only when unit movement is controlled by server - by SPLINE/MONSTER_MOVE packets, together with UNIT_FLAG_STUNNED; only set to units controlled by client; client function CGUnit_C::IsClientControlled returns false when set for owner" };
36 case UNIT_FLAG_NON_ATTACKABLE: return { "UNIT_FLAG_NON_ATTACKABLE", "UNIT_FLAG_NON_ATTACKABLE", "not attackable" };
37 case UNIT_FLAG_DISABLE_MOVE: return { "UNIT_FLAG_DISABLE_MOVE", "UNIT_FLAG_DISABLE_MOVE", "" };
38 case UNIT_FLAG_PLAYER_CONTROLLED: return { "UNIT_FLAG_PLAYER_CONTROLLED", "UNIT_FLAG_PLAYER_CONTROLLED", "controlled by player, use _IMMUNE_TO_PC instead of _IMMUNE_TO_NPC" };
39 case UNIT_FLAG_RENAME: return { "UNIT_FLAG_RENAME", "UNIT_FLAG_RENAME", "" };
40 case UNIT_FLAG_PREPARATION: return { "UNIT_FLAG_PREPARATION", "UNIT_FLAG_PREPARATION", "don't take reagents for spells with SPELL_ATTR5_NO_REAGENT_COST_WITH_AURA" };
41 case UNIT_FLAG_UNK_6: return { "UNIT_FLAG_UNK_6", "UNIT_FLAG_UNK_6", "" };
42 case UNIT_FLAG_NOT_ATTACKABLE_1: return { "UNIT_FLAG_NOT_ATTACKABLE_1", "UNIT_FLAG_NOT_ATTACKABLE_1", "?? (UNIT_FLAG_PLAYER_CONTROLLED | UNIT_FLAG_NOT_ATTACKABLE_1) is NON_PVP_ATTACKABLE" };
43 case UNIT_FLAG_IMMUNE_TO_PC: return { "UNIT_FLAG_IMMUNE_TO_PC", "UNIT_FLAG_IMMUNE_TO_PC", "disables combat/assistance with PlayerCharacters (PC) - see Unit::_IsValidAttackTarget, Unit::_IsValidAssistTarget" };
44 case UNIT_FLAG_IMMUNE_TO_NPC: return { "UNIT_FLAG_IMMUNE_TO_NPC", "UNIT_FLAG_IMMUNE_TO_NPC", "disables combat/assistance with NonPlayerCharacters (NPC) - see Unit::_IsValidAttackTarget, Unit::_IsValidAssistTarget" };
45 case UNIT_FLAG_LOOTING: return { "UNIT_FLAG_LOOTING", "UNIT_FLAG_LOOTING", "loot animation" };
46 case UNIT_FLAG_PET_IN_COMBAT: return { "UNIT_FLAG_PET_IN_COMBAT", "UNIT_FLAG_PET_IN_COMBAT", "in combat?, 2.0.8" };
47 case UNIT_FLAG_PVP: return { "UNIT_FLAG_PVP", "UNIT_FLAG_PVP", "changed in 3.0.3" };
48 case UNIT_FLAG_SILENCED: return { "UNIT_FLAG_SILENCED", "UNIT_FLAG_SILENCED", "silenced, 2.1.1" };
49 case UNIT_FLAG_CANNOT_SWIM: return { "UNIT_FLAG_CANNOT_SWIM", "UNIT_FLAG_CANNOT_SWIM", "2.0.8" };
50 case UNIT_FLAG_SWIMMING: return { "UNIT_FLAG_SWIMMING", "UNIT_FLAG_SWIMMING", "shows swim animation in water" };
51 case UNIT_FLAG_NON_ATTACKABLE_2: return { "UNIT_FLAG_NON_ATTACKABLE_2", "UNIT_FLAG_NON_ATTACKABLE_2", "removes attackable icon, if on yourself, cannot assist self but can cast TARGET_SELF spells - added by SPELL_AURA_MOD_UNATTACKABLE" };
52 case UNIT_FLAG_PACIFIED: return { "UNIT_FLAG_PACIFIED", "UNIT_FLAG_PACIFIED", "3.0.3 ok" };
53 case UNIT_FLAG_STUNNED: return { "UNIT_FLAG_STUNNED", "UNIT_FLAG_STUNNED", "3.0.3 ok" };
54 case UNIT_FLAG_IN_COMBAT: return { "UNIT_FLAG_IN_COMBAT", "UNIT_FLAG_IN_COMBAT", "" };
55 case UNIT_FLAG_TAXI_FLIGHT: return { "UNIT_FLAG_TAXI_FLIGHT", "UNIT_FLAG_TAXI_FLIGHT", "disable casting at client side spell not allowed by taxi flight (mounted?), probably used with 0x4 flag" };
56 case UNIT_FLAG_DISARMED: return { "UNIT_FLAG_DISARMED", "UNIT_FLAG_DISARMED", "3.0.3, disable melee spells casting..., \042Required melee weapon\042 added to melee spells tooltip." };
57 case UNIT_FLAG_CONFUSED: return { "UNIT_FLAG_CONFUSED", "UNIT_FLAG_CONFUSED", "" };
58 case UNIT_FLAG_FLEEING: return { "UNIT_FLAG_FLEEING", "UNIT_FLAG_FLEEING", "" };
59 case UNIT_FLAG_POSSESSED: return { "UNIT_FLAG_POSSESSED", "UNIT_FLAG_POSSESSED", "under direct client control by a player (possess or vehicle)" };
60 case UNIT_FLAG_NOT_SELECTABLE: return { "UNIT_FLAG_NOT_SELECTABLE", "UNIT_FLAG_NOT_SELECTABLE", "" };
61 case UNIT_FLAG_SKINNABLE: return { "UNIT_FLAG_SKINNABLE", "UNIT_FLAG_SKINNABLE", "" };
62 case UNIT_FLAG_MOUNT: return { "UNIT_FLAG_MOUNT", "UNIT_FLAG_MOUNT", "" };
63 case UNIT_FLAG_UNK_28: return { "UNIT_FLAG_UNK_28", "UNIT_FLAG_UNK_28", "" };
64 case UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT: return { "UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT", "UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT", "Prevent automatically playing emotes from parsing chat text, for example \042lol\042 in /say, ending message with ? or !, or using /yell" };
65 case UNIT_FLAG_SHEATHE: return { "UNIT_FLAG_SHEATHE", "UNIT_FLAG_SHEATHE", "" };
66 case UNIT_FLAG_IMMUNE: return { "UNIT_FLAG_IMMUNE", "UNIT_FLAG_IMMUNE", "Immune to damage" };
67 default: throw std::out_of_range("value");
68 }
69}

References UNIT_FLAG_CANNOT_SWIM, UNIT_FLAG_CONFUSED, UNIT_FLAG_DISABLE_MOVE, UNIT_FLAG_DISARMED, UNIT_FLAG_FLEEING, UNIT_FLAG_IMMUNE, UNIT_FLAG_IMMUNE_TO_NPC, UNIT_FLAG_IMMUNE_TO_PC, UNIT_FLAG_IN_COMBAT, UNIT_FLAG_LOOTING, UNIT_FLAG_MOUNT, UNIT_FLAG_NON_ATTACKABLE, UNIT_FLAG_NON_ATTACKABLE_2, UNIT_FLAG_NONE, UNIT_FLAG_NOT_ATTACKABLE_1, UNIT_FLAG_NOT_SELECTABLE, UNIT_FLAG_PACIFIED, UNIT_FLAG_PET_IN_COMBAT, UNIT_FLAG_PLAYER_CONTROLLED, UNIT_FLAG_POSSESSED, UNIT_FLAG_PREPARATION, UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXT, UNIT_FLAG_PVP, UNIT_FLAG_RENAME, UNIT_FLAG_SERVER_CONTROLLED, UNIT_FLAG_SHEATHE, UNIT_FLAG_SILENCED, UNIT_FLAG_SKINNABLE, UNIT_FLAG_STUNNED, UNIT_FLAG_SWIMMING, UNIT_FLAG_TAXI_FLIGHT, UNIT_FLAG_UNK_28, and UNIT_FLAG_UNK_6.

◆ ToString() [32/32]

31{
32 switch (value)
33 {
34 case WARDEN_ACTION_LOG: return { "WARDEN_ACTION_LOG", "Log", "" };
35 case WARDEN_ACTION_KICK: return { "WARDEN_ACTION_KICK", "Kick", "" };
36 case WARDEN_ACTION_BAN: return { "WARDEN_ACTION_BAN", "Ban", "" };
37 default: throw std::out_of_range("value");
38 }
39}

References WARDEN_ACTION_BAN, WARDEN_ACTION_KICK, and WARDEN_ACTION_LOG.

◆ ToTitle()

template<typename Enum >
static char const * EnumUtils::ToTitle ( Enum  value)
inlinestatic
127{ return ToString(value).Title; }
char const *const Title
Definition: SmartEnum.h:30

References EnumText::Title, and ToString().

Referenced by cast_commandscript::CheckSpellCastResult(), AppenderConsole::InitColors(), and lookup_commandscript::LookupPlayerSearchCommand().