Browse Source

Merge pull request 'fix some player position variables' (#35) from player_position into master

Reviewed-by: jake <jake@sharnoth.com>
pull/3/head
jake 5 years ago
parent
commit
02a65b9505
  1. 14
      src/packet/messages.rs

14
src/packet/messages.rs

@ -124,12 +124,12 @@ pub struct PlayerChangedMap {
#[pso_message(0x1F)]
pub struct PlayerChangedMap2 {
unknown1: u32,
map_area: u32,
}
#[pso_message(0x20)]
pub struct TellOtherPlayerMyLocation {
unknown1: u32,
map_area: u32,
x: f32,
y: f32,
z: f32,
@ -212,9 +212,9 @@ pub struct AddItemToInventory {
pub struct InitializeSpeechNpc {
unknown1: u16,
unknown2: u16,
location: u32,
location2: u32,
unknown3: u32,
x: f32,
z: f32,
unknown3: f32,
}
#[pso_message(0x2D)]
@ -295,8 +295,8 @@ pub struct PlayerLoadedIn {
#[pso_message(0x40)]
pub struct PlayerWalking {
x: f32,
y: f32,
z: f32,
unknown: f32,
}
#[pso_message(0x42)]
@ -402,9 +402,9 @@ pub struct TalkToNpc {
#[pso_message(0x55)]
pub struct PlayerWarped {
unknown1: u32,
x: f32,
y: f32,
z: f32,
}
#[pso_message(0x58)]

Loading…
Cancel
Save