Lioncash
e37bea609c
common/uuid: Add validity checking functions to interface
Given we have a function to invalidate, we should also have ones to
query the validity. Also makes the code more straightforward to read.
4 years ago
Morph
93697805a7
common: uuid: Add hash function for UUID
Used when UUID is a key in an unordered_map. The hash is produced by XORing the high and low 64-bits of the UUID together.
4 years ago
Morph
6b2f133eef
common: uuid: Add hex string to UUID constructor
This allows for easily converting a hex string into a Common::UUID, which is backed by a 128 bit unsigned integer.
4 years ago
Chloe Marcec
7ce462a1f7
uuid: Directly compare UUID instead of checking per element
We can now update this for C++20
5 years ago
ReinUsesLisp
4854f3291e
core: Silence Wclass-memaccess warnings
This requires making several types trivial and properly initialize
them whenever they are called.
5 years ago
Lioncash
2ef7815422
common: Make use of [[nodiscard]] where applicable
Now that clang-format makes [[nodiscard]] attributes format sensibly, we
can apply them to several functions within the common library to allow
the compiler to complain about any misuses of the functions.
5 years ago
David Marcec
3d475a655b
acc: Return a unique value per account for GetAccountId
6 years ago
Zach Hilman
9572ff6c55
mii: Implement Delete and Destroy file
7 years ago
Zach Hilman
b4759039c0
mii_manager: Cleanup and optimization
7 years ago
Zach Hilman
c02cb054b7
common: Extract UUID to its own class
Since the Mii database uses UUIDs very similar to the Accounts database, it makes no sense to not share code between them.
7 years ago