Skip to content

Interface IMinecraftPacket<TSelf>

Namespace: Void.Minecraft.Network.Messages.Packets
Assembly: Void.Minecraft.dll

public interface IMinecraftPacket<out TSelf> : IMinecraftPacket, IMinecraftMessage, INetworkMessage, IDisposable where TSelf : IMinecraftPacket

Type Parameters

TSelf

Implements

IMinecraftPacket, IMinecraftMessage, INetworkMessage, IDisposable

Methods

Decode(ref MinecraftBuffer, ProtocolVersion)

public static abstract TSelf Decode(ref MinecraftBuffer buffer, ProtocolVersion protocolVersion)

Parameters

buffer MinecraftBuffer

protocolVersion ProtocolVersion

Returns

TSelf