Expand description
Shared numeric constants used across the workspace.
Constants§
- ANCESTRAL_
CALL_ SPELL_ ID - Mag’har Orc Ancestral Call spell.
- AUGMENT_
RUNE_ SPELL_ ID - Crystallized augment rune buff spell.
- AUGMENT_
RUNE_ SPELL_ IDS - Ordered augment-rune name fragments and their buff spells.
- BACKOFF_
MULTIPLIER - Exponential backoff multiplier.
- BERSERKING_
SPELL_ ID - Troll Berserking spell.
- BLOODLUST_
SPELL_ ID - Bloodlust raid-buff spell.
- BLOOD_
FURY_ SPELL_ ID - Orc Blood Fury spell.
- BYTES_
PER_ KB - Bytes per kilobyte (f64).
- BYTES_
PER_ KB_ USIZE - Bytes per kilobyte (usize).
- BYTES_
PER_ MB - Bytes per megabyte (f64).
- BYTES_
PER_ MB_ USIZE - Bytes per megabyte (usize).
- CURRENT_
EXPANSION_ ID - Current
WoWexpansion identifier. - DEFAULT_
DURATION_ S - Default simulation duration in seconds.
- DEFAULT_
GCD_ MS - Default GCD duration in milliseconds.
- DEFAULT_
GCD_ MS_ I32 - Default GCD duration in milliseconds (i32 for DBC field compatibility).
- DEFAULT_
ICON_ FILENAME - Default icon filename for unknown/missing icons.
- DEFAULT_
WOW_ PATCH - Default
WoWpatch version used for game-data queries whenWOWLAB_PATCHis unset. - FLASK_
ALCHEMICAL_ CHAOS_ SPELL_ ID - Flask of Alchemical Chaos buff spell.
- FOOD_
PRIMARY_ STAT_ COEFFICIENT_ EFFECT_ INDEX - Effect index containing the primary-stat food coefficient.
- FOOD_
PRIMARY_ STAT_ COEFFICIENT_ SPELL_ ID - Spell containing the primary-stat food coefficient.
- GCD_
FLOOR_ MS - Minimum GCD duration in milliseconds.
- HTTP_
CONNECT_ TIMEOUT_ SECS - HTTP connect timeout in seconds.
- HTTP_
REQUEST_ TIMEOUT_ SECS - HTTP request timeout in seconds.
- HUNDRED
- Percentage conversion, rounding denominators, etc.
- HUNDRED_
U32 - Percentage conversion (u32 for integer math).
- HUNDRED_
U64 - Percentage conversion (u64 for integer math).
- JSON_
ERROR_ PREVIEW_ LEN - Maximum length of JSON error preview strings.
- MAX_
PLAYER_ LEVEL - Maximum player level supported by the current game-data release.
- MAX_
RETRY_ ATTEMPTS - Maximum number of retry attempts for fallible operations.
- MS_
PER_ HOUR - Milliseconds per hour (f64).
- MS_
PER_ MINUTE - Milliseconds per minute (f64).
- MS_
PER_ SECOND - Milliseconds per second (f64).
- MS_
PER_ SECOND_ U64 - Milliseconds per second (u64).
- ONE_
MILLION - Microsecond conversion, large-scale factors.
- POWERFUL_
EVERSONG_ DIAMOND_ SPELL_ ID - Powerful Eversong Diamond passive item-effect spell.
- PRIMARY_
FOOD_ BUFF_ SPELL_ IDS - Ordered primary-stat food use spells and their resulting buff spells.
- PROTO_
DPS_ SCALE - DPS values are stored as
(value * 10)in protobuf for one decimal place. - PROTO_
RESOURCE_ SCALE - Resource/percentage values use a wire-format scale of two decimal places.
- QUANTILE_
P01 - Quantile fraction for p01 (1st percentile).
- QUANTILE_
P05 - Quantile fraction for p05 (5th percentile).
- QUANTILE_
P10 - Quantile fraction for p10 (10th percentile).
- QUANTILE_
P25 - Quantile fraction for p25 (25th percentile).
- QUANTILE_
P50 - Quantile fraction for p50 (50th percentile / median).
- QUANTILE_
P75 - Quantile fraction for p75 (75th percentile).
- QUANTILE_
P90 - Quantile fraction for p90 (90th percentile).
- QUANTILE_
P95 - Quantile fraction for p95 (95th percentile).
- QUANTILE_
P99 - Quantile fraction for p99 (99th percentile).
- RACIAL_
ON_ USE_ SPELL_ IDS - Ordered race-to-modeled-on-use-racial spell IDs.
- SECONDS_
PER_ DAY - Seconds per day (u64).
- SECONDS_
PER_ HOUR - Seconds per hour (u64).
- SECONDS_
PER_ MINUTE - Seconds per minute (f64).
- SECONDS_
PER_ MINUTE_ U64 - Seconds per minute (u64).
- TEMPERED_
POTION_ SPELL_ ID - Tempered Potion buff spell.
- TEN_
THOUSAND - High-precision scaling (e.g. CI bounds).
- THOUSAND
- Generic one-thousand scalar for non-time arithmetic.
- WAIT_
UNTIL_ POLL_ SECS - Default wait-until poll interval in seconds.