pub mod sink;
#[derive(Default, Debug, PartialEq)]
pub struct Object {
pub attr_v: u32,
pub buff: Option<Buff>,
pub dest: Option<Destructible>,
pub inv: Option<Inventory>,
pub mf: Option<Minifig>,
}
#[derive(Default, Debug, PartialEq)]
pub struct Buff {}
#[derive(Default, Debug, PartialEq)]
pub struct Destructible {
pub attr_ac: Option<u32>,
pub attr_am: Option<u32>,
pub attr_d: Option<bool>,
pub attr_hc: Option<u32>,
pub attr_hm: Option<u32>,
pub attr_ic: Option<u32>,
pub attr_im: Option<u32>,
pub attr_imm: Option<u32>,
pub attr_rsh: Option<u32>,
pub attr_rsi: Option<u32>,
}
#[derive(Default, Debug, PartialEq)]
pub struct Inventory {
pub attr_csl: Option<u32>,
pub bag: Vec<Bag>,
pub grps: Vec<Group>,
pub items: Items,
}
#[derive(Default, Debug, PartialEq)]
pub struct Bag {
pub attr_t: u32,
pub attr_m: u32,
}
#[derive(Default, Debug, PartialEq)]
pub struct Group {
pub attr_id: String,
pub attr_l: String,
pub attr_n: String,
pub attr_t: u32,
pub attr_u: String,
}
#[derive(Default, Debug, PartialEq)]
pub struct Items {
pub attr_nn: String,
pub children: Vec<ItemBag>,
}
#[derive(Default, Debug, PartialEq)]
pub struct ItemBag {
pub attr_t: u32,
pub children: Vec<Item>,
}
#[derive(Default, Debug, PartialEq)]
pub struct Item {
pub attr_b: bool,
pub attr_c: u32,
pub attr_eq: bool,
pub attr_id: u64,
pub attr_l: u32,
pub attr_s: u32,
pub attr_sk: u32,
pub x: Option<ItemExtra>,
}
#[derive(Default, Debug, PartialEq)]
pub struct ItemExtra {
pub attr_b: String,
pub attr_ma: String,
pub attr_ub: String,
pub attr_ud: String,
pub attr_ui: String,
pub attr_um: String,
pub attr_un: String,
pub attr_uo: String,
pub attr_up: String,
}
#[derive(Default, Debug, PartialEq)]
pub struct Minifig {
pub attr_cd: u32,
pub attr_es: u32,
pub attr_ess: u32,
pub attr_hc: u32,
pub attr_hd: u32,
pub attr_hdc: u32,
pub attr_hs: u32,
pub attr_l: u32,
pub attr_lh: u32,
pub attr_ms: u32,
pub attr_rh: u32,
pub attr_t: u32,
}