C# Class Pdelvo.Minecraft.Protocol.Packets.Packet

Mostrar archivo Open project: pdelvo/Pdelvo.Minecraft Class Usage Examples

Public Methods

Method Description
Receive ( BigEndianStream reader, int version ) : void

Receives the specified reader.

ReceiveAsync ( BigEndianStream reader, int version ) : System.Threading.Tasks.Task
Send ( BigEndianStream stream, int version ) : void

Sends the specified stream.

SendItem ( BigEndianStream stream, int version ) : void

Sends the item.

SendItemAsync ( BigEndianStream stream, int version ) : System.Threading.Tasks.Task

Protected Methods

Method Description
OnReceive ( BigEndianStream reader, int version ) : void
OnReceiveAsync ( BigEndianStream reader, int version ) : System.Threading.Tasks.Task
OnSend ( BigEndianStream writer, int version ) : void
OnSendAsync ( BigEndianStream writer, int version ) : System.Threading.Tasks.Task

Method Details

OnReceive() protected abstract method

protected abstract OnReceive ( BigEndianStream reader, int version ) : void
reader Pdelvo.Minecraft.Network.BigEndianStream
version int
return void

OnReceiveAsync() protected method

protected OnReceiveAsync ( BigEndianStream reader, int version ) : System.Threading.Tasks.Task
reader Pdelvo.Minecraft.Network.BigEndianStream
version int
return System.Threading.Tasks.Task

OnSend() protected abstract method

protected abstract OnSend ( BigEndianStream writer, int version ) : void
writer Pdelvo.Minecraft.Network.BigEndianStream
version int
return void

OnSendAsync() protected method

protected OnSendAsync ( BigEndianStream writer, int version ) : System.Threading.Tasks.Task
writer Pdelvo.Minecraft.Network.BigEndianStream
version int
return System.Threading.Tasks.Task

Receive() public method

Receives the specified reader.
public Receive ( BigEndianStream reader, int version ) : void
reader Pdelvo.Minecraft.Network.BigEndianStream The reader.
version int The version.
return void

ReceiveAsync() public method

public ReceiveAsync ( BigEndianStream reader, int version ) : System.Threading.Tasks.Task
reader Pdelvo.Minecraft.Network.BigEndianStream
version int
return System.Threading.Tasks.Task

Send() public method

Sends the specified stream.
public Send ( BigEndianStream stream, int version ) : void
stream Pdelvo.Minecraft.Network.BigEndianStream The stream.
version int The version.
return void

SendItem() public method

Sends the item.
public SendItem ( BigEndianStream stream, int version ) : void
stream Pdelvo.Minecraft.Network.BigEndianStream The stream.
version int The version.
return void

SendItemAsync() public method

public SendItemAsync ( BigEndianStream stream, int version ) : System.Threading.Tasks.Task
stream Pdelvo.Minecraft.Network.BigEndianStream
version int
return System.Threading.Tasks.Task