rpgmvx_types/se.rs
1pub(crate) const OBJECT_NAME: &[u8] = b"RPG::SE";
2
3#[derive(
4 Debug,
5 serde::Serialize,
6 serde::Deserialize,
7 ruby_marshal_derive::FromValue,
8 ruby_marshal_derive::IntoValue,
9)]
10#[ruby_marshal(object = b"RPG::SE")]
11pub struct Se {
12 #[ruby_marshal(
13 from_value = "crate::util::ruby_string2string",
14 into_value = "crate::util::string2ruby_string"
15 )]
16 pub name: String,
17 pub volume: i32,
18 pub pitch: i32,
19}