C# 클래스 Pdelvo.Minecraft.Proxy.Library.Connection.ConnectionExtensions

Provides extension methods to use the IProxyExtensions simpler
파일 보기 프로젝트 열기: pdelvo/Pdelvo.Minecraft.Proxy

공개 메소드들

메소드 설명
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