Skip to content

Interface IPassthroughArgumentValue

Namespace: Void.Minecraft.Commands.Brigadier.ArgumentTypes
Assembly: Void.Minecraft.dll

Defines protocol argument metadata that can be serialized but cannot parse command input.

public interface IPassthroughArgumentValue : IArgumentType, IAnyArgumentType

Implements

IArgumentType, IAnyArgumentType

Properties

Serializer

Gets the serializer responsible for this passthrough value.

IArgumentSerializer Serializer { get; }

Property Value

IArgumentSerializer

Methods

Serialize(ref BufferSpan, ProtocolVersion)

Writes this argument’s protocol properties.

void Serialize(ref BufferSpan buffer, ProtocolVersion protocolVersion)

Parameters

buffer BufferSpan

The destination buffer.

protocolVersion ProtocolVersion

The target protocol version.