use libpso::item; #[derive(Clone, Debug)] pub enum ItemLocation { Inventory { character_id: u32, index: usize, }, Bank { character_id: u32, slot: usize }, Floor { // floor: eventually // x y z: ????? }, } #[derive(Clone, Debug)] pub struct Item { pub id: u32, pub location: ItemLocation, pub item: item::Item, }