C# Class Pdelvo.Minecraft.Proxy.Library.Connection.ConnectionExtensions

Provides extension methods to use the IProxyExtensions simpler
Afficher le fichier Open project: pdelvo/Pdelvo.Minecraft.Proxy

Méthodes publiques

Méthode Description
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

Method Details

SendClientPacket() public static méthode

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
Résultat void

SendServerPacket() public static méthode

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
Résultat void