Difference between revisions of "Friend Services"
Jump to navigation
Jump to search
m (No need to brag about it, people can know it's you from edit history.) |
|||
(21 intermediate revisions by 11 users not shown) | |||
Line 5: | Line 5: | ||
! Command Header | ! Command Header | ||
! Description | ! Description | ||
+ | |- | ||
+ | | 0x00010000 | ||
+ | | [[FRDU:HasLoggedIn|HasLoggedIn]] | ||
+ | |- | ||
+ | | 0x00020000 | ||
+ | | [[FRDU:IsOnline|IsOnline]] | ||
+ | |- | ||
+ | | 0x00030002 | ||
+ | | [[FRDU:Login|Login]] | ||
+ | |- | ||
+ | | 0x00040000 | ||
+ | | [[FRDU:Logout|Logout]] | ||
+ | |- | ||
+ | | 0x00050000 | ||
+ | | [[FRDU:GetMyFriendKey|GetMyFriendKey]] | ||
+ | |- | ||
+ | | 0x00060000 | ||
+ | | [[FRDU:GetMyPreference|GetMyPreference]] | ||
+ | |- | ||
+ | | 0x00070000 | ||
+ | | [[FRDU:GetMyProfile|GetMyProfile]] | ||
+ | |- | ||
+ | | 0x00080000 | ||
+ | | [[FRDU:GetMyPresence|GetMyPresence]] | ||
+ | |- | ||
+ | | 0x00090000 | ||
+ | | [[FRDU:GetMyScreenName|GetMyScreenName]] | ||
+ | |- | ||
+ | | 0x000A0000 | ||
+ | | [[FRDU:GetMyMii|GetMyMii]] | ||
+ | |- | ||
+ | | 0x000B0000 | ||
+ | | [[FRDU:GetMyLocalAccountId|GetMyLocalAccountId]] | ||
+ | |- | ||
+ | | 0x000C0000 | ||
+ | | [[FRDU:GetMyPlayingGame|GetMyPlayingGame]] | ||
+ | |- | ||
+ | | 0x000D0000 | ||
+ | | [[FRDU:GetMyFavoriteGame|GetMyFavoriteGame]] | ||
+ | |- | ||
+ | | 0x000E0000 | ||
+ | | [[FRDU:GetMyNcPrincipalId|GetMyNcPrincipalId]] | ||
+ | |- | ||
+ | | 0x000F0000 | ||
+ | | [[FRDU:GetMyComment|GetMyComment]] | ||
+ | |- | ||
+ | | 0x00100040 | ||
+ | | [[FRDU:GetMyPassword|GetMyPassword]] | ||
+ | |- | ||
+ | | 0x00110080 | ||
+ | | [[FRDU:GetFriendKeyList|GetFriendKeyList]] | ||
+ | |- | ||
+ | | 0x00120042 | ||
+ | | [[FRDU:GetFriendPresence|GetFriendPresence]] | ||
+ | |- | ||
+ | | 0x00130142 | ||
+ | | [[FRDU:GetFriendScreenName|GetFriendScreenName]] | ||
+ | |- | ||
+ | | 0x00140044 | ||
+ | | [[FRDU:GetFriendMii|GetFriendMii]] | ||
+ | |- | ||
+ | | 0x00150042 | ||
+ | | [[FRDU:GetFriendProfile|GetFriendProfile]] | ||
+ | |- | ||
+ | | 0x00160042 | ||
+ | | [[FRDU:GetFriendRelationship|GetFriendRelationship]] | ||
+ | |- | ||
+ | | 0x00170042 | ||
+ | | [[FRDU:GetFriendAttributeFlags|GetFriendAttributeFlags]] | ||
+ | |- | ||
+ | | 0x00180044 | ||
+ | | [[FRDU:GetFriendPlayingGame|GetFriendPlayingGame]] | ||
|- | |- | ||
| 0x00190042 | | 0x00190042 | ||
Line 13: | Line 85: | ||
|- | |- | ||
| 0x001B0080 | | 0x001B0080 | ||
− | | [[FRDU: | + | | [[FRDU:IsIncludedInFriendList|IsIncludedInFriendList]] |
|- | |- | ||
| 0x001C0042 | | 0x001C0042 | ||
− | | [[FRDU: | + | | [[FRDU:UnscrambleLocalFriendCode|UnscrambleLocalFriendCode]] |
|- | |- | ||
| 0x001D0002 | | 0x001D0002 | ||
− | | [[FRDU: | + | | [[FRDU:UpdateGameModeDescription|UpdateGameModeDescription]] |
+ | |- | ||
+ | | 0x001E02C2 | ||
+ | | [[FRDU:UpdateGameMode|UpdateGameMode]] | ||
+ | |- | ||
+ | | 0x001F0042 | ||
+ | | [[FRDU:SendInvitation|SendInvitation]] | ||
+ | |- | ||
+ | | 0x00200002 | ||
+ | | [[FRDU:AttachToEventNotification|AttachToEventNotification]] | ||
+ | |- | ||
+ | | 0x00210040 | ||
+ | | [[FRDU:SetNotificationMask|SetNotificationMask]] | ||
+ | |- | ||
+ | | 0x00220040 | ||
+ | | [[FRDU:GetEventNotification|GetEventNotification]] | ||
+ | |- | ||
+ | | 0x00230000 | ||
+ | | [[FRDU:GetLastResponseResult|GetLastResponseResult]] | ||
+ | |- | ||
+ | | 0x00240040 | ||
+ | | [[FRDU:PrincipalIdToFriendCode|PrincipalIdToFriendCode]] | ||
+ | |- | ||
+ | | 0x00250080 | ||
+ | | [[FRDU:FriendCodeToPrincipalId|FriendCodeToPrincipalId]] | ||
+ | |- | ||
+ | | 0x00260080 | ||
+ | | [[FRDU:IsValidFriendCode|IsValidFriendCode]] | ||
+ | |- | ||
+ | | 0x00270040 | ||
+ | | [[FRDU:ResultToErrorCode|ResultToErrorCode]] | ||
+ | |- | ||
+ | | 0x00280244 | ||
+ | | [[FRDU:RequestGameAuthentication|RequestGameAuthentication]] | ||
+ | |- | ||
+ | | 0x00290000 | ||
+ | | [[FRDU:GetGameAuthenticationData|GetGameAuthenticationData]] | ||
+ | |- | ||
+ | | 0x002A0204 | ||
+ | | [[FRDU:RequestServiceLocator|RequestServiceLocator]] | ||
+ | |- | ||
+ | | 0x002B0000 | ||
+ | | [[FRDU:GetServiceLocatorData|GetServiceLocatorData]] | ||
+ | |- | ||
+ | | 0x002C0002 | ||
+ | | [[FRDU:DetectNatProperties|DetectNatProperties]] | ||
+ | |- | ||
+ | | 0x002D0000 | ||
+ | | [[FRDU:GetNatProperties|GetNatProperties]] | ||
+ | |- | ||
+ | | 0x002E0000 | ||
+ | | [[FRDU:GetServerTimeInterval|GetServerTimeInterval]] | ||
+ | |- | ||
+ | | 0x002F0040 | ||
+ | | [[FRDU:AllowHalfAwake|AllowHalfAwake]] | ||
+ | |- | ||
+ | | 0x00300000 | ||
+ | | [[FRDU:GetServerTypes|GetServerTypes]] | ||
+ | |- | ||
+ | | 0x00310082 | ||
+ | | [[FRDU:GetFriendComment|GetFriendComment]] | ||
+ | |- | ||
+ | | 0x00320042 | ||
+ | | [[FRDU:SetClientSdkVersion|SetClientSdkVersion]] | ||
+ | |- | ||
+ | | 0x00330000 | ||
+ | | [[FRDU:GetMyApproachContext|GetMyApproachContext]] | ||
+ | |- | ||
+ | | 0x00340046 | ||
+ | | [[FRDU:AddFriendWithApproach|AddFriendWithApproach]] | ||
+ | |- | ||
+ | | 0x00350082 | ||
+ | | [[FRDU:DecryptApproachContext|DecryptApproachContext]] | ||
+ | |} | ||
+ | |||
+ | = "frd:n" = | ||
+ | {| class="wikitable" border="1" | ||
+ | |- | ||
+ | ! Command Header | ||
+ | ! Description | ||
+ | |- | ||
+ | | 0x00010000 | ||
+ | | GetHandleOfNdmStatusChangedEvent | ||
+ | |- | ||
+ | | 0x00020000 | ||
+ | | Resume | ||
+ | |- | ||
+ | | 0x00030040 | ||
+ | | SuspendAsync | ||
+ | |- | ||
+ | | 0x00040000 | ||
+ | | QueryStatus | ||
+ | |} | ||
+ | |||
+ | = "frd:a" = | ||
+ | |||
+ | This contains a similar (probably the same) command handler from 0x0001.... to 0x002F.... as them in frd:u. In addition, it also contains | ||
+ | |||
+ | {| class="wikitable" border="1" | ||
+ | |- | ||
+ | ! Command Header | ||
+ | ! Description | ||
+ | |- | ||
+ | | 0x04050000 | ||
+ | | Used in creating the user Mii. No cmdbuff parameters. | ||
+ | |- | ||
+ | | 0x04060042 | ||
+ | | [[FRDA:AddFriendOnline|AddFriendOnline]] | ||
+ | |- | ||
+ | | 0x04090100 | ||
+ | | [[FRDA:RemoveFriend|RemoveFriend]] | ||
+ | |- | ||
+ | | 0x040B00C0 | ||
+ | | UpdatePrefrences | ||
+ | |- | ||
+ | | 0x040C0800 | ||
+ | | Used in creating the user Mii. 128-byte struct as cmdbuff parameters. | ||
|} | |} | ||
+ | |||
+ | =HTTPS Requests= | ||
+ | |||
+ | ==Trusted RootCAs== | ||
+ | No RootCertChain(s) are used. For the nasc site, friends-module uses [[HTTPC:AddDefaultCert]] with the following certIDs: 0x1, 0x2, and 0x3. |
Revision as of 09:04, 11 July 2022
Friend Service "frd:u"
"frd:n"
Command Header | Description |
---|---|
0x00010000 | GetHandleOfNdmStatusChangedEvent |
0x00020000 | Resume |
0x00030040 | SuspendAsync |
0x00040000 | QueryStatus |
"frd:a"
This contains a similar (probably the same) command handler from 0x0001.... to 0x002F.... as them in frd:u. In addition, it also contains
Command Header | Description |
---|---|
0x04050000 | Used in creating the user Mii. No cmdbuff parameters. |
0x04060042 | AddFriendOnline |
0x04090100 | RemoveFriend |
0x040B00C0 | UpdatePrefrences |
0x040C0800 | Used in creating the user Mii. 128-byte struct as cmdbuff parameters. |
HTTPS Requests
Trusted RootCAs
No RootCertChain(s) are used. For the nasc site, friends-module uses HTTPC:AddDefaultCert with the following certIDs: 0x1, 0x2, and 0x3.