Skip to content

Interface IMinecraftBinaryMessage

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

Represents a Minecraft packet retained in binary form, including its numeric identifier.

public interface IMinecraftBinaryMessage : IMinecraftMessage, INetworkMessage, IDisposable

Implements

IMinecraftMessage, INetworkMessage, IDisposable

Properties

Id

Gets the decoded numeric packet identifier.

int Id { get; }

Property Value

int

Stream

Gets the stream containing the binary packet data.

MemoryStream Stream { get; }

Property Value

MemoryStream

Remarks

The message implementation owns this stream and is expected to dispose it when the message is disposed.