Skip to main content

wowlab_parsers/parsers/
mod.rs

1mod access;
2#[cfg(feature = "crypto")]
3mod crypto;
4mod csv;
5#[cfg(feature = "dbc")]
6mod dbc;
7mod errors;
8mod formatting;
9pub mod parcel;
10mod scaling;
11mod simc;
12mod spell_desc;
13mod token_stream;
14mod transform;
15
16pub use access::{AccessControl, AccessRule, ParseAccessError, parse_access_control};
17#[cfg(feature = "crypto")]
18pub use crypto::{
19    CryptoError, CryptoInput, NodeKeypair, build_sign_message, keypair_from_base64, sha256_hex,
20    verify_signature, verify_signature_base64,
21};
22pub use csv::parse_csv_list;
23#[cfg(feature = "dbc")]
24pub use dbc::rows::creature::{
25    ContentTuningRow, ContentTuningXDifficultyRow, ContentTuningXExpectedRow,
26    CreatureDifficultyRow, CreatureRow,
27};
28#[cfg(feature = "dbc")]
29pub use dbc::rows::scaling::ExpectedStatModRow;
30#[cfg(feature = "dbc")]
31pub use dbc::{DbcData, GameTable};
32#[cfg(feature = "dbc")]
33pub use errors::{DbcError, TransformError};
34pub use scaling::{
35    get_bonus_description, get_stat_budget, get_stat_name, interpolate_curve,
36    inventory_type_to_slot_index, resolve_item,
37};
38pub use simc::{
39    Character, Item, Loadout, Profession, Profile, SimcParseError, Talents, WowClass,
40    parse as parse_simc,
41};
42pub use spell_desc::{
43    CrossSpellEffectCopy, EffectPrecisionScale, EffectValueResolver, GameDataResolver,
44    NullResolver, ParseResult as SpellDescParseResult, ParsedSpellDescription, PlayerStateResolver,
45    SpecConditionalEffects, SpellDescResolver, SpellDescriptionNode, SpellTextResolver,
46    TestResolver, VariableNode, analyze_dependencies as analyze_spell_desc_dependencies,
47    crit_chance_scaled_effect_index as spell_desc_crit_chance_scaled_effect_index,
48    cross_spell_precision_copies as spell_desc_cross_spell_precision_copies,
49    effect_precision_scales as spell_desc_effect_precision_scales, parse as parse_spell_desc,
50    precision_rendered_effect_indexes as spell_desc_precision_rendered_effect_indexes,
51    render_global_string, render_with_resolver as render_spell_desc,
52    spec_conditional_effects as spell_desc_spec_conditional_effects,
53};
54#[cfg(feature = "wasm")]
55pub use spell_desc::{
56    WasmAnalyzeResult, wasm_analyze_spell_desc, wasm_render_spell_desc_with_data,
57    wasm_tokenize_spell_desc,
58};
59pub use token_stream::TokenStream;
60pub use transform::SpellKnowledgeContext;
61#[cfg(feature = "dbc")]
62pub use transform::{
63    MIDNIGHT_EXPANSION_ID, OMNIUM_SYSTEM, OMNIUM_TRAIT_TREE_ID, RotationOverlayError,
64    apply_rotation_overlay, assisted_spell_overrides, transform_all_armor_location,
65    transform_all_challenge_mode_item_bonus_overrides, transform_all_classes,
66    transform_all_content_tuning_x_difficulty, transform_all_content_tuning_x_expected,
67    transform_all_content_tunings, transform_all_cooldown_sets, transform_all_crafted_products,
68    transform_all_creature_difficulties, transform_all_creatures, transform_all_currencies,
69    transform_all_currency_categories, transform_all_curve_points, transform_all_curves,
70    transform_all_delves_seasons, transform_all_difficulties, transform_all_enchantments,
71    transform_all_expansion_trait_trees, transform_all_expected_stat_mods,
72    transform_all_expected_stats, transform_all_gem_properties, transform_all_global_colors,
73    transform_all_global_strings, transform_all_item_armor_quality,
74    transform_all_item_armor_shield, transform_all_item_armor_total,
75    transform_all_item_bonus_list_groups, transform_all_item_bonus_sequence_spells,
76    transform_all_item_bonuses, transform_all_item_conversions, transform_all_item_damage_scaling,
77    transform_all_item_drop_scaling, transform_all_item_group_ilvl_scaling_entries,
78    transform_all_item_level_selector_qualities, transform_all_item_level_selector_quality_sets,
79    transform_all_item_level_selectors, transform_all_item_offset_curves,
80    transform_all_item_scaling_configs, transform_all_item_squish_eras, transform_all_items,
81    transform_all_journal_instances, transform_all_journal_tiers,
82    transform_all_mythic_plus_seasons, transform_all_permanent_enchants, transform_all_power_types,
83    transform_all_professions, transform_all_pvp_seasons, transform_all_pvp_tiers,
84    transform_all_racial_spells, transform_all_rand_prop_points,
85    transform_all_specialization_spells, transform_all_specs, transform_all_spells,
86    transform_all_trait_trees, transform_armor_mitigation_by_lvl, transform_assisted_rotation,
87    transform_assisted_rotations, transform_base_mp, transform_base_profession_ratings,
88    transform_challenge_mode_damage, transform_challenge_mode_health, transform_class,
89    transform_combat_ratings, transform_combat_ratings_mult_by_ilvl, transform_global_color,
90    transform_global_string, transform_hp_per_sta, transform_item,
91    transform_item_socket_cost_per_level, transform_npc_damage_by_class, transform_npc_total_hp,
92    transform_profession_ratings, transform_spec, transform_spell, transform_spell_scaling,
93    transform_stamina_mult_by_ilvl, transform_trait_tree,
94};