Class TimePassthroughArgumentValue
Namespace: Void.Minecraft.Commands.Brigadier.Serializers.Passthrough
Assembly: Void.Minecraft.dll
Preserves the minimum time value introduced in protocol 1.19.4.
public record TimePassthroughArgumentValue : IPassthroughArgumentValue, IArgumentType, IAnyArgumentType, IEquatable<TimePassthroughArgumentValue>Inheritance
object ← TimePassthroughArgumentValue
Implements
IPassthroughArgumentValue, IArgumentType, IAnyArgumentType, IEquatable<TimePassthroughArgumentValue>
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
TimePassthroughArgumentValue(IArgumentSerializer, int)
Preserves the minimum time value introduced in protocol 1.19.4.
public TimePassthroughArgumentValue(IArgumentSerializer Serializer, int Value)Parameters
Serializer IArgumentSerializer
The serializer that created the value.
Value int
The raw minimum value, or zero for older protocols.
Properties
Serializer
The serializer that created the value.
public IArgumentSerializer Serializer { get; init; }Property Value
Value
The raw minimum value, or zero for older protocols.
public int Value { get; init; }