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 | 3d475a655bd2e5a117d7dd4549d02c7fb092b4bb (patch) | |
| tree | 8a3d92e8e1d34ff1ab68dc772c9dff6061e31bf8 /src/common | |
| parent | 153e6fccb2d437b0ec48850bb4f6c12099c4f04b (diff) | |
acc: Return a unique value per account for GetAccountId
Diffstat (limited to 'src/common')
| -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 f6ad064fb7..4d3af8cec6 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; }; |
