Browse Source

add material count to inventory item (?????)

pull/3/head
jake 5 years ago
parent
commit
9423b29ab5
  1. 3
      src/character/character.rs

3
src/character/character.rs

@ -232,7 +232,8 @@ impl SelectScreenCharacter {
#[derive(PSOPacketData, Default, Copy, Clone)] #[derive(PSOPacketData, Default, Copy, Clone)]
pub struct InventoryItem { pub struct InventoryItem {
pub equipped: u16, pub equipped: u16,
pub tech: u16,
pub tech: u8,
pub material_count: u8, // in items 8 - 13 material usage values are stored here
pub flags: u32, pub flags: u32,
pub data1: [u8; 12], pub data1: [u8; 12],
pub item_id: u32, pub item_id: u32,

Loading…
Cancel
Save