Add Identifier.Empty.

This commit is contained in:
2023-03-01 00:33:28 +08:00
parent 67720fd0e1
commit c7e7bd8a77

View File

@@ -2,6 +2,7 @@
namespace Cryville.Common {
public struct Identifier : IEquatable<Identifier> {
public static Identifier Empty = new Identifier(0);
public int Key { get; private set; }
public object Name { get { return IdentifierManager.SharedInstance.Retrieve(Key); } }
public Identifier(int key) {