#[derive(Debug, Clone, yog_data::Schema)]
pub struct Open {
pub id: String,
}
#[derive(Debug, Clone, yog_data::Schema)]
pub struct Play {
pub handle: u32,
pub playing: bool,
}
#[derive(Debug, Clone, yog_data::Schema)]
pub struct Seek {
pub handle: u32,
pub seconds: f64,
}
#[derive(Debug, Clone, yog_data::Schema)]
pub struct Close {
pub handle: u32,
}
#[derive(Debug, Clone, yog_data::Schema)]
pub struct Frame {
pub handle: u32,
}
#[derive(Debug, Clone, yog_data::Schema)]
pub struct Cutscene {
pub id: String,
pub skippable: bool,
}
#[derive(Debug, Clone, Default, PartialEq, yog_data::Schema)]
pub struct Picture {
pub texture: String,
pub width: u32,
pub height: u32,
pub seconds: f64,
pub length: f64,
pub playing: bool,
}