rpgmxp_types/
animation_frame.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::Table;

#[derive(
    Debug,
    serde::Serialize,
    serde::Deserialize,
    ruby_marshal_derive::FromValue,
    ruby_marshal_derive::IntoValue,
)]
#[ruby_marshal(object = b"RPG::Animation::Frame")]
pub struct AnimationFrame {
    pub cell_max: i32,
    pub cell_data: Table,
}