acc_u0.cpp 1.4 KB

123456789101112131415161718192021222324252627282930313233
  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_u0.h"
  5. namespace Service::Account {
  6. ACC_U0::ACC_U0(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "acc:u0") {
  7. static const FunctionInfo functions[] = {
  8. {0, nullptr, "GetUserCount"},
  9. {1, &ACC_U0::GetUserExistence, "GetUserExistence"},
  10. {2, &ACC_U0::ListAllUsers, "ListAllUsers"},
  11. {3, &ACC_U0::ListOpenUsers, "ListOpenUsers"},
  12. {4, &ACC_U0::GetLastOpenedUser, "GetLastOpenedUser"},
  13. {5, &ACC_U0::GetProfile, "GetProfile"},
  14. {6, nullptr, "GetProfileDigest"},
  15. {50, nullptr, "IsUserRegistrationRequestPermitted"},
  16. {51, nullptr, "TrySelectUserWithoutInteraction"},
  17. {60, nullptr, "ListOpenContextStoredUsers"},
  18. {100, &ACC_U0::InitializeApplicationInfo, "InitializeApplicationInfo"},
  19. {101, &ACC_U0::GetBaasAccountManagerForApplication, "GetBaasAccountManagerForApplication"},
  20. {102, nullptr, "AuthenticateApplicationAsync"},
  21. {103, nullptr, "CheckNetworkServiceAvailabilityAsync"},
  22. {110, nullptr, "StoreSaveDataThumbnail"},
  23. {111, nullptr, "ClearSaveDataThumbnail"},
  24. {120, nullptr, "CreateGuestLoginRequest"},
  25. {130, nullptr, "LoadOpenContext"},
  26. };
  27. RegisterHandlers(functions);
  28. }
  29. } // namespace Service::Account