mirror of
https://github.com/lifegpc/msg-tool.git
synced 2026-06-12 07:58:48 +08:00
Add artemis txt script support
This commit is contained in:
11
src/types.rs
11
src/types.rs
@@ -344,6 +344,14 @@ pub struct ExtraConfig {
|
||||
/// Use another parser to parse the script.
|
||||
/// Should only be used when the default parser not works well.
|
||||
pub will_plus_ws2_no_disasm: bool,
|
||||
#[cfg(feature = "artemis")]
|
||||
/// Artemis Engine blacklist tag names for TXT script.
|
||||
/// This is used to ignore these tags when finding names in Artemis TXT script.
|
||||
pub artemis_txt_blacklist_names: std::sync::Arc<std::collections::HashSet<String>>,
|
||||
#[cfg(feature = "artemis")]
|
||||
/// Specify the language of Artemis TXT script.
|
||||
/// If not specified, the first language will be used.
|
||||
pub artemis_txt_lang: Option<String>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, ValueEnum, PartialEq, Eq, PartialOrd, Ord)]
|
||||
@@ -355,6 +363,9 @@ pub enum ScriptType {
|
||||
#[cfg(feature = "artemis")]
|
||||
/// Artemis Engine ASB script
|
||||
ArtemisAsb,
|
||||
#[cfg(feature = "artemis")]
|
||||
/// Artemis Engine TXT script
|
||||
ArtemisTxt,
|
||||
#[cfg(feature = "artemis-arc")]
|
||||
#[value(alias("pfs"))]
|
||||
/// Artemis archive (pfs)
|
||||
|
||||
Reference in New Issue
Block a user