Reads score operation as structure.
This commit is contained in:
@@ -11,7 +11,6 @@ namespace Cryville.Common {
|
||||
Key = IdentifierManager.SharedInstance.Request(name);
|
||||
}
|
||||
public override bool Equals(object obj) {
|
||||
if (obj == null && Key == 0) return true;
|
||||
if (obj == null || !(obj is Identifier)) return false;
|
||||
return Equals((Identifier)obj);
|
||||
}
|
||||
@@ -22,6 +21,7 @@ namespace Cryville.Common {
|
||||
return Key;
|
||||
}
|
||||
public override string ToString() {
|
||||
if (Key == 0) return "";
|
||||
return Name.ToString();
|
||||
}
|
||||
public static implicit operator Identifier(string identifier) {
|
||||
|
Reference in New Issue
Block a user