Метод | Описание | |
---|---|---|
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 ( ) : |
||
Результат |
public Protocol ( string server, int port ) : System | ||
server | string | Server address to connect to. |
port | int | Server port. |
Результат | System |
public SendPacket ( |
||
packet | The packet to send | |
Результат | void |