frd_u.cpp 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. // Copyright 2014 Citra Emulator Project
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #include "core/hle/hle.h"
  5. #include "core/hle/service/frd/frd.h"
  6. #include "core/hle/service/frd/frd_u.h"
  7. namespace Service {
  8. namespace FRD {
  9. const Interface::FunctionInfo FunctionTable[] = {
  10. {0x00010000, nullptr, "HasLoggedIn"},
  11. {0x00020000, nullptr, "IsOnline"},
  12. {0x00030000, nullptr, "Login"},
  13. {0x00040000, nullptr, "Logout"},
  14. {0x00050000, nullptr, "GetMyFriendKey"},
  15. {0x00060000, nullptr, "GetMyPreference"},
  16. {0x00070000, nullptr, "GetMyProfile"},
  17. {0x00080000, nullptr, "GetMyPresence"},
  18. {0x00090000, nullptr, "GetMyScreenName"},
  19. {0x000A0000, nullptr, "GetMyMii"},
  20. {0x000B0000, nullptr, "GetMyLocalAccountId"},
  21. {0x000C0000, nullptr, "GetMyPlayingGame"},
  22. {0x000D0000, nullptr, "GetMyFavoriteGame"},
  23. {0x000E0000, nullptr, "GetMyNcPrincipalId"},
  24. {0x000F0000, nullptr, "GetMyComment"},
  25. {0x00100040, nullptr, "GetMyPassword"},
  26. {0x00110080, nullptr, "GetFriendKeyList"},
  27. {0x00120042, nullptr, "GetFriendPresence"},
  28. {0x00130142, nullptr, "GetFriendScreenName"},
  29. {0x00140044, nullptr, "GetFriendMii"},
  30. {0x00150042, nullptr, "GetFriendProfile"},
  31. {0x00160042, nullptr, "GetFriendRelationship"},
  32. {0x00170042, nullptr, "GetFriendAttributeFlags"},
  33. {0x00180044, nullptr, "GetFriendPlayingGame"},
  34. {0x00190042, nullptr, "GetFriendFavoriteGame"},
  35. {0x001A00C4, nullptr, "GetFriendInfo"},
  36. {0x001B0080, nullptr, "IsIncludedInFriendList"},
  37. {0x001C0042, nullptr, "UnscrambleLocalFriendCode"},
  38. {0x001D0002, nullptr, "UpdateGameModeDescription"},
  39. {0x001E02C2, nullptr, "UpdateGameMode"},
  40. {0x001F0042, nullptr, "SendInvitation"},
  41. {0x00200002, nullptr, "AttachToEventNotification"},
  42. {0x00210040, nullptr, "SetNotificationMask"},
  43. {0x00220040, nullptr, "GetEventNotification"},
  44. {0x00230000, nullptr, "GetLastResponseResult"},
  45. {0x00240040, nullptr, "PrincipalIdToFriendCode"},
  46. {0x00250080, nullptr, "FriendCodeToPrincipalId"},
  47. {0x00260080, nullptr, "IsValidFriendCode"},
  48. {0x00270040, nullptr, "ResultToErrorCode"},
  49. {0x00280244, nullptr, "RequestGameAuthentication"},
  50. {0x00290000, nullptr, "GetGameAuthenticationData"},
  51. {0x002A0204, nullptr, "RequestServiceLocator"},
  52. {0x002B0000, nullptr, "GetServiceLocatorData"},
  53. {0x002C0002, nullptr, "DetectNatProperties"},
  54. {0x002D0000, nullptr, "GetNatProperties"},
  55. {0x002E0000, nullptr, "GetServerTimeInterval"},
  56. {0x002F0040, nullptr, "AllowHalfAwake"},
  57. {0x00300000, nullptr, "GetServerTypes"},
  58. {0x00310082, nullptr, "GetFriendComment"},
  59. {0x00320042, nullptr, "SetClientSdkVersion"},
  60. {0x00330000, nullptr, "GetMyApproachContext"},
  61. {0x00340046, nullptr, "AddFriendWithApproach"},
  62. {0x00350082, nullptr, "DecryptApproachContext"},
  63. };
  64. FRD_U_Interface::FRD_U_Interface() {
  65. Register(FunctionTable);
  66. }
  67. } // namespace FRD
  68. } // namespace Service