use serde::{Deserialize, Serialize};
use self::{
char::Character, dest::Destructible, flag::Flags, inv::Inventory, lvl::Level, mf::Minifig,
mis::Missions, pet::Pets, res::Respawn,
};
#[derive(Default, Debug, PartialEq, Deserialize, Serialize)]
#[serde(rename = "obj")]
pub struct Object {
#[serde(rename = "v")]
pub version: u32,
#[serde(rename = "mf")]
pub minifig: Minifig,
#[serde(rename = "char")]
pub character: Character,
#[serde(rename = "dest")]
pub destructible: Destructible,
#[serde(rename = "inv")]
pub inventory: Inventory,
#[serde(rename = "lvl")]
pub level: Level,
#[serde(rename = "flag")]
pub flags: Flags,
#[serde(rename = "res")]
pub respawn: Respawn,
#[serde(rename = "mis")]
pub missions: Missions,
#[serde(rename = "pet")]
pub pets: Pets,
}
pub mod char;
pub mod dest;
pub mod flag;
pub mod inv;
pub mod lvl;
pub mod mf;
pub mod mis;
pub mod pet;
pub mod res;