use wow_world_base::tbc::{
Reagent, Spell, SpellEffects, Totem, TotemCategory,
};
const EMPTY_REAGENT:&[Reagent]=&[];
const EMPTY_SPELLEFFECTS:&[SpellEffects]=&[];
const EMPTY_TOTEM:&[Totem]=&[];
const EMPTY_TOTEMCATEGORY:&[TotemCategory]=&[];
pub const fn nefgh(
entry: u16,
category: i16,
cast_ui: i8,
dispel: i8,
mechanic: i8,
attributes: u32,
attributes_ex: u32,
attributes_ex2: u32,
attributes_ex3: u32,
attributes_ex4: u32,
attributes_ex5: u32,
attributes_ex6: u32,
stances: u32,
stances_not: u32,
targets: i32,
target_creature_type: i16,
requires_spell_focus: i16,
facing_caster_flags: i8,
casting_time_index: i16,
recovery_time: i32,
category_recovery_time: i32,
interrupt_flags: i8,
aura_interrupt_flags: i32,
channel_interrupt_flags: i32,
proc_flags: i32,
proc_chance: i8,
proc_charges: i8,
max_level: i16,
base_level: i16,
spell_level: i16,
duration_index: i16,
power_type: u32,
mana_cost: i32,
mana_cost_per_level: i8,
range_index: i16,
speed: f32,
stack_amount: i32,
equipped_item_class: i8,
equipped_item_sub_class_mask: i32,
equipped_item_inventory_type_mask: i32,
spell_visual: i16,
spell_icon_id: i16,
active_icon_id: i16,
spell_priority: i8,
spell_name: &'static str,
rank_text: &'static str,
mana_cost_percentage: i8,
start_recovery_category: i16,
start_recovery_time: i16,
spell_family_name: i8,
spell_family_flags: i64,
max_affected_targets: i8,
dmg_class: i8,
prevention_type: i8,
stance_bar_order: i8,
area_id: i16,
school_mask: i8,
is_server_side: i8,
attributes_serverside: i8,
) -> Spell {
Spell::new(
entry,
category,
cast_ui,
dispel,
mechanic,
attributes,
attributes_ex,
attributes_ex2,
attributes_ex3,
attributes_ex4,
attributes_ex5,
attributes_ex6,
stances,
stances_not,
targets,
target_creature_type,
requires_spell_focus,
facing_caster_flags,
casting_time_index,
recovery_time,
category_recovery_time,
interrupt_flags,
aura_interrupt_flags,
channel_interrupt_flags,
proc_flags,
proc_chance,
proc_charges,
max_level,
base_level,
spell_level,
duration_index,
power_type,
mana_cost,
mana_cost_per_level,
range_index,
speed,
stack_amount,
equipped_item_class,
equipped_item_sub_class_mask,
equipped_item_inventory_type_mask,
spell_visual,
spell_icon_id,
active_icon_id,
spell_priority,
spell_name,
rank_text,
mana_cost_percentage,
start_recovery_category,
start_recovery_time,
spell_family_name,
spell_family_flags,
max_affected_targets,
dmg_class,
prevention_type,
stance_bar_order,
area_id,
school_mask,
is_server_side,
attributes_serverside,
EMPTY_REAGENT,
EMPTY_SPELLEFFECTS,
EMPTY_TOTEM,
EMPTY_TOTEMCATEGORY,
)
}
pub const fn nefh(
entry: u16,
category: i16,
cast_ui: i8,
dispel: i8,
mechanic: i8,
attributes: u32,
attributes_ex: u32,
attributes_ex2: u32,
attributes_ex3: u32,
attributes_ex4: u32,
attributes_ex5: u32,
attributes_ex6: u32,
stances: u32,
stances_not: u32,
targets: i32,
target_creature_type: i16,
requires_spell_focus: i16,
facing_caster_flags: i8,
casting_time_index: i16,
recovery_time: i32,
category_recovery_time: i32,
interrupt_flags: i8,
aura_interrupt_flags: i32,
channel_interrupt_flags: i32,
proc_flags: i32,
proc_chance: i8,
proc_charges: i8,
max_level: i16,
base_level: i16,
spell_level: i16,
duration_index: i16,
power_type: u32,
mana_cost: i32,
mana_cost_per_level: i8,
range_index: i16,
speed: f32,
stack_amount: i32,
equipped_item_class: i8,
equipped_item_sub_class_mask: i32,
equipped_item_inventory_type_mask: i32,
spell_visual: i16,
spell_icon_id: i16,
active_icon_id: i16,
spell_priority: i8,
spell_name: &'static str,
rank_text: &'static str,
mana_cost_percentage: i8,
start_recovery_category: i16,
start_recovery_time: i16,
spell_family_name: i8,
spell_family_flags: i64,
max_affected_targets: i8,
dmg_class: i8,
prevention_type: i8,
stance_bar_order: i8,
area_id: i16,
school_mask: i8,
is_server_side: i8,
attributes_serverside: i8,
totems: &'static [Totem],
) -> Spell {
Spell::new(
entry,
category,
cast_ui,
dispel,
mechanic,
attributes,
attributes_ex,
attributes_ex2,
attributes_ex3,
attributes_ex4,
attributes_ex5,
attributes_ex6,
stances,
stances_not,
targets,
target_creature_type,
requires_spell_focus,
facing_caster_flags,
casting_time_index,
recovery_time,
category_recovery_time,
interrupt_flags,
aura_interrupt_flags,
channel_interrupt_flags,
proc_flags,
proc_chance,
proc_charges,
max_level,
base_level,
spell_level,
duration_index,
power_type,
mana_cost,
mana_cost_per_level,
range_index,
speed,
stack_amount,
equipped_item_class,
equipped_item_sub_class_mask,
equipped_item_inventory_type_mask,
spell_visual,
spell_icon_id,
active_icon_id,
spell_priority,
spell_name,
rank_text,
mana_cost_percentage,
start_recovery_category,
start_recovery_time,
spell_family_name,
spell_family_flags,
max_affected_targets,
dmg_class,
prevention_type,
stance_bar_order,
area_id,
school_mask,
is_server_side,
attributes_serverside,
EMPTY_REAGENT,
EMPTY_SPELLEFFECTS,
totems,
EMPTY_TOTEMCATEGORY,
)
}
pub const fn neg(
entry: u16,
category: i16,
cast_ui: i8,
dispel: i8,
mechanic: i8,
attributes: u32,
attributes_ex: u32,
attributes_ex2: u32,
attributes_ex3: u32,
attributes_ex4: u32,
attributes_ex5: u32,
attributes_ex6: u32,
stances: u32,
stances_not: u32,
targets: i32,
target_creature_type: i16,
requires_spell_focus: i16,
facing_caster_flags: i8,
casting_time_index: i16,
recovery_time: i32,
category_recovery_time: i32,
interrupt_flags: i8,
aura_interrupt_flags: i32,
channel_interrupt_flags: i32,
proc_flags: i32,
proc_chance: i8,
proc_charges: i8,
max_level: i16,
base_level: i16,
spell_level: i16,
duration_index: i16,
power_type: u32,
mana_cost: i32,
mana_cost_per_level: i8,
range_index: i16,
speed: f32,
stack_amount: i32,
equipped_item_class: i8,
equipped_item_sub_class_mask: i32,
equipped_item_inventory_type_mask: i32,
spell_visual: i16,
spell_icon_id: i16,
active_icon_id: i16,
spell_priority: i8,
spell_name: &'static str,
rank_text: &'static str,
mana_cost_percentage: i8,
start_recovery_category: i16,
start_recovery_time: i16,
spell_family_name: i8,
spell_family_flags: i64,
max_affected_targets: i8,
dmg_class: i8,
prevention_type: i8,
stance_bar_order: i8,
area_id: i16,
school_mask: i8,
is_server_side: i8,
attributes_serverside: i8,
effects: &'static [SpellEffects],
totem_categories: &'static [TotemCategory],
) -> Spell {
Spell::new(
entry,
category,
cast_ui,
dispel,
mechanic,
attributes,
attributes_ex,
attributes_ex2,
attributes_ex3,
attributes_ex4,
attributes_ex5,
attributes_ex6,
stances,
stances_not,
targets,
target_creature_type,
requires_spell_focus,
facing_caster_flags,
casting_time_index,
recovery_time,
category_recovery_time,
interrupt_flags,
aura_interrupt_flags,
channel_interrupt_flags,
proc_flags,
proc_chance,
proc_charges,
max_level,
base_level,
spell_level,
duration_index,
power_type,
mana_cost,
mana_cost_per_level,
range_index,
speed,
stack_amount,
equipped_item_class,
equipped_item_sub_class_mask,
equipped_item_inventory_type_mask,
spell_visual,
spell_icon_id,
active_icon_id,
spell_priority,
spell_name,
rank_text,
mana_cost_percentage,
start_recovery_category,
start_recovery_time,
spell_family_name,
spell_family_flags,
max_affected_targets,
dmg_class,
prevention_type,
stance_bar_order,
area_id,
school_mask,
is_server_side,
attributes_serverside,
EMPTY_REAGENT,
effects,
EMPTY_TOTEM,
totem_categories,
)
}
pub const fn negh(
entry: u16,
category: i16,
cast_ui: i8,
dispel: i8,
mechanic: i8,
attributes: u32,
attributes_ex: u32,
attributes_ex2: u32,
attributes_ex3: u32,
attributes_ex4: u32,
attributes_ex5: u32,
attributes_ex6: u32,
stances: u32,
stances_not: u32,
targets: i32,
target_creature_type: i16,
requires_spell_focus: i16,
facing_caster_flags: i8,
casting_time_index: i16,
recovery_time: i32,
category_recovery_time: i32,
interrupt_flags: i8,
aura_interrupt_flags: i32,
channel_interrupt_flags: i32,
proc_flags: i32,
proc_chance: i8,
proc_charges: i8,
max_level: i16,
base_level: i16,
spell_level: i16,
duration_index: i16,
power_type: u32,
mana_cost: i32,
mana_cost_per_level: i8,
range_index: i16,
speed: f32,
stack_amount: i32,
equipped_item_class: i8,
equipped_item_sub_class_mask: i32,
equipped_item_inventory_type_mask: i32,
spell_visual: i16,
spell_icon_id: i16,
active_icon_id: i16,
spell_priority: i8,
spell_name: &'static str,
rank_text: &'static str,
mana_cost_percentage: i8,
start_recovery_category: i16,
start_recovery_time: i16,
spell_family_name: i8,
spell_family_flags: i64,
max_affected_targets: i8,
dmg_class: i8,
prevention_type: i8,
stance_bar_order: i8,
area_id: i16,
school_mask: i8,
is_server_side: i8,
attributes_serverside: i8,
effects: &'static [SpellEffects],
) -> Spell {
Spell::new(
entry,
category,
cast_ui,
dispel,
mechanic,
attributes,
attributes_ex,
attributes_ex2,
attributes_ex3,
attributes_ex4,
attributes_ex5,
attributes_ex6,
stances,
stances_not,
targets,
target_creature_type,
requires_spell_focus,
facing_caster_flags,
casting_time_index,
recovery_time,
category_recovery_time,
interrupt_flags,
aura_interrupt_flags,
channel_interrupt_flags,
proc_flags,
proc_chance,
proc_charges,
max_level,
base_level,
spell_level,
duration_index,
power_type,
mana_cost,
mana_cost_per_level,
range_index,
speed,
stack_amount,
equipped_item_class,
equipped_item_sub_class_mask,
equipped_item_inventory_type_mask,
spell_visual,
spell_icon_id,
active_icon_id,
spell_priority,
spell_name,
rank_text,
mana_cost_percentage,
start_recovery_category,
start_recovery_time,
spell_family_name,
spell_family_flags,
max_affected_targets,
dmg_class,
prevention_type,
stance_bar_order,
area_id,
school_mask,
is_server_side,
attributes_serverside,
EMPTY_REAGENT,
effects,
EMPTY_TOTEM,
EMPTY_TOTEMCATEGORY,
)
}
pub const fn neh(
entry: u16,
category: i16,
cast_ui: i8,
dispel: i8,
mechanic: i8,
attributes: u32,
attributes_ex: u32,
attributes_ex2: u32,
attributes_ex3: u32,
attributes_ex4: u32,
attributes_ex5: u32,
attributes_ex6: u32,
stances: u32,
stances_not: u32,
targets: i32,
target_creature_type: i16,
requires_spell_focus: i16,
facing_caster_flags: i8,
casting_time_index: i16,
recovery_time: i32,
category_recovery_time: i32,
interrupt_flags: i8,
aura_interrupt_flags: i32,
channel_interrupt_flags: i32,
proc_flags: i32,
proc_chance: i8,
proc_charges: i8,
max_level: i16,
base_level: i16,
spell_level: i16,
duration_index: i16,
power_type: u32,
mana_cost: i32,
mana_cost_per_level: i8,
range_index: i16,
speed: f32,
stack_amount: i32,
equipped_item_class: i8,
equipped_item_sub_class_mask: i32,
equipped_item_inventory_type_mask: i32,
spell_visual: i16,
spell_icon_id: i16,
active_icon_id: i16,
spell_priority: i8,
spell_name: &'static str,
rank_text: &'static str,
mana_cost_percentage: i8,
start_recovery_category: i16,
start_recovery_time: i16,
spell_family_name: i8,
spell_family_flags: i64,
max_affected_targets: i8,
dmg_class: i8,
prevention_type: i8,
stance_bar_order: i8,
area_id: i16,
school_mask: i8,
is_server_side: i8,
attributes_serverside: i8,
effects: &'static [SpellEffects],
totems: &'static [Totem],
) -> Spell {
Spell::new(
entry,
category,
cast_ui,
dispel,
mechanic,
attributes,
attributes_ex,
attributes_ex2,
attributes_ex3,
attributes_ex4,
attributes_ex5,
attributes_ex6,
stances,
stances_not,
targets,
target_creature_type,
requires_spell_focus,
facing_caster_flags,
casting_time_index,
recovery_time,
category_recovery_time,
interrupt_flags,
aura_interrupt_flags,
channel_interrupt_flags,
proc_flags,
proc_chance,
proc_charges,
max_level,
base_level,
spell_level,
duration_index,
power_type,
mana_cost,
mana_cost_per_level,
range_index,
speed,
stack_amount,
equipped_item_class,
equipped_item_sub_class_mask,
equipped_item_inventory_type_mask,
spell_visual,
spell_icon_id,
active_icon_id,
spell_priority,
spell_name,
rank_text,
mana_cost_percentage,
start_recovery_category,
start_recovery_time,
spell_family_name,
spell_family_flags,
max_affected_targets,
dmg_class,
prevention_type,
stance_bar_order,
area_id,
school_mask,
is_server_side,
attributes_serverside,
EMPTY_REAGENT,
effects,
totems,
EMPTY_TOTEMCATEGORY,
)
}
pub const fn ng(
entry: u16,
category: i16,
cast_ui: i8,
dispel: i8,
mechanic: i8,
attributes: u32,
attributes_ex: u32,
attributes_ex2: u32,
attributes_ex3: u32,
attributes_ex4: u32,
attributes_ex5: u32,
attributes_ex6: u32,
stances: u32,
stances_not: u32,
targets: i32,
target_creature_type: i16,
requires_spell_focus: i16,
facing_caster_flags: i8,
casting_time_index: i16,
recovery_time: i32,
category_recovery_time: i32,
interrupt_flags: i8,
aura_interrupt_flags: i32,
channel_interrupt_flags: i32,
proc_flags: i32,
proc_chance: i8,
proc_charges: i8,
max_level: i16,
base_level: i16,
spell_level: i16,
duration_index: i16,
power_type: u32,
mana_cost: i32,
mana_cost_per_level: i8,
range_index: i16,
speed: f32,
stack_amount: i32,
equipped_item_class: i8,
equipped_item_sub_class_mask: i32,
equipped_item_inventory_type_mask: i32,
spell_visual: i16,
spell_icon_id: i16,
active_icon_id: i16,
spell_priority: i8,
spell_name: &'static str,
rank_text: &'static str,
mana_cost_percentage: i8,
start_recovery_category: i16,
start_recovery_time: i16,
spell_family_name: i8,
spell_family_flags: i64,
max_affected_targets: i8,
dmg_class: i8,
prevention_type: i8,
stance_bar_order: i8,
area_id: i16,
school_mask: i8,
is_server_side: i8,
attributes_serverside: i8,
reagents: &'static [Reagent],
effects: &'static [SpellEffects],
totem_categories: &'static [TotemCategory],
) -> Spell {
Spell::new(
entry,
category,
cast_ui,
dispel,
mechanic,
attributes,
attributes_ex,
attributes_ex2,
attributes_ex3,
attributes_ex4,
attributes_ex5,
attributes_ex6,
stances,
stances_not,
targets,
target_creature_type,
requires_spell_focus,
facing_caster_flags,
casting_time_index,
recovery_time,
category_recovery_time,
interrupt_flags,
aura_interrupt_flags,
channel_interrupt_flags,
proc_flags,
proc_chance,
proc_charges,
max_level,
base_level,
spell_level,
duration_index,
power_type,
mana_cost,
mana_cost_per_level,
range_index,
speed,
stack_amount,
equipped_item_class,
equipped_item_sub_class_mask,
equipped_item_inventory_type_mask,
spell_visual,
spell_icon_id,
active_icon_id,
spell_priority,
spell_name,
rank_text,
mana_cost_percentage,
start_recovery_category,
start_recovery_time,
spell_family_name,
spell_family_flags,
max_affected_targets,
dmg_class,
prevention_type,
stance_bar_order,
area_id,
school_mask,
is_server_side,
attributes_serverside,
reagents,
effects,
EMPTY_TOTEM,
totem_categories,
)
}
pub const fn ngh(
entry: u16,
category: i16,
cast_ui: i8,
dispel: i8,
mechanic: i8,
attributes: u32,
attributes_ex: u32,
attributes_ex2: u32,
attributes_ex3: u32,
attributes_ex4: u32,
attributes_ex5: u32,
attributes_ex6: u32,
stances: u32,
stances_not: u32,
targets: i32,
target_creature_type: i16,
requires_spell_focus: i16,
facing_caster_flags: i8,
casting_time_index: i16,
recovery_time: i32,
category_recovery_time: i32,
interrupt_flags: i8,
aura_interrupt_flags: i32,
channel_interrupt_flags: i32,
proc_flags: i32,
proc_chance: i8,
proc_charges: i8,
max_level: i16,
base_level: i16,
spell_level: i16,
duration_index: i16,
power_type: u32,
mana_cost: i32,
mana_cost_per_level: i8,
range_index: i16,
speed: f32,
stack_amount: i32,
equipped_item_class: i8,
equipped_item_sub_class_mask: i32,
equipped_item_inventory_type_mask: i32,
spell_visual: i16,
spell_icon_id: i16,
active_icon_id: i16,
spell_priority: i8,
spell_name: &'static str,
rank_text: &'static str,
mana_cost_percentage: i8,
start_recovery_category: i16,
start_recovery_time: i16,
spell_family_name: i8,
spell_family_flags: i64,
max_affected_targets: i8,
dmg_class: i8,
prevention_type: i8,
stance_bar_order: i8,
area_id: i16,
school_mask: i8,
is_server_side: i8,
attributes_serverside: i8,
reagents: &'static [Reagent],
effects: &'static [SpellEffects],
) -> Spell {
Spell::new(
entry,
category,
cast_ui,
dispel,
mechanic,
attributes,
attributes_ex,
attributes_ex2,
attributes_ex3,
attributes_ex4,
attributes_ex5,
attributes_ex6,
stances,
stances_not,
targets,
target_creature_type,
requires_spell_focus,
facing_caster_flags,
casting_time_index,
recovery_time,
category_recovery_time,
interrupt_flags,
aura_interrupt_flags,
channel_interrupt_flags,
proc_flags,
proc_chance,
proc_charges,
max_level,
base_level,
spell_level,
duration_index,
power_type,
mana_cost,
mana_cost_per_level,
range_index,
speed,
stack_amount,
equipped_item_class,
equipped_item_sub_class_mask,
equipped_item_inventory_type_mask,
spell_visual,
spell_icon_id,
active_icon_id,
spell_priority,
spell_name,
rank_text,
mana_cost_percentage,
start_recovery_category,
start_recovery_time,
spell_family_name,
spell_family_flags,
max_affected_targets,
dmg_class,
prevention_type,
stance_bar_order,
area_id,
school_mask,
is_server_side,
attributes_serverside,
reagents,
effects,
EMPTY_TOTEM,
EMPTY_TOTEMCATEGORY,
)
}
pub const fn nh(
entry: u16,
category: i16,
cast_ui: i8,
dispel: i8,
mechanic: i8,
attributes: u32,
attributes_ex: u32,
attributes_ex2: u32,
attributes_ex3: u32,
attributes_ex4: u32,
attributes_ex5: u32,
attributes_ex6: u32,
stances: u32,
stances_not: u32,
targets: i32,
target_creature_type: i16,
requires_spell_focus: i16,
facing_caster_flags: i8,
casting_time_index: i16,
recovery_time: i32,
category_recovery_time: i32,
interrupt_flags: i8,
aura_interrupt_flags: i32,
channel_interrupt_flags: i32,
proc_flags: i32,
proc_chance: i8,
proc_charges: i8,
max_level: i16,
base_level: i16,
spell_level: i16,
duration_index: i16,
power_type: u32,
mana_cost: i32,
mana_cost_per_level: i8,
range_index: i16,
speed: f32,
stack_amount: i32,
equipped_item_class: i8,
equipped_item_sub_class_mask: i32,
equipped_item_inventory_type_mask: i32,
spell_visual: i16,
spell_icon_id: i16,
active_icon_id: i16,
spell_priority: i8,
spell_name: &'static str,
rank_text: &'static str,
mana_cost_percentage: i8,
start_recovery_category: i16,
start_recovery_time: i16,
spell_family_name: i8,
spell_family_flags: i64,
max_affected_targets: i8,
dmg_class: i8,
prevention_type: i8,
stance_bar_order: i8,
area_id: i16,
school_mask: i8,
is_server_side: i8,
attributes_serverside: i8,
reagents: &'static [Reagent],
effects: &'static [SpellEffects],
totems: &'static [Totem],
) -> Spell {
Spell::new(
entry,
category,
cast_ui,
dispel,
mechanic,
attributes,
attributes_ex,
attributes_ex2,
attributes_ex3,
attributes_ex4,
attributes_ex5,
attributes_ex6,
stances,
stances_not,
targets,
target_creature_type,
requires_spell_focus,
facing_caster_flags,
casting_time_index,
recovery_time,
category_recovery_time,
interrupt_flags,
aura_interrupt_flags,
channel_interrupt_flags,
proc_flags,
proc_chance,
proc_charges,
max_level,
base_level,
spell_level,
duration_index,
power_type,
mana_cost,
mana_cost_per_level,
range_index,
speed,
stack_amount,
equipped_item_class,
equipped_item_sub_class_mask,
equipped_item_inventory_type_mask,
spell_visual,
spell_icon_id,
active_icon_id,
spell_priority,
spell_name,
rank_text,
mana_cost_percentage,
start_recovery_category,
start_recovery_time,
spell_family_name,
spell_family_flags,
max_affected_targets,
dmg_class,
prevention_type,
stance_bar_order,
area_id,
school_mask,
is_server_side,
attributes_serverside,
reagents,
effects,
totems,
EMPTY_TOTEMCATEGORY,
)
}