pub enum SpellCastResult {
Show 169 variants
AffectingCombat,
AlreadyAtFullHealth,
AlreadyAtFullMana,
AlreadyAtFullPower,
AlreadyBeingTamed,
AlreadyHaveCharm,
AlreadyHaveSummon,
AlreadyOpen,
AuraBounced,
AutotrackInterrupted,
BadImplicitTargets,
BadTargets,
CantBeCharmed,
CantBeDisenchanted,
CantBeDisenchantedSkill,
CantBeProspected,
CantCastOnTapped,
CantDuelWhileInvisible,
CantDuelWhileStealthed,
CantStealth,
CasterAurastate,
CasterDead,
Charmed,
ChestInUse,
Confused,
DontReport,
EquippedItem,
EquippedItemClass,
EquippedItemClassMainhand,
EquippedItemClassOffhand,
ErrorX,
Fizzle,
Fleeing,
FoodLowlevel,
Highlevel,
HungerSatiated,
Immune,
Interrupted,
InterruptedCombat,
ItemAlreadyEnchanted,
ItemGone,
ItemNotFound,
ItemNotReady,
LevelRequirement,
LineOfSight,
Lowlevel,
LowCastlevel,
MainhandEmpty,
Moving,
NeedAmmo,
NeedAmmoPouch,
NeedExoticAmmo,
Nopath,
NotBehind,
NotFishable,
NotFlying,
NotHere,
NotInfront,
NotInControl,
NotKnown,
NotMounted,
NotOnTaxi,
NotOnTransport,
NotReady,
NotShapeshift,
NotStanding,
NotTradeable,
NotTrading,
NotUnsheathed,
NotWhileGhost,
NoAmmo,
NoChargesRemain,
NoChampion,
NoComboPoints,
NoDueling,
NoEndurance,
NoFish,
NoItemsWhileShapeshifted,
NoMountsAllowed,
NoPet,
NoPower,
NothingToDispel,
NothingToSteal,
OnlyAbovewater,
OnlyDaytime,
OnlyIndoors,
OnlyMounted,
OnlyNighttime,
OnlyOutdoors,
OnlyShapeshift,
OnlyStealthed,
OnlyUnderwater,
OutOfRange,
Pacified,
Possessed,
Reagents,
RequiresArea,
RequiresSpellFocus,
Rooted,
Silenced,
SpellInProgress,
SpellLearned,
SpellUnavailable,
Stunned,
TargetsDead,
TargetAffectingCombat,
TargetAurastate,
TargetDueling,
TargetEnemy,
TargetEnraged,
TargetFriendly,
TargetInCombat,
TargetIsPlayer,
TargetIsPlayerControlled,
TargetNotDead,
TargetNotInParty,
TargetNotLooted,
TargetNotPlayer,
TargetNoPockets,
TargetNoWeapons,
TargetUnskinnable,
ThirstSatiated,
TooClose,
TooManyOfItem,
TotemCategory,
Totems,
TrainingPoints,
TryAgain,
UnitNotBehind,
UnitNotInfront,
WrongPetFood,
NotWhileFatigued,
TargetNotInInstance,
NotWhileTrading,
TargetNotInRaid,
DisenchantWhileLooting,
ProspectWhileLooting,
ProspectNeedMore,
TargetFreeforall,
NoEdibleCorpses,
OnlyBattlegrounds,
TargetNotGhost,
TooManySkills,
TransformUnusable,
WrongWeather,
DamageImmune,
PreventedByMechanic,
PlayTime,
Reputation,
MinSkill,
NotInArena,
NotOnShapeshift,
NotOnStealthed,
NotOnDamageImmune,
NotOnMounted,
TooShallow,
TargetNotInSanctuary,
TargetIsTrivial,
BmOrInvisgod,
ExpertRidingRequirement,
ArtisanRidingRequirement,
NotIdle,
NotInactive,
PartialPlaytime,
NoPlaytime,
NotInBattleground,
OnlyInArena,
TargetLockedToRaidInstance,
Unknown,
}Available on crate feature
tbc only.Expand description
Auto generated from the original wowm in file wow_message_parser/wowm/world/common.wowm:436:
enum SpellCastResult : u8 {
AFFECTING_COMBAT = 0x00;
ALREADY_AT_FULL_HEALTH = 0x01;
ALREADY_AT_FULL_MANA = 0x02;
ALREADY_AT_FULL_POWER = 0x03;
ALREADY_BEING_TAMED = 0x04;
ALREADY_HAVE_CHARM = 0x05;
ALREADY_HAVE_SUMMON = 0x06;
ALREADY_OPEN = 0x07;
AURA_BOUNCED = 0x08;
AUTOTRACK_INTERRUPTED = 0x09;
BAD_IMPLICIT_TARGETS = 0x0A;
BAD_TARGETS = 0x0B;
CANT_BE_CHARMED = 0x0C;
CANT_BE_DISENCHANTED = 0x0D;
CANT_BE_DISENCHANTED_SKILL = 0x0E;
CANT_BE_PROSPECTED = 0x0F;
CANT_CAST_ON_TAPPED = 0x10;
CANT_DUEL_WHILE_INVISIBLE = 0x11;
CANT_DUEL_WHILE_STEALTHED = 0x12;
CANT_STEALTH = 0x13;
CASTER_AURASTATE = 0x14;
CASTER_DEAD = 0x15;
CHARMED = 0x16;
CHEST_IN_USE = 0x17;
CONFUSED = 0x18;
DONT_REPORT = 0x19;
EQUIPPED_ITEM = 0x1A;
EQUIPPED_ITEM_CLASS = 0x1B;
EQUIPPED_ITEM_CLASS_MAINHAND = 0x1C;
EQUIPPED_ITEM_CLASS_OFFHAND = 0x1D;
ERROR = 0x1E;
FIZZLE = 0x1F;
FLEEING = 0x20;
FOOD_LOWLEVEL = 0x21;
HIGHLEVEL = 0x22;
HUNGER_SATIATED = 0x23;
IMMUNE = 0x24;
INTERRUPTED = 0x25;
INTERRUPTED_COMBAT = 0x26;
ITEM_ALREADY_ENCHANTED = 0x27;
ITEM_GONE = 0x28;
ITEM_NOT_FOUND = 0x29;
ITEM_NOT_READY = 0x2A;
LEVEL_REQUIREMENT = 0x2B;
LINE_OF_SIGHT = 0x2C;
LOWLEVEL = 0x2D;
LOW_CASTLEVEL = 0x2E;
MAINHAND_EMPTY = 0x2F;
MOVING = 0x30;
NEED_AMMO = 0x31;
NEED_AMMO_POUCH = 0x32;
NEED_EXOTIC_AMMO = 0x33;
NOPATH = 0x34;
NOT_BEHIND = 0x35;
NOT_FISHABLE = 0x36;
NOT_FLYING = 0x37;
NOT_HERE = 0x38;
NOT_INFRONT = 0x39;
NOT_IN_CONTROL = 0x3A;
NOT_KNOWN = 0x3B;
NOT_MOUNTED = 0x3C;
NOT_ON_TAXI = 0x3D;
NOT_ON_TRANSPORT = 0x3E;
NOT_READY = 0x3F;
NOT_SHAPESHIFT = 0x40;
NOT_STANDING = 0x41;
NOT_TRADEABLE = 0x42;
NOT_TRADING = 0x43;
NOT_UNSHEATHED = 0x44;
NOT_WHILE_GHOST = 0x45;
NO_AMMO = 0x46;
NO_CHARGES_REMAIN = 0x47;
NO_CHAMPION = 0x48;
NO_COMBO_POINTS = 0x49;
NO_DUELING = 0x4A;
NO_ENDURANCE = 0x4B;
NO_FISH = 0x4C;
NO_ITEMS_WHILE_SHAPESHIFTED = 0x4D;
NO_MOUNTS_ALLOWED = 0x4E;
NO_PET = 0x4F;
NO_POWER = 0x50;
NOTHING_TO_DISPEL = 0x51;
NOTHING_TO_STEAL = 0x52;
ONLY_ABOVEWATER = 0x53;
ONLY_DAYTIME = 0x54;
ONLY_INDOORS = 0x55;
ONLY_MOUNTED = 0x56;
ONLY_NIGHTTIME = 0x57;
ONLY_OUTDOORS = 0x58;
ONLY_SHAPESHIFT = 0x59;
ONLY_STEALTHED = 0x5A;
ONLY_UNDERWATER = 0x5B;
OUT_OF_RANGE = 0x5C;
PACIFIED = 0x5D;
POSSESSED = 0x5E;
REAGENTS = 0x5F;
REQUIRES_AREA = 0x60;
REQUIRES_SPELL_FOCUS = 0x61;
ROOTED = 0x62;
SILENCED = 0x63;
SPELL_IN_PROGRESS = 0x64;
SPELL_LEARNED = 0x65;
SPELL_UNAVAILABLE = 0x66;
STUNNED = 0x67;
TARGETS_DEAD = 0x68;
TARGET_AFFECTING_COMBAT = 0x69;
TARGET_AURASTATE = 0x6A;
TARGET_DUELING = 0x6B;
TARGET_ENEMY = 0x6C;
TARGET_ENRAGED = 0x6D;
TARGET_FRIENDLY = 0x6E;
TARGET_IN_COMBAT = 0x6F;
TARGET_IS_PLAYER = 0x70;
TARGET_IS_PLAYER_CONTROLLED = 0x71;
TARGET_NOT_DEAD = 0x72;
TARGET_NOT_IN_PARTY = 0x73;
TARGET_NOT_LOOTED = 0x74;
TARGET_NOT_PLAYER = 0x75;
TARGET_NO_POCKETS = 0x76;
TARGET_NO_WEAPONS = 0x77;
TARGET_UNSKINNABLE = 0x78;
THIRST_SATIATED = 0x79;
TOO_CLOSE = 0x7A;
TOO_MANY_OF_ITEM = 0x7B;
TOTEM_CATEGORY = 0x7C;
TOTEMS = 0x7D;
TRAINING_POINTS = 0x7E;
TRY_AGAIN = 0x7F;
UNIT_NOT_BEHIND = 0x80;
UNIT_NOT_INFRONT = 0x81;
WRONG_PET_FOOD = 0x82;
NOT_WHILE_FATIGUED = 0x83;
TARGET_NOT_IN_INSTANCE = 0x84;
NOT_WHILE_TRADING = 0x85;
TARGET_NOT_IN_RAID = 0x86;
DISENCHANT_WHILE_LOOTING = 0x87;
PROSPECT_WHILE_LOOTING = 0x88;
PROSPECT_NEED_MORE = 0x89;
TARGET_FREEFORALL = 0x8A;
NO_EDIBLE_CORPSES = 0x8B;
ONLY_BATTLEGROUNDS = 0x8C;
TARGET_NOT_GHOST = 0x8D;
TOO_MANY_SKILLS = 0x8E;
TRANSFORM_UNUSABLE = 0x8F;
WRONG_WEATHER = 0x90;
DAMAGE_IMMUNE = 0x91;
PREVENTED_BY_MECHANIC = 0x92;
PLAY_TIME = 0x93;
REPUTATION = 0x94;
MIN_SKILL = 0x95;
NOT_IN_ARENA = 0x96;
NOT_ON_SHAPESHIFT = 0x97;
NOT_ON_STEALTHED = 0x98;
NOT_ON_DAMAGE_IMMUNE = 0x99;
NOT_ON_MOUNTED = 0x9A;
TOO_SHALLOW = 0x9B;
TARGET_NOT_IN_SANCTUARY = 0x9C;
TARGET_IS_TRIVIAL = 0x9D;
BM_OR_INVISGOD = 0x9E;
EXPERT_RIDING_REQUIREMENT = 0x9F;
ARTISAN_RIDING_REQUIREMENT = 0xA0;
NOT_IDLE = 0xA1;
NOT_INACTIVE = 0xA2;
PARTIAL_PLAYTIME = 0xA3;
NO_PLAYTIME = 0xA4;
NOT_IN_BATTLEGROUND = 0xA5;
ONLY_IN_ARENA = 0xA6;
TARGET_LOCKED_TO_RAID_INSTANCE = 0xA7;
UNKNOWN = 0xA8;
}Variants§
AffectingCombat
AlreadyAtFullHealth
AlreadyAtFullMana
AlreadyAtFullPower
AlreadyBeingTamed
AlreadyHaveCharm
AlreadyHaveSummon
AlreadyOpen
AuraBounced
AutotrackInterrupted
BadImplicitTargets
BadTargets
CantBeCharmed
CantBeDisenchanted
CantBeDisenchantedSkill
CantBeProspected
CantCastOnTapped
CantDuelWhileInvisible
CantDuelWhileStealthed
CantStealth
CasterAurastate
CasterDead
Charmed
ChestInUse
Confused
DontReport
EquippedItem
EquippedItemClass
EquippedItemClassMainhand
EquippedItemClassOffhand
ErrorX
Fizzle
Fleeing
FoodLowlevel
Highlevel
HungerSatiated
Immune
Interrupted
InterruptedCombat
ItemAlreadyEnchanted
ItemGone
ItemNotFound
ItemNotReady
LevelRequirement
LineOfSight
Lowlevel
LowCastlevel
MainhandEmpty
Moving
NeedAmmo
NeedAmmoPouch
NeedExoticAmmo
Nopath
NotBehind
NotFishable
NotFlying
NotHere
NotInfront
NotInControl
NotKnown
NotMounted
NotOnTaxi
NotOnTransport
NotReady
NotShapeshift
NotStanding
NotTradeable
NotTrading
NotUnsheathed
NotWhileGhost
NoAmmo
NoChargesRemain
NoChampion
NoComboPoints
NoDueling
NoEndurance
NoFish
NoItemsWhileShapeshifted
NoMountsAllowed
NoPet
NoPower
NothingToDispel
NothingToSteal
OnlyAbovewater
OnlyDaytime
OnlyIndoors
OnlyMounted
OnlyNighttime
OnlyOutdoors
OnlyShapeshift
OnlyStealthed
OnlyUnderwater
OutOfRange
Pacified
Possessed
Reagents
RequiresArea
RequiresSpellFocus
Rooted
Silenced
SpellInProgress
SpellLearned
Stunned
TargetsDead
TargetAffectingCombat
TargetAurastate
TargetDueling
TargetEnemy
TargetEnraged
TargetFriendly
TargetInCombat
TargetIsPlayer
TargetIsPlayerControlled
TargetNotDead
TargetNotInParty
TargetNotLooted
TargetNotPlayer
TargetNoPockets
TargetNoWeapons
TargetUnskinnable
ThirstSatiated
TooClose
TooManyOfItem
TotemCategory
Totems
TrainingPoints
TryAgain
UnitNotBehind
UnitNotInfront
WrongPetFood
NotWhileFatigued
TargetNotInInstance
NotWhileTrading
TargetNotInRaid
DisenchantWhileLooting
ProspectWhileLooting
ProspectNeedMore
TargetFreeforall
NoEdibleCorpses
OnlyBattlegrounds
TargetNotGhost
TooManySkills
TransformUnusable
WrongWeather
DamageImmune
PreventedByMechanic
PlayTime
Reputation
MinSkill
NotInArena
NotOnShapeshift
NotOnStealthed
NotOnDamageImmune
NotOnMounted
TooShallow
TargetNotInSanctuary
TargetIsTrivial
BmOrInvisgod
ExpertRidingRequirement
ArtisanRidingRequirement
NotIdle
NotInactive
PartialPlaytime
NoPlaytime
NotInBattleground
OnlyInArena
TargetLockedToRaidInstance
Unknown
Implementations§
Source§impl SpellCastResult
impl SpellCastResult
pub const fn as_test_case_value(&self) -> &'static str
Available on crate feature
print-testcase only.Trait Implementations§
Source§impl Clone for SpellCastResult
impl Clone for SpellCastResult
Source§fn clone(&self) -> SpellCastResult
fn clone(&self) -> SpellCastResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpellCastResult
impl Debug for SpellCastResult
Source§impl Default for SpellCastResult
impl Default for SpellCastResult
Source§impl<'de> Deserialize<'de> for SpellCastResult
impl<'de> Deserialize<'de> for SpellCastResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SpellCastResult
impl Display for SpellCastResult
Source§impl Hash for SpellCastResult
impl Hash for SpellCastResult
Source§impl Ord for SpellCastResult
impl Ord for SpellCastResult
Source§fn cmp(&self, other: &SpellCastResult) -> Ordering
fn cmp(&self, other: &SpellCastResult) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SpellCastResult
impl PartialEq for SpellCastResult
Source§impl PartialOrd for SpellCastResult
impl PartialOrd for SpellCastResult
Source§impl Serialize for SpellCastResult
impl Serialize for SpellCastResult
Source§impl TryFrom<i16> for SpellCastResult
impl TryFrom<i16> for SpellCastResult
Source§impl TryFrom<i32> for SpellCastResult
impl TryFrom<i32> for SpellCastResult
Source§impl TryFrom<i64> for SpellCastResult
impl TryFrom<i64> for SpellCastResult
Source§impl TryFrom<i8> for SpellCastResult
impl TryFrom<i8> for SpellCastResult
Source§impl TryFrom<u16> for SpellCastResult
impl TryFrom<u16> for SpellCastResult
Source§impl TryFrom<u32> for SpellCastResult
impl TryFrom<u32> for SpellCastResult
Source§impl TryFrom<u64> for SpellCastResult
impl TryFrom<u64> for SpellCastResult
Source§impl TryFrom<u8> for SpellCastResult
impl TryFrom<u8> for SpellCastResult
Source§impl TryFrom<usize> for SpellCastResult
impl TryFrom<usize> for SpellCastResult
impl Copy for SpellCastResult
impl Eq for SpellCastResult
impl StructuralPartialEq for SpellCastResult
Auto Trait Implementations§
impl Freeze for SpellCastResult
impl RefUnwindSafe for SpellCastResult
impl Send for SpellCastResult
impl Sync for SpellCastResult
impl Unpin for SpellCastResult
impl UnwindSafe for SpellCastResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more