initial commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using Crysome.Common.Network;
|
||||
using Crysome.Common.Network.Packets;
|
||||
using Crysome.Common.Network.Packets.Client;
|
||||
using Crysome.Common.Network.Packets.Server;
|
||||
|
||||
namespace Crysome.Client.Handlers;
|
||||
|
||||
public static class PingHandlers
|
||||
{
|
||||
public static void HandlePing(CrysomeClient client, IPacket packet)
|
||||
{
|
||||
//IL_0001: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0007: Expected O, but got Unknown
|
||||
//IL_000e: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0018: Expected O, but got Unknown
|
||||
PingRequestPacket val = (PingRequestPacket)packet;
|
||||
client.SendPacket((IPacket)new PingResponsePacket(val.ServerTick));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user