Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
SpellValidation.h File Reference
#include "SharedDefines.h"
#include <initializer_list>
Include dependency graph for SpellValidation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Skyfire
namespace  Skyfire::Spells

Enumerations

enum  Skyfire::Spells::SpellDispatchHandlerKind { Skyfire::Spells::SPELL_DISPATCH_HANDLER_REAL , Skyfire::Spells::SPELL_DISPATCH_HANDLER_NULL , Skyfire::Spells::SPELL_DISPATCH_HANDLER_UNUSED , Skyfire::Spells::SPELL_DISPATCH_HANDLER_NO_IMMEDIATE_EFFECT }
enum  Skyfire::Spells::SpellDispatchValidationStatus { Skyfire::Spells::SPELL_DISPATCH_SUPPORTED , Skyfire::Spells::SPELL_DISPATCH_INTENTIONALLY_UNUSED , Skyfire::Spells::SPELL_DISPATCH_NO_IMMEDIATE_EFFECT , Skyfire::Spells::SPELL_DISPATCH_MISSING_OR_UNSUPPORTED }

Functions

uint32 Skyfire::Spells::BuildMechanicMask (std::initializer_list< uint32 > mechanics)
SpellDispatchValidationStatus Skyfire::Spells::ClassifySpellDispatchHandler (SpellDispatchHandlerKind kind)
uint32 Skyfire::Spells::GetDispelMask (DispelType type)
uint32 Skyfire::Spells::GetEffectIndexMask (uint32 effIndex)
uint32 Skyfire::Spells::GetMaskBit (uint32 bitIndex)
uint32 Skyfire::Spells::GetMechanicMask (uint32 mechanic)
char const * Skyfire::Spells::GetSpellDispatchValidationStatusName (SpellDispatchValidationStatus status)
bool Skyfire::Spells::HasAnyMechanic (uint32 mask, std::initializer_list< uint32 > mechanics)
bool Skyfire::Spells::HasMechanic (uint32 mask, uint32 mechanic)
bool Skyfire::Spells::IsMaskBitRepresentable (uint32 bitIndex)
bool Skyfire::Spells::IsMechanicRepresentable (uint32 mechanic)

Variables

uint32 const Skyfire::Spells::SpellMaskBitCount = 32