-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed reconnect issue, added client disconnect packet
- Loading branch information
1 parent
1f4a8c3
commit 657d11d
Showing
9 changed files
with
118 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
HKMP/Networking/Packet/Custom/ClientPlayerDisconnectPacket.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace HKMP.Networking.Packet.Custom { | ||
public class ClientPlayerDisconnectPacket : GenericClientPacket { | ||
public ClientPlayerDisconnectPacket() : base(PacketId.PlayerDisconnect) { | ||
} | ||
|
||
public ClientPlayerDisconnectPacket(Packet packet) : base(PacketId.PlayerDisconnect, packet) { | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
HKMP/Networking/Packet/Custom/ServerPlayerDisconnectPacket.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace HKMP.Networking.Packet.Custom { | ||
public class ServerPlayerDisconnectPacket : GenericServerPacket { | ||
|
||
public ServerPlayerDisconnectPacket() : base(PacketId.PlayerDisconnect) { | ||
} | ||
|
||
public ServerPlayerDisconnectPacket(Packet packet) : base(PacketId.PlayerDisconnect, packet) { | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters