From be140db13a1b98bb2097575fc53a55b490c10dd3 Mon Sep 17 00:00:00 2001 From: jake Date: Wed, 13 May 2020 23:22:11 -0600 Subject: [PATCH] maybe test things --- src/packet/messages.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/packet/messages.rs b/src/packet/messages.rs index a9f7f40..432c373 100644 --- a/src/packet/messages.rs +++ b/src/packet/messages.rs @@ -944,7 +944,7 @@ pub enum GameMessage { PlayerUseItem(PlayerUseItem), PlayerFeedMag(PlayerFeedMag), PlayerDropItem(PlayerDropItem), - PlayerDropItem2(PlayerDropItem2), + PlayerSplitItemStack(PlayerSplitItemStack), AddItemToInventory(AddItemToInventory), InitializeSpeechNpc(InitializeSpeechNpc), FinishSpeechNpc(FinishSpeechNpc), @@ -1106,7 +1106,7 @@ impl PSOPacketData for GameMessage { PlayerUseItem::CMD => Ok(GameMessage::PlayerUseItem(PlayerUseItem::from_bytes(&mut cur)?)), PlayerFeedMag::CMD => Ok(GameMessage::PlayerFeedMag(PlayerFeedMag::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)?)), InitializeSpeechNpc::CMD => Ok(GameMessage::InitializeSpeechNpc(InitializeSpeechNpc::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::PlayerFeedMag(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::InitializeSpeechNpc(data) => data.as_bytes(), GameMessage::FinishSpeechNpc(data) => data.as_bytes(),