|
@ -597,6 +597,7 @@ pub enum PgItemNoteDetail { |
|
|
character_id: u32,
|
|
|
character_id: u32,
|
|
|
},
|
|
|
},
|
|
|
PlayerDrop {
|
|
|
PlayerDrop {
|
|
|
|
|
|
character_id: u32,
|
|
|
map_area: MapArea,
|
|
|
map_area: MapArea,
|
|
|
x: f32,
|
|
|
x: f32,
|
|
|
y: f32,
|
|
|
y: f32,
|
|
@ -631,7 +632,8 @@ impl From<ItemNote> for PgItemNoteDetail { |
|
|
ItemNote::Pickup{character_id} => PgItemNoteDetail::Pickup {
|
|
|
ItemNote::Pickup{character_id} => PgItemNoteDetail::Pickup {
|
|
|
character_id: character_id.0,
|
|
|
character_id: character_id.0,
|
|
|
},
|
|
|
},
|
|
|
ItemNote::PlayerDrop{map_area, x, y, z} => PgItemNoteDetail::PlayerDrop {
|
|
|
|
|
|
|
|
|
ItemNote::PlayerDrop{character_id, map_area, x, y, z} => PgItemNoteDetail::PlayerDrop {
|
|
|
|
|
|
character_id: character_id.0,
|
|
|
map_area,
|
|
|
map_area,
|
|
|
x,y,z,
|
|
|
x,y,z,
|
|
|
},
|
|
|
},
|
|
@ -666,7 +668,8 @@ impl From<PgItemNoteDetail> for ItemNote { |
|
|
PgItemNoteDetail::Pickup{character_id} => ItemNote::Pickup {
|
|
|
PgItemNoteDetail::Pickup{character_id} => ItemNote::Pickup {
|
|
|
character_id: CharacterEntityId(character_id as u32),
|
|
|
character_id: CharacterEntityId(character_id as u32),
|
|
|
},
|
|
|
},
|
|
|
PgItemNoteDetail::PlayerDrop{map_area, x, y, z} => ItemNote::PlayerDrop {
|
|
|
|
|
|
|
|
|
PgItemNoteDetail::PlayerDrop{character_id, map_area, x, y, z} => ItemNote::PlayerDrop {
|
|
|
|
|
|
character_id: CharacterEntityId(character_id as u32),
|
|
|
map_area,
|
|
|
map_area,
|
|
|
x,y,z,
|
|
|
x,y,z,
|
|
|
},
|
|
|
},
|
|
|