1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//! MOD System for ISSUN
//!
//! Provides core abstractions for dynamic content loading.
//!
//! # Architecture
//!
//! ```text
//! ┌─────────────────────────────┐
//! │ issun (Core Engine) │
//! │ ├── ModLoader trait │ ← Interface
//! │ ├── PluginControl │ ← Control API
//! │ └── ModSystemPlugin │ ← Integration
//! └─────────────────────────────┘
//! ▲ ▲
//! │ │
//! ┌──────┘ └──────┐
//! │ │
//! ┌─┴──────────────┐ ┌─────┴─────────────┐
//! │ issun-mod-rhai │ │ issun-mod-wasm │ ← Backends
//! │ (RhaiLoader) │ │ (WasmLoader) │
//! └────────────────┘ └───────────────────┘
//! ```
//!
//! # Usage
//!
//! ```ignore
//! use issun::prelude::*;
//!
//! let game = GameBuilder::new()
//! .with_plugin(ModSystemPlugin::new().with_loader(RhaiLoader::new()))?
//! .build()
//! .await?;
//! ```
pub use ;
pub use ;
pub use ModEventSystem;
pub use ;
pub use ;
pub use ;
// Backend loaders are NOT re-exported from issun core to avoid circular dependencies.
// Users should import them directly from their respective crates:
// - use issun_mod_rhai::RhaiLoader;
// - use issun_mod_wasm::WasmLoader;