Méthode | Description | |
---|---|---|
GetPacket ( ) : |
Gets a packet from the server and returns it.
|
|
Protocol ( string server, int port ) : System |
Initialize a new instance of Protocol.
|
|
SendPacket ( |
Sends the given packet to the connected Minecraft server.
|
public GetPacket ( ) : |
||
Résultat |
public Protocol ( string server, int port ) : System | ||
server | string | Server address to connect to. |
port | int | Server port. |
Résultat | System |
public SendPacket ( |
||
packet | The packet to send | |
Résultat | void |