Class NbtLong
Namespace: Void.Minecraft.Nbt.Tags
Assembly: Void.Minecraft.dll
public record NbtLong : NbtTag, IEquatable<NbtTag>, IEquatable<NbtLong>Inheritance
Implements
IEquatable<NbtTag>, IEquatable<NbtLong>
Inherited Members
NbtTag.Name, NbtTag.Type, NbtTag.AsStream(NbtFormatOptions, bool), NbtTag.AsJsonNode(), NbtTag.ToString(), NbtTag.ToSnbt(), NbtTag.Parse(string), NbtTag.Parse(ReadOnlyMemory<byte>, out NbtTag, bool, NbtFormatOptions), NbtTag.Parse<T>(ReadOnlyMemory<byte>, out T, bool, NbtFormatOptions), NbtTag.ReadFrom<TBuffer>(ref TBuffer, bool), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
NbtLong(long)
public NbtLong(long Value)Parameters
Value long
Properties
Value
public long Value { get; init; }Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()Returns
A string that represents the current object.
Operators
implicit operator NbtLong(LongTag)
public static implicit operator NbtLong(LongTag tag)Parameters
tag LongTag
Returns
implicit operator LongTag(NbtLong)
public static implicit operator LongTag(NbtLong tag)Parameters
tag NbtLong