You've already forked OpenRCT2-Unity
mirror of
https://github.com/izzy2lost/OpenRCT2-Unity.git
synced 2026-03-10 12:38:22 -07:00
Implement identifier comparison overloads
This commit is contained in:
@@ -63,4 +63,14 @@ public:
|
||||
{
|
||||
return _handle != other;
|
||||
}
|
||||
|
||||
constexpr bool operator==(const TIdentifier& other) const noexcept
|
||||
{
|
||||
return _handle == other._handle;
|
||||
}
|
||||
|
||||
constexpr bool operator!=(const TIdentifier& other) const noexcept
|
||||
{
|
||||
return _handle != other._handle;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user