Browse Source

maybe test things

pull/3/head
jake 5 years ago
parent
commit
be140db13a
  1. 6
      src/packet/messages.rs

6
src/packet/messages.rs

@ -944,7 +944,7 @@ pub enum GameMessage {
PlayerUseItem(PlayerUseItem), PlayerUseItem(PlayerUseItem),
PlayerFeedMag(PlayerFeedMag), PlayerFeedMag(PlayerFeedMag),
PlayerDropItem(PlayerDropItem), PlayerDropItem(PlayerDropItem),
PlayerDropItem2(PlayerDropItem2),
PlayerSplitItemStack(PlayerSplitItemStack),
AddItemToInventory(AddItemToInventory), AddItemToInventory(AddItemToInventory),
InitializeSpeechNpc(InitializeSpeechNpc), InitializeSpeechNpc(InitializeSpeechNpc),
FinishSpeechNpc(FinishSpeechNpc), FinishSpeechNpc(FinishSpeechNpc),
@ -1106,7 +1106,7 @@ impl PSOPacketData for GameMessage {
PlayerUseItem::CMD => Ok(GameMessage::PlayerUseItem(PlayerUseItem::from_bytes(&mut cur)?)), PlayerUseItem::CMD => Ok(GameMessage::PlayerUseItem(PlayerUseItem::from_bytes(&mut cur)?)),
PlayerFeedMag::CMD => Ok(GameMessage::PlayerFeedMag(PlayerFeedMag::from_bytes(&mut cur)?)), PlayerFeedMag::CMD => Ok(GameMessage::PlayerFeedMag(PlayerFeedMag::from_bytes(&mut cur)?)),
PlayerDropItem::CMD => Ok(GameMessage::PlayerDropItem(PlayerDropItem::from_bytes(&mut cur)?)), PlayerDropItem::CMD => Ok(GameMessage::PlayerDropItem(PlayerDropItem::from_bytes(&mut cur)?)),
PlayerDropItem2::CMD => Ok(GameMessage::PlayerDropItem2(PlayerDropItem2::from_bytes(&mut cur)?)),
PlayerSplitItemStack::CMD => Ok(GameMessage::PlayerSplitItemStack(PlayerSplitItemStack::from_bytes(&mut cur)?)),
AddItemToInventory::CMD => Ok(GameMessage::AddItemToInventory(AddItemToInventory::from_bytes(&mut cur)?)), AddItemToInventory::CMD => Ok(GameMessage::AddItemToInventory(AddItemToInventory::from_bytes(&mut cur)?)),
InitializeSpeechNpc::CMD => Ok(GameMessage::InitializeSpeechNpc(InitializeSpeechNpc::from_bytes(&mut cur)?)), InitializeSpeechNpc::CMD => Ok(GameMessage::InitializeSpeechNpc(InitializeSpeechNpc::from_bytes(&mut cur)?)),
FinishSpeechNpc::CMD => Ok(GameMessage::FinishSpeechNpc(FinishSpeechNpc::from_bytes(&mut cur)?)), FinishSpeechNpc::CMD => Ok(GameMessage::FinishSpeechNpc(FinishSpeechNpc::from_bytes(&mut cur)?)),
@ -1270,7 +1270,7 @@ impl PSOPacketData for GameMessage {
GameMessage::PlayerUseItem(data) => data.as_bytes(), GameMessage::PlayerUseItem(data) => data.as_bytes(),
GameMessage::PlayerFeedMag(data) => data.as_bytes(), GameMessage::PlayerFeedMag(data) => data.as_bytes(),
GameMessage::PlayerDropItem(data) => data.as_bytes(), GameMessage::PlayerDropItem(data) => data.as_bytes(),
GameMessage::PlayerDropItem2(data) => data.as_bytes(),
GameMessage::PlayerSplitItemStack(data) => data.as_bytes(),
GameMessage::AddItemToInventory(data) => data.as_bytes(), GameMessage::AddItemToInventory(data) => data.as_bytes(),
GameMessage::InitializeSpeechNpc(data) => data.as_bytes(), GameMessage::InitializeSpeechNpc(data) => data.as_bytes(),
GameMessage::FinishSpeechNpc(data) => data.as_bytes(), GameMessage::FinishSpeechNpc(data) => data.as_bytes(),

Loading…
Cancel
Save