Expand description
Resolver adapters for the simulation engine’s game-data port.
use wowlab_types::data::SpellDataFlat;
use wowlab_engine_adapter_data::{InMemoryResolver, OverlayResolver};
let base = InMemoryResolver::new().with_spell(SpellDataFlat {
id: 42,
..SpellDataFlat::default()
});
let resolver = OverlayResolver::new(base).with_rotation_script("example", "actions=wait");
assert!(format!("{resolver:?}").contains("OverlayResolver"));use wowlab_engine_adapter_data::LocalCsvResolver;
let resolver = LocalCsvResolver::new("/path/to/wowlab-data");
assert!(format!("{resolver:?}").contains("LocalCsvResolver"));The superseded constructor alias is intentionally unavailable:
ⓘ
use wowlab_engine_adapter_data::create_local_resolver;
let _resolver = create_local_resolver("/path/to/wowlab-data");Modules§
- bridge 🔒
- in_
memory 🔒 - local 🔒
- lookup_
key 🔒 - Named identities used by resolver-local lookup tables.
- remote 🔒
- rows 🔒
Structs§
- Cache
Error - Failure while loading or maintaining the patch-versioned game-data cache.
- Game
Data Cache - Three-layer cache (memory, disk, network) for game data keyed by patch version.
- InMemory
Resolver - In-memory data resolver populated through builder methods.
- Local
CsvResolver - Resolver backed by lazily cached DBC-derived CSV files.
- Overlay
Resolver - Applies explicit spell, effect, and rotation overrides to a base resolver.
- Resolver
Error - Resolver failure with stable, situation-oriented construction and inspection APIs.
- Spell
Search Result - Lightweight search result for spell lookups.
- Supabase
Resolver - Resolver backed by the Supabase REST API and
GameDataCache.
Enums§
- Cache
Operation - Operation that failed while loading or maintaining game-data cache state.
Traits§
- Data
Resolver - Unified data resolver trait (
DynDataResolverrestores dyn polymorphism); method futures areSendbut notSync.