mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 04:46:27 -05:00
Open first user added
This commit is contained in:
parent
75169c7570
commit
e9978fd4f5
1 changed files with 3 additions and 1 deletions
|
@ -7,7 +7,9 @@ constexpr ResultCode ERROR_TOO_MANY_USERS(ErrorModule::Account, -1);
|
||||||
constexpr ResultCode ERROR_ARGUMENT_IS_NULL(ErrorModule::Account, 20);
|
constexpr ResultCode ERROR_ARGUMENT_IS_NULL(ErrorModule::Account, 20);
|
||||||
|
|
||||||
ProfileManager::ProfileManager() {
|
ProfileManager::ProfileManager() {
|
||||||
CreateNewUser(UUID{1, 0}, Settings::values.username);
|
auto user_uuid = UUID{1, 0};
|
||||||
|
CreateNewUser(user_uuid, Settings::values.username);
|
||||||
|
OpenUser(user_uuid);
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t ProfileManager::AddToProfiles(const ProfileInfo& user) {
|
size_t ProfileManager::AddToProfiles(const ProfileInfo& user) {
|
||||||
|
|
Loading…
Reference in a new issue