Skip to main content

Module semantics

Module semantics 

Source
Expand description

Canonical DBC spell, effect, aura, modifier, and school semantics.

Re-exportsΒ§

pub use aura_interrupt_flags::SpellAuraInterruptFlags;
pub use aura_states::AuraState;
pub use control::CrowdControlKind;
pub use control::CrowdControlSemantic;
pub use control::DiminishingGroup;
pub use control::crowd_control_semantic;
pub use coverage::EffectSemanticCoverage;
pub use coverage::effect_semantic_coverage;
pub use defense_types::DefenseType;
pub use difficulty::DifficultyId;
pub use implicit_targets::IMPLICIT_TARGET_SEMANTICS;
pub use implicit_targets::ImplicitTargetCheck;
pub use implicit_targets::ImplicitTargetDirection;
pub use implicit_targets::ImplicitTargetObject;
pub use implicit_targets::ImplicitTargetReference;
pub use implicit_targets::ImplicitTargetSelection;
pub use implicit_targets::ImplicitTargetSelector;
pub use implicit_targets::ImplicitTargetSemantic;
pub use implicit_targets::implicit_target_semantic;
pub use items::ArmorSubclass;
pub use items::ConsumableSubclass;
pub use items::GemSubclass;
pub use items::InventoryType;
pub use items::ItemClass;
pub use items::ItemEffectTrigger;
pub use items::WeaponSubclass;
pub use items::item_matches_consumable_query;
pub use items::resolve_item_budget;
pub use loot::DungeonDifficultyFlags;
pub use loot::ItemBonusListGroupEntryFlags;
pub use loot::ItemBonusType;
pub use loot::ItemContext;
pub use loot::RaidDifficultyFlags;
pub use mechanics::DispelType;
pub use mechanics::Mechanic;
pub use mechanics::MechanicMask;
pub use power_types::PowerType;
pub use proc_attributes::CONSUMED_PROC_ATTRIBUTES;
pub use proc_attributes::PROC_ATTRIBUTE_SEMANTICS;
pub use proc_attributes::ProcAttributeKind;
pub use proc_attributes::ProcAttributeSemantic;
pub use proc_attributes::ProcAttributes;
pub use proc_attributes::proc_attribute_semantic;
pub use proc_types::ProcTypeMask;
pub use schools::SpellSchoolMask;
pub use spell_cast_target_flags::SPELL_CAST_TARGET_FLAG_SEMANTICS;
pub use spell_cast_target_flags::SpellCastTargetFlagSemantic;
pub use spell_cast_target_flags::SpellCastTargetFlags;
pub use spell_cast_target_flags::spell_cast_target_flag_semantic;
pub use spell_effect_attributes::SpellEffectAttributes;
pub use spell_effect_targets::SpellEffectImplicitTarget;
pub use spell_effect_targets::SpellEffectTargetSemantic;
pub use spell_effect_targets::spell_effect_target_semantic;
pub use spell_interrupt_flags::SpellInterruptFlags;
pub use spell_targets::SpellTargetMasks;
pub use spell_targets::spell_target_masks;
pub use stat_masks::AttributeMask;
pub use stat_masks::RatingMultiplierMask;
pub use spell_attributes::SPELL_ATTRIBUTE_SEMANTICS;
pub use spell_attributes::SpellAttributeKind;
pub use spell_attributes::SpellAttributeSemantic;
pub use spell_attributes::spell_attribute_is;
pub use spell_attributes::spell_attribute_is_any;
pub use spell_attributes::spell_attribute_semantic;
pub use spell_effects::SPELL_EFFECT_SEMANTICS;
pub use spell_effects::SpellEffectKind;
pub use spell_effects::SpellEffectSemantic;
pub use spell_effects::spell_effect_semantic;
pub use aura_subtypes::AURA_SUBTYPE_SEMANTICS;
pub use aura_subtypes::AuraSubtypeKind;
pub use aura_subtypes::AuraSubtypeSemantic;
pub use aura_subtypes::PetStatKind;
pub use aura_subtypes::StatModifierKind;
pub use aura_subtypes::is_primary_stat_misc;
pub use enchantments::EnchantEffectKind;
pub use enchantments::EnchantTriggerSemantic;
pub use enchantments::enchant_effect_is;
pub use enchantments::enchant_effect_kind;
pub use enchantments::enchant_trigger_semantic;
pub use enchantments::rppm_crit_scaled;
pub use enchantments::rppm_haste_scaled;
pub use modifier_properties::MODIFIER_PROPERTY_SEMANTICS;
pub use modifier_properties::ModifierOperations;
pub use modifier_properties::ModifierPropertyKind;
pub use modifier_properties::ModifierPropertySemantic;
pub use modifier_properties::modifier_property_for_effect;
pub use ratings::CombatRating;
pub use ratings::CombatRatingMask;
pub use resolved_game_data::ResolvedGameDataSemanticExt;
pub use stances::ShapeshiftForm;
pub use stances::SpellShapeshiftFormFlags;
pub use stances::stance_mask_allows;
pub use traits::TraitConditionType;
pub use traits::TraitCurrencyFlags;

