frd_u.cpp 3.0 KB

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