make equippedentity serializeable
This commit is contained in:
parent
c7a310391f
commit
ceb632aec8
@ -217,7 +217,7 @@ impl InventoryItemEntity {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Debug, Default)]
|
#[derive(Clone, Debug, Default, Serialize, Deserialize)]
|
||||||
pub struct EquippedEntity {
|
pub struct EquippedEntity {
|
||||||
pub weapon: Option<ItemEntityId>,
|
pub weapon: Option<ItemEntityId>,
|
||||||
pub armor: Option<ItemEntityId>,
|
pub armor: Option<ItemEntityId>,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user