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