acc_su.cpp 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. // Copyright 2018 yuzu emulator team
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #include "core/hle/service/acc/acc_su.h"
  5. namespace Service::Account {
  6. ACC_SU::ACC_SU(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "acc:su") {
  7. static const FunctionInfo functions[] = {
  8. {0, &ACC_SU::GetUserCount, "GetUserCount"},
  9. {1, &ACC_SU::GetUserExistence, "GetUserExistence"},
  10. {2, &ACC_SU::ListAllUsers, "ListAllUsers"},
  11. {3, &ACC_SU::ListOpenUsers, "ListOpenUsers"},
  12. {4, &ACC_SU::GetLastOpenedUser, "GetLastOpenedUser"},
  13. {5, &ACC_SU::GetProfile, "GetProfile"},
  14. {6, nullptr, "GetProfileDigest"},
  15. {50, nullptr, "IsUserRegistrationRequestPermitted"},
  16. {51, nullptr, "TrySelectUserWithoutInteraction"},
  17. {60, nullptr, "ListOpenContextStoredUsers"},
  18. {100, nullptr, "GetUserRegistrationNotifier"},
  19. {101, nullptr, "GetUserStateChangeNotifier"},
  20. {102, nullptr, "GetBaasAccountManagerForSystemService"},
  21. {103, nullptr, "GetBaasUserAvailabilityChangeNotifier"},
  22. {104, nullptr, "GetProfileUpdateNotifier"},
  23. {105, nullptr, "CheckNetworkServiceAvailabilityAsync"},
  24. {110, nullptr, "StoreSaveDataThumbnail"},
  25. {111, nullptr, "ClearSaveDataThumbnail"},
  26. {112, nullptr, "LoadSaveDataThumbnail"},
  27. {113, nullptr, "GetSaveDataThumbnailExistence"},
  28. {190, nullptr, "GetUserLastOpenedApplication"},
  29. {191, nullptr, "ActivateOpenContextHolder"},
  30. {200, nullptr, "BeginUserRegistration"},
  31. {201, nullptr, "CompleteUserRegistration"},
  32. {202, nullptr, "CancelUserRegistration"},
  33. {203, nullptr, "DeleteUser"},
  34. {204, nullptr, "SetUserPosition"},
  35. {205, nullptr, "GetProfileEditor"},
  36. {206, nullptr, "CompleteUserRegistrationForcibly"},
  37. {210, nullptr, "CreateFloatingRegistrationRequest"},
  38. {230, nullptr, "AuthenticateServiceAsync"},
  39. {250, nullptr, "GetBaasAccountAdministrator"},
  40. {290, nullptr, "ProxyProcedureForGuestLoginWithNintendoAccount"},
  41. {291, nullptr, "ProxyProcedureForFloatingRegistrationWithNintendoAccount"},
  42. {299, nullptr, "SuspendBackgroundDaemon"},
  43. {997, nullptr, "DebugInvalidateTokenCacheForUser"},
  44. {998, nullptr, "DebugSetUserStateClose"},
  45. {999, nullptr, "DebugSetUserStateOpen"},
  46. };
  47. RegisterHandlers(functions);
  48. }
  49. } // namespace Service::Account