Skip to content

Interface IMinecraftBinaryPacketWrapper

Namespace: Void.Minecraft.Network.Registries.Transformations.Mappings
Assembly: Void.Minecraft.dll

public interface IMinecraftBinaryPacketWrapper

Methods

Get<TPropertyValue>(int)

TPropertyValue Get<TPropertyValue>(int index) where TPropertyValue : IPacketProperty<TPropertyValue>

Parameters

index int

Returns

TPropertyValue

Type Parameters

TPropertyValue

Passthrough<TPropertyValue>()

TPropertyValue Passthrough<TPropertyValue>() where TPropertyValue : IPacketProperty<TPropertyValue>

Returns

TPropertyValue

Type Parameters

TPropertyValue

Read<TPropertyValue>()

TPropertyValue Read<TPropertyValue>() where TPropertyValue : IPacketProperty<TPropertyValue>

Returns

TPropertyValue

Type Parameters

TPropertyValue

Reset()

void Reset()

Set<TPropertyValue>(int, TPropertyValue)

void Set<TPropertyValue>(int index, TPropertyValue value) where TPropertyValue : IPacketProperty<TPropertyValue>

Parameters

index int

value TPropertyValue

Type Parameters

TPropertyValue

TryGet<TPropertyValue>(int, out TPropertyValue)

bool TryGet<TPropertyValue>(int index, out TPropertyValue value) where TPropertyValue : IPacketProperty<TPropertyValue>

Parameters

index int

value TPropertyValue

Returns

bool

Type Parameters

TPropertyValue

TrySet<TPropertyValue>(int, TPropertyValue)

bool TrySet<TPropertyValue>(int index, TPropertyValue value) where TPropertyValue : IPacketProperty<TPropertyValue>

Parameters

index int

value TPropertyValue

Returns

bool

Type Parameters

TPropertyValue

Write<TPropertyValue>(TPropertyValue)

void Write<TPropertyValue>(TPropertyValue value) where TPropertyValue : IPacketProperty<TPropertyValue>

Parameters

value TPropertyValue

Type Parameters

TPropertyValue

WriteProcessedValues(ref MinecraftBuffer)

void WriteProcessedValues(ref MinecraftBuffer buffer)

Parameters

buffer MinecraftBuffer