Skip to main content

Crate wowlab_engine_domain

Crate wowlab_engine_domain 

Source
Expand description

Pure simulation-domain policy shared by the engine’s construction and runtime layers.

Modules§

base_stats 🔒
Character base stats absent from current DBC dumps.
constants
Shared gameplay constants.
damage
Damage calculation pipeline: base + coef * power, then crit, vers, armor, and multipliers.
dbc
DBC effect/aura constants and pure classifiers shared by data resolution.
encounter
Canonical typed enemy definitions and mutable encounter actor state.
gear
Gear stat decoding: typed StatType enum over WoW DBC stat_type IDs plus apply_item_stat.
numeric 🔒
Domain-specific numeric conversions whose policies are not saturating casts.
pool
rotation
JSON rotation -> LLVM JIT -> native code (~1.5ns eval).
stats
Stat and rating recomputation. Secondary/tertiary stats on CombatStats are stored as percent points (25.0 = 25%), never as a fraction.
targeting
Resolved combat targeting vocabulary independent of encounter serialization.

Constants§

MAX_BASE_STAT_LEVEL 🔒
Highest player level covered by the embedded class base-stat tables.

Functions§

character_base_stats
Returns pre-gear attributes for a class, race, and level.