mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-23 12:49:18 +01:00
Implement IAccountServiceForApplication::IsUserRegistrationRequestPermitted
This commit is contained in:
parent
e8cc760b10
commit
49c0ba1207
@ -90,4 +90,9 @@ namespace skyline::service::account {
|
|||||||
response.Push<u32>(0); // We don't want to lock the user
|
response.Push<u32>(0); // We don't want to lock the user
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Result IAccountServiceForApplication::IsUserRegistrationRequestPermitted(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||||
|
response.Push<u8>(false); // Registration isn't permitted via the application account service
|
||||||
|
return {};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -92,18 +92,25 @@ namespace skyline {
|
|||||||
*/
|
*/
|
||||||
Result InitializeApplicationInfo(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
Result InitializeApplicationInfo(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||||
|
|
||||||
SERVICE_DECL(
|
/**
|
||||||
SFUNC(0x0, IAccountServiceForApplication, GetUserCount),
|
* @brief Returns if the user registration request is permitted or not
|
||||||
SFUNC(0x1, IAccountServiceForApplication, GetUserExistence),
|
* @url https://switchbrew.org/wiki/Account_services#IsUserRegistrationRequestPermitted
|
||||||
SFUNC(0x2, IAccountServiceForApplication, ListAllUsers),
|
*/
|
||||||
SFUNC(0x3, IAccountServiceForApplication, ListOpenUsers),
|
Result IsUserRegistrationRequestPermitted(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||||
SFUNC(0x4, IAccountServiceForApplication, GetLastOpenedUser),
|
|
||||||
SFUNC(0x5, IAccountServiceForApplication, GetProfile),
|
SERVICE_DECL(
|
||||||
SFUNC(0x64, IAccountServiceForApplication, InitializeApplicationInfoV0),
|
SFUNC(0x0, IAccountServiceForApplication, GetUserCount),
|
||||||
SFUNC(0x65, IAccountServiceForApplication, GetBaasAccountManagerForApplication),
|
SFUNC(0x1, IAccountServiceForApplication, GetUserExistence),
|
||||||
SFUNC(0x8C, IAccountServiceForApplication, InitializeApplicationInfo),
|
SFUNC(0x2, IAccountServiceForApplication, ListAllUsers),
|
||||||
SFUNC(0x96, IAccountServiceForApplication, IsUserAccountSwitchLocked)
|
SFUNC(0x3, IAccountServiceForApplication, ListOpenUsers),
|
||||||
)
|
SFUNC(0x4, IAccountServiceForApplication, GetLastOpenedUser),
|
||||||
|
SFUNC(0x5, IAccountServiceForApplication, GetProfile),
|
||||||
|
SFUNC(0x32, IAccountServiceForApplication, IsUserRegistrationRequestPermitted),
|
||||||
|
SFUNC(0x64, IAccountServiceForApplication, InitializeApplicationInfoV0),
|
||||||
|
SFUNC(0x65, IAccountServiceForApplication, GetBaasAccountManagerForApplication),
|
||||||
|
SFUNC(0x8C, IAccountServiceForApplication, InitializeApplicationInfo),
|
||||||
|
SFUNC(0x96, IAccountServiceForApplication, IsUserAccountSwitchLocked)
|
||||||
|
)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user