mirror of
https://github.com/lifegpc/msg-tool.git
synced 2026-06-07 21:38:58 +08:00
15 lines
449 B
Rust
15 lines
449 B
Rust
pub mod base;
|
|
pub mod bgi;
|
|
pub mod circus;
|
|
|
|
pub use base::{Script, ScriptBuilder};
|
|
|
|
lazy_static::lazy_static! {
|
|
pub static ref BUILDER: Vec<Box<dyn ScriptBuilder + Sync + Send>> = vec![
|
|
Box::new(circus::script::CircusMesScriptBuilder::new()),
|
|
Box::new(bgi::script::BGIScriptBuilder::new()),
|
|
];
|
|
pub static ref ALL_EXTS: Vec<String> =
|
|
BUILDER.iter().flat_map(|b| b.extensions()).map(|s| s.to_string()).collect();
|
|
}
|