rpgmvx_types/
event_page_condition.rs1#[derive(
2 Debug,
3 serde::Serialize,
4 serde::Deserialize,
5 ruby_marshal_derive::FromValue,
6 ruby_marshal_derive::IntoValue,
7)]
8#[ruby_marshal(object = b"RPG::Event::Page::Condition")]
9pub struct EventPageCondition {
10 pub switch1_valid: bool,
11 pub switch2_valid: bool,
12 pub variable_valid: bool,
13 pub self_switch_valid: bool,
14 pub item_valid: bool,
15 pub actor_valid: bool,
16 pub switch1_id: i32,
17 pub switch2_id: i32,
18 pub variable_id: i32,
19 pub variable_value: i32,
20 #[ruby_marshal(
21 from_value = "crate::util::ruby_string2string",
22 into_value = "crate::util::string2ruby_string"
23 )]
24 pub self_switch_ch: String,
25 pub item_id: i32,
26 pub actor_id: i32,
27}