Class BytePassthroughArgumentValue
Namespace: Void.Minecraft.Commands.Brigadier.Serializers.Passthrough
Assembly: Void.Minecraft.dll
Represents a passthrough argument value whose serialized payload is a single unsigned byte.
public record BytePassthroughArgumentValue : IPassthroughArgumentValue, IArgumentType, IAnyArgumentType, IEquatable<BytePassthroughArgumentValue>Inheritance
object ← BytePassthroughArgumentValue
Implements
IPassthroughArgumentValue, IArgumentType, IAnyArgumentType, IEquatable<BytePassthroughArgumentValue>
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
BytePassthroughArgumentValue(IArgumentSerializer, byte)
Represents a passthrough argument value whose serialized payload is a single unsigned byte.
public BytePassthroughArgumentValue(IArgumentSerializer Serializer, byte Value)Parameters
Serializer IArgumentSerializer
The serializer that created and serializes this value.
Value byte
The raw byte value preserved by the passthrough argument.
Properties
Serializer
The serializer that created and serializes this value.
public IArgumentSerializer Serializer { get; init; }Property Value
Value
The raw byte value preserved by the passthrough argument.
public byte Value { get; init; }