rpgmvx_types/
event_page.rs

1use crate::EventCommand;
2use crate::EventPageCondition;
3use crate::EventPageGraphic;
4use crate::MoveRoute;
5
6#[derive(
7    Debug,
8    serde::Serialize,
9    serde::Deserialize,
10    ruby_marshal_derive::FromValue,
11    ruby_marshal_derive::IntoValue,
12)]
13#[ruby_marshal(object = b"RPG::Event::Page")]
14pub struct EventPage {
15    pub move_route: MoveRoute,
16    pub trigger: i32,
17    pub step_anime: bool,
18    pub move_frequency: i32,
19    pub priority_type: i32,
20    pub graphic: EventPageGraphic,
21    pub walk_anime: bool,
22    pub move_speed: i32,
23    pub through: bool,
24    pub list: Vec<EventCommand>,
25    pub move_type: i32,
26    pub direction_fix: bool,
27    pub condition: EventPageCondition,
28}