mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-23 09:59:19 +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,6 +92,12 @@ namespace skyline {
|
|||||||
*/
|
*/
|
||||||
Result InitializeApplicationInfo(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
Result InitializeApplicationInfo(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Returns if the user registration request is permitted or not
|
||||||
|
* @url https://switchbrew.org/wiki/Account_services#IsUserRegistrationRequestPermitted
|
||||||
|
*/
|
||||||
|
Result IsUserRegistrationRequestPermitted(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||||
|
|
||||||
SERVICE_DECL(
|
SERVICE_DECL(
|
||||||
SFUNC(0x0, IAccountServiceForApplication, GetUserCount),
|
SFUNC(0x0, IAccountServiceForApplication, GetUserCount),
|
||||||
SFUNC(0x1, IAccountServiceForApplication, GetUserExistence),
|
SFUNC(0x1, IAccountServiceForApplication, GetUserExistence),
|
||||||
@ -99,6 +105,7 @@ namespace skyline {
|
|||||||
SFUNC(0x3, IAccountServiceForApplication, ListOpenUsers),
|
SFUNC(0x3, IAccountServiceForApplication, ListOpenUsers),
|
||||||
SFUNC(0x4, IAccountServiceForApplication, GetLastOpenedUser),
|
SFUNC(0x4, IAccountServiceForApplication, GetLastOpenedUser),
|
||||||
SFUNC(0x5, IAccountServiceForApplication, GetProfile),
|
SFUNC(0x5, IAccountServiceForApplication, GetProfile),
|
||||||
|
SFUNC(0x32, IAccountServiceForApplication, IsUserRegistrationRequestPermitted),
|
||||||
SFUNC(0x64, IAccountServiceForApplication, InitializeApplicationInfoV0),
|
SFUNC(0x64, IAccountServiceForApplication, InitializeApplicationInfoV0),
|
||||||
SFUNC(0x65, IAccountServiceForApplication, GetBaasAccountManagerForApplication),
|
SFUNC(0x65, IAccountServiceForApplication, GetBaasAccountManagerForApplication),
|
||||||
SFUNC(0x8C, IAccountServiceForApplication, InitializeApplicationInfo),
|
SFUNC(0x8C, IAccountServiceForApplication, InitializeApplicationInfo),
|
||||||
|
Loading…
Reference in New Issue
Block a user