Add itufuru(いつか降る雪) script support

This commit is contained in:
2025-06-09 23:01:30 +08:00
parent 0e6a6d5880
commit dac8aaae85
10 changed files with 684 additions and 2 deletions

View File

@@ -112,7 +112,12 @@ pub trait ScriptBuilder: std::fmt::Debug {
pub trait ArchiveContent {
fn name(&self) -> &str;
fn data(&self) -> &[u8];
fn is_script(&self) -> bool;
fn is_script(&self) -> bool {
self.script_type().is_some()
}
fn script_type(&self) -> Option<&ScriptType> {
None
}
}
pub trait Script: std::fmt::Debug {