Struct assembly_xml::obj::inv::Item [−][src]
pub struct Item {
pub bound: bool,
pub count: u32,
pub equipped: bool,
pub id: u64,
pub template: u32,
pub slot: u32,
pub subkey: u64,
pub x: Option<ItemExtra>,
}
Expand description
An item in an inventory
Fields
bound: bool
Whether the item is bound
count: u32
Amount of items for stackable items.
equipped: bool
Boolean whether the item is equipped.
If it isn’t, this attribute isn’t there at all, if it is, it’s set to 1.
id: u64
Object ID
template: u32
LOT
slot: u32
Slot
subkey: u64
Some kind of ID for models. Investigate. Referred to by client strings as “subkey”?
x: Option<ItemExtra>
Extra Info
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more