use serde::Deserialize; #[derive(Deserialize, Debug, Clone)] #[cfg_attr(feature = "strict_json_fields", serde(deny_unknown_fields))] #[serde(rename_all = "PascalCase")] pub struct BossViewConfig { pub boss_state_view_type: Option, pub boss_state_info_show_type: Option, pub tid_level_text: Option, pub tid_boss_sub_title: Option, pub show_distance: Option, pub only_show_in_battle_state: Option, } #[derive(Deserialize, Debug, Clone)] #[cfg_attr(feature = "strict_json_fields", serde(deny_unknown_fields))] #[serde(rename_all = "PascalCase")] pub struct ShowOnDeath { pub r#type: Option, pub effect_id: Option, } #[derive(Deserialize, Debug, Clone)] #[cfg_attr(feature = "strict_json_fields", serde(deny_unknown_fields))] #[serde(rename_all = "PascalCase")] pub struct PerformConfig { pub show_on_death: Option, } #[derive(Deserialize, Debug, Clone)] #[cfg_attr(feature = "strict_json_fields", serde(deny_unknown_fields))] #[serde(rename_all = "PascalCase")] pub struct MonsterComponent { pub disabled: Option, pub init_gas_tag: Option>, pub special_hate_and_sense_config: Option, pub boss_view_config: Option, pub perform_config: Option, pub fight_config_id: Option, }