assembly_data/xml/obj/store/
mod.rs1pub mod sink;
2
3#[derive(Default, Debug, PartialEq)]
5pub struct Object {
6 pub attr_v: u32,
8 pub buff: Option<Buff>,
10 pub dest: Option<Destructible>,
12 pub inv: Option<Inventory>,
14 pub mf: Option<Minifig>,
16}
17
18#[derive(Default, Debug, PartialEq)]
20pub struct Buff {}
21
22#[derive(Default, Debug, PartialEq)]
24pub struct Destructible {
25 pub attr_ac: Option<u32>,
27 pub attr_am: Option<u32>,
29 pub attr_d: Option<bool>,
31 pub attr_hc: Option<u32>,
33 pub attr_hm: Option<u32>,
35 pub attr_ic: Option<u32>,
37 pub attr_im: Option<u32>,
39 pub attr_imm: Option<u32>,
41 pub attr_rsh: Option<u32>,
43 pub attr_rsi: Option<u32>,
45}
46
47#[derive(Default, Debug, PartialEq)]
49pub struct Inventory {
50 pub attr_csl: Option<u32>,
52 pub bag: Vec<Bag>,
54 pub grps: Vec<Group>,
56 pub items: Items,
58}
59
60#[derive(Default, Debug, PartialEq)]
62pub struct Bag {
63 pub attr_t: u32,
65 pub attr_m: u32,
67}
68
69#[derive(Default, Debug, PartialEq)]
71pub struct Group {
72 pub attr_id: String,
74 pub attr_l: String,
76 pub attr_n: String,
78 pub attr_t: u32,
80 pub attr_u: String,
82}
83
84#[derive(Default, Debug, PartialEq)]
86pub struct Items {
87 pub attr_nn: String,
88 pub children: Vec<ItemBag>,
89}
90
91#[derive(Default, Debug, PartialEq)]
93pub struct ItemBag {
94 pub attr_t: u32,
95 pub children: Vec<Item>,
96}
97
98#[derive(Default, Debug, PartialEq)]
100pub struct Item {
101 pub attr_b: bool,
103 pub attr_c: u32,
105 pub attr_eq: bool,
107 pub attr_id: u64,
109 pub attr_l: u32,
111 pub attr_s: u32,
113 pub attr_sk: u32,
115 pub x: Option<ItemExtra>,
117}
118
119#[derive(Default, Debug, PartialEq)]
120pub struct ItemExtra {
121 pub attr_b: String,
122 pub attr_ma: String,
124 pub attr_ub: String,
125 pub attr_ud: String,
126 pub attr_ui: String,
127 pub attr_um: String,
128 pub attr_un: String,
130 pub attr_uo: String,
131 pub attr_up: String,
132}
133
134#[derive(Default, Debug, PartialEq)]
135pub struct Minifig {
137 pub attr_cd: u32,
139 pub attr_es: u32,
141 pub attr_ess: u32,
143 pub attr_hc: u32,
145 pub attr_hd: u32,
147 pub attr_hdc: u32,
149 pub attr_hs: u32,
151 pub attr_l: u32,
153 pub attr_lh: u32,
155 pub attr_ms: u32,
157 pub attr_rh: u32,
159 pub attr_t: u32,
161}