mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-11 15:41:47 +00:00
@@ -46,6 +46,7 @@ CHECK_SIZEOF(TEditorId, 0x4)
|
||||
struct TUniqueId {
|
||||
ushort value;
|
||||
|
||||
TUniqueId(const TUniqueId& other) : value(other.value) {}
|
||||
TUniqueId(ushort version, ushort id) : value(((version & 0x3F) << 10) | (id & 0x3FF)) {}
|
||||
|
||||
ushort Value() const { return value & 0x3FF; }
|
||||
|
||||
Reference in New Issue
Block a user