ModulesΒ§

aura_interrupt_flags πŸ”’
aura_states πŸ”’
aura_subtypes πŸ”’
control πŸ”’
coverage πŸ”’
defense_types πŸ”’
difficulty πŸ”’
Canonical DBC difficulty identities used by spell-row selection.
enchantments πŸ”’
SpellItemEnchantment proc/stat resolution semantics.
implicit_targets πŸ”’
Canonical implicit-target selector semantics; DBC ImplicitTarget values index this table, not bit flags.
items πŸ”’
Canonical identities for raw item-classification values stored in DBC rows.
loot πŸ”’
Item-loot DBC discriminants and difficulty masks.
mechanics πŸ”’
modifier_properties πŸ”’
power_types πŸ”’
Canonical SpellPower.PowerType and PowerType.PowerTypeEnum identities.
proc_attributes πŸ”’
proc_types πŸ”’
Client SpellProcEvent.ProcFlags event-family mask semantics.
ratings πŸ”’
Combat-rating semantics carried in the misc_value_0 of a MOD_RATING aura effect.
resolved_game_data πŸ”’
Typed semantic interpretation layered over neutral resolved-data accessors.
schools πŸ”’
spell_attributes πŸ”’
spell_cast_target_flags πŸ”’
Explicit spell cast-target payload and validation flags.
spell_effect_attributes πŸ”’
Attributes attached to an individual DBC spell effect.
spell_effect_targets πŸ”’
Target requirements intrinsic to each DBC spell-effect kind.
spell_effects πŸ”’
spell_interrupt_flags πŸ”’
spell_targets πŸ”’
Composition of implicit selectors into explicit and required cast-target masks.
stances πŸ”’
Shapeshift-stance semantics; a spell’s stance mask sets bit N - 1 for each castable form N.
stat_masks πŸ”’
Attribute and rating-family masks carried by stat-modifier aura effects.
traits πŸ”’
Trait-tree DBC discriminants and currency flags.

MacrosΒ§

semantic_registry πŸ”’

EnumsΒ§

ModifierFilter
Filter used by a spell-modifier aura to select affected spells.
ModifierOperation
Operation performed by a spell-modifier aura.
SemanticSupport
Degree to which the shared engine interprets a DBC semantic automatically.
TraitEffectOperation
How a trait rank’s curve value combines with the talent spell effect’s own base points.
TraitNodeType
Raw TraitNode.Type identity retained with serialized talent-tree data.
TraitTreeIndex
Raw TraitTree family index retained with serialized talent-tree data.

TraitsΒ§

SpellEffectSemanticExt
Typed semantic predicates for a resolved DBC spell effect.

FunctionsΒ§

aura_subtype_is
aura_subtype_is_any
aura_subtype_kind
aura_subtype_modifier
Returns the modifier operation/filter carried by a modifier aura subtype.
aura_subtype_raw
aura_subtype_semantic
Registry lookup for a raw apply-aura subtype.
modifier_combination_supported
Whether a modifier aura/property combination is implemented generically.
modifier_property_is
modifier_property_is_any
modifier_property_kind
modifier_property_raw
modifier_property_semantic
Registry lookup for a raw spell-modifier property.
pet_stat_kind
Typed aura-382 pet-stat identity, or None for an unknown raw value.
spell_effect_is
spell_effect_is_any
spell_effect_kind
spell_effect_raw