From dcd030c6ed41e080846d1d50cf82e1055ae48edd Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Fri, 15 Sep 2017 20:46:56 +0500 Subject: 2017-09-15 --- src/Network.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/Network.cpp') diff --git a/src/Network.cpp b/src/Network.cpp index 4606959..cf4fe15 100644 --- a/src/Network.cpp +++ b/src/Network.cpp @@ -47,6 +47,7 @@ std::shared_ptr Network::ReceivePacketByPacketId(int packetId, Connectio packet = std::make_shared(); break; } + break; case Login: switch (packetId) { case PacketNameLoginCB::LoginSuccess: @@ -102,17 +103,17 @@ std::shared_ptr Network::ParsePacketPlay(PacketNamePlayCB id) { case MultiBlockChange: return std::make_shared(); case ConfirmTransactionCB: - break; + return std::make_shared(); case CloseWindowCB: - break; + return std::make_shared(); case OpenWindow: - break; + return std::make_shared(); case WindowItems: - break; + return std::make_shared(); case WindowProperty: - break; + return std::make_shared(); case SetSlot: - break; + return std::make_shared(); case SetCooldown: break; case PluginMessageCB: -- cgit v1.2.3