1
0
Files
named-binary-tag/Nbt/Tag/NbtEnd.cs
2024-03-15 14:44:21 +01:00

19 lines
385 B
C#
Executable File

namespace Nbt.Tag;
public sealed class NbtEnd : INbtTag
{
public static readonly NbtEnd Value = new();
private NbtEnd() { }
public NbtTagType Type => NbtTagType.End;
INbtTag INbtTag.Copy() => this;
public bool Equals(INbtTag? other) => this == other;
public override bool Equals(object? obj) => this == obj;
public override int GetHashCode() => 0;
}