|
|
@ -16,7 +16,7 @@ pub struct ItemId(u32); |
|
|
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
|
|
|
pub struct BankName(String);
|
|
|
|
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug, PartialEq)]
|
|
|
|
pub enum ItemLocation {
|
|
|
|
Inventory {
|
|
|
|
character_id: CharacterEntityId,
|
|
|
@ -106,7 +106,7 @@ pub struct NewItemEntity { |
|
|
|
pub item: ItemDetail,
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
#[derive(Clone, Debug, PartialEq)]
|
|
|
|
pub struct ItemEntity {
|
|
|
|
pub id: ItemEntityId,
|
|
|
|
pub location: ItemLocation,
|
|
|
|