common: uuid: Add AsU128()

This copies the internal bytes of the UUID into a u128 for backwards compatibility. This should not be used.
This commit is contained in:
Morph
2022-02-05 11:41:39 -05:00
parent f0340b8d22
commit d94dcaefa0
2 changed files with 9 additions and 0 deletions

View File

@@ -83,6 +83,9 @@ struct NewUUID {
*/
size_t Hash() const noexcept;
/// DO NOT USE. Copies the contents of the UUID into a u128.
u128 AsU128() const;
/**
* Creates a default UUID "yuzu Default UID".
*