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, IAnyArgumentTypeImplements
IArgumentType, IAnyArgumentType
Properties
Serializer
Gets the serializer responsible for this passthrough value.
IArgumentSerializer Serializer { get; }Property Value
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.