diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2020-04-29 21:09:53 +1000 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2020-04-29 21:09:53 +1000 |
commit | 1417849a2b3689b46a8969f0ba2a0382ddefb8d1 (patch) | |
tree | 8a3d92e8e1d34ff1ab68dc772c9dff6061e31bf8 /src/common/uuid.h | |
parent | 8e64fb322593144600046dac30186ff51086d1ab (diff) |
acc: Return a unique value per account for GetAccountId
Diffstat (limited to 'src/common/uuid.h')
-rw-r--r-- | src/common/uuid.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/uuid.h b/src/common/uuid.h index f6ad064fb..4d3af8cec 100644 --- a/src/common/uuid.h +++ b/src/common/uuid.h @@ -40,6 +40,11 @@ struct UUID { uuid = INVALID_UUID; } + // TODO(ogniK): Properly generate a Nintendo ID + constexpr u64 GetNintendoID() const { + return uuid[0]; + } + std::string Format() const; std::string FormatSwitch() const; }; |