mirror of
https://github.com/MeowCraftMC/CrystalConnector
synced 2025-05-22 02:43:00 +00:00
@@ -0,0 +1,12 @@
|
||||
using CrystalConnector.Protocol.Packets;
|
||||
using Websocket.Client;
|
||||
|
||||
namespace CrystalConnector.Client.Extensions;
|
||||
|
||||
public static class WebsocketClientExtension
|
||||
{
|
||||
public static void Send(this WebsocketClient client, IPacket packet)
|
||||
{
|
||||
client.Send(packet.Write());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user