C# Класс Pdelvo.Minecraft.Proxy.Library.Connection.ConnectionExtensions

Provides extension methods to use the IProxyExtensions simpler
Показать файл Открыть проект

Открытые методы

Метод Описание
SendClientPacket ( this connection, Packet packet ) : void

Send a packet to the client end point of the IProxyConnection

SendServerPacket ( this connection, Packet packet ) : void

Send a packet to the server end point of the IProxyConnection

Описание методов

SendClientPacket() публичный статический Метод

Send a packet to the client end point of the IProxyConnection
public static SendClientPacket ( this connection, Packet packet ) : void
connection this The connection
packet Pdelvo.Minecraft.Protocol.Packets.Packet The packet which should be sent
Результат void

SendServerPacket() публичный статический Метод

Send a packet to the server end point of the IProxyConnection
public static SendServerPacket ( this connection, Packet packet ) : void
connection this The connection
packet Pdelvo.Minecraft.Protocol.Packets.Packet The packet which should be sent
Результат void