Friend Services: Difference between revisions

TimmSkiller (talk | contribs)
add Preference
TimmSkiller (talk | contribs)
 
(10 intermediate revisions by the same user not shown)
Line 219: Line 219:
|-
|-
| 0x040802C0
| 0x040802C0
| [[FRDA:UpdateFriendDisplayName|UpdateFriendDisplayName]]
| [[FRDA:UpdateFriendScreenName|UpdateFriendScreenName]]
|-
|-
| 0x04090100
| 0x04090100
Line 243: Line 243:
|-
|-
| 0x04100000
| 0x04100000
| Currently unknown. Increments a u32 value in the savegame.
| [[FRDA:IncrementMoveCount|IncrementMoveCount]]
|}
|}
=Save Data=
See [[FRD_Savegame|FRD Savegame]].


=HTTPS Requests=
=HTTPS Requests=
Line 339: Line 343:
|-
|-
| 0x2 || 0x1 || bool IsShowPlayedMode, whether or not the play history is shown
| 0x2 || 0x1 || bool IsShowPlayedMode, whether or not the play history is shown
|}
==Mii Data==
{| class="wikitable" border="1"
|-
! Offset
! Size
! Description
|-
| 0x0
| 0x1
| bool, ProfanityFlag
|-
| 0x1
| 0x1
| [[Mii#Mii_format|Mii character set]]
|-
| 0x2
| 0x1
| bool, DirtyFlag
|-
| 0x3
| 0x1
| padding
|-
| 0x4
| 0x5C
| [[Mii#Mii_format|Mii data]]
|}
|}


Line 474: Line 450:
| 0x80
| 0x80
| 0x60
| 0x60
| This friend's [[Friend_Services#Mii_Data|Mii]]
| This friend's [[Mii#CFLStoreData|Mii]]
|}
|}


==GameAuthenticationData==
==GameAuthenticationData==
Line 539: Line 513:
| 0x4A || 0x1 || u8, [[Mii#Mii_format|Mii Character Set]]
| 0x4A || 0x1 || u8, [[Mii#Mii_format|Mii Character Set]]
|-
|-
| 0x4B || 0x70 || [[Friend_Services#Mii_Data|Friend Mii Data]] wrapped using [[APT:Wrap]] (Unwrapped size: 0x60)
| 0x4B || 0x70 || Friend [[Mii#CFLStoreData|Mii Data]] wrapped using [[APT:Wrap]] (Unwrapped size: 0x60)
|-
|-
| 0xBB || 0x16 || 10-Character UTF-16 Screen Name (10 characters + null termination)
| 0xBB || 0x16 || 10-Character UTF-16 Screen Name (10 characters + null termination)
Line 595: Line 569:
| 0x18 || 0x48 || [[Friend_Services#FriendProfile|FriendProfile]] of the console that created this approach context
| 0x18 || 0x48 || [[Friend_Services#FriendProfile|FriendProfile]] of the console that created this approach context
|-
|-
| 0x60 || 0x60 || [[Friend_Services#Mii_Data|Friend Mii Data]] of the console that created this approach context
| 0x60 || 0x60 || Friend [[Mii#CFLStoreData|Mii Data]] of the console that created this approach context
|-
|-
| 0xC0 || 0x16 || 10-Character UTF-16 Screen Name (10 characters + null termination)
| 0xC0 || 0x16 || 10-Character UTF-16 Screen Name (10 characters + null termination)
Line 612: Line 586:


==Notification Event Types==
==Notification Event Types==
The following event types are accessible to all frd:u and frd:a sessions:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Value
! Value !! Description
! Description
|-
| 1 || The console went online.
|-
|-
| 1
| 2 || The console went offline.
| The console went online.
|-
|-
| 2
| 3 || A friend is now present (went online).
| The console went offline.
|-
|-
| 3
| 4 || A friend changed their presence, and the current system's JoinGameID is the same as their new or old JoinGameID.
| A friend is now present (went online).
|-
|-
| 5
| 5 || A friend changed their Mii.
| A friend changed their Mii.
|-
|-
| 6
| 6 || A friend changed their [[Friend_Services#Profile|Profile]].
| A friend changed their [[Friend_Services#Profile|Profile]].
|-
|-
| 7
| 7 || A friend is no longer present (went offline).
| A friend is no longer present (went offline).
|-
|-
| 8
| 8 || A friend has added you back as a friend (if you had added them before as a "provisionally registered" friend).
| A friend has added you back as a friend (if you had added them before as a "provisionally registered" friend).
|-
|-
| 9
| 9 || A friend sent you an invitation, and the current system's JoinGameID matches that of the friend.
| A friend sent you a <b>joinable</b> game invitation(?) (only signaled when the console's JoinGameID matches that of the friend).
|}
 
The following values, while signaled internally normally, are not exposed to sessions in any way:
{| class="wikitable" border="1"
|-
! Value !! Description
|-
| 145
| A friend changed their game mode description.
|-
|-
| 146
| 146
Line 646: Line 623:
| 147
| 147
| A friend changed their personal message.
| A friend changed their personal message.
|-
| 148
| A friend changed their presence, but their JoinGameID does not match that of the system.
|-
|-
| 149
| 149
| A friend sent you an invitation. (signaled regardless of whether or not the console's JoinGameID matches that of the friend)
| A friend sent you an invitation, but their JoinGameID does not match that of the system.
|}
|}


Line 752: Line 732:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Value
! Value !! 0 !! 1 !! 2 !! 3 !! 4 !! 5 !! 6 !! 7 !! 8 !! 9 !! 10 !! 11 !! 12 !! 13 !! 14 !! 15 !! 16 !! 17 !! 18 !! 19 !! 20 !! 21 !! 22 !! 23 !! 24 !! 25 !! >=26
! Server Type Letter
|-
| 0
| L
|-
| 1
| C
|-
| 2
| S
|-
| 3
| D
|-
| 4
| I
|-
| 5
| T
|-
| 6
| U (fallback to default value)
|-
| 7
| J
|-
| 8
| X
|-
| 9
| A
|-
| 10
| B
|-
| 11
| C
|-
| 12
| D
|-
| 13
| E
|-
| 14
| F
|-
| 15
| G
|-
| 16
| H
|-
| 17
| I
|-
| 18
| J
|-
| 19
| K
|-
| 20
| L
|-
| 21
| M
|-
| 22
| N
|-
| 23
| O
|-
| 24
| P
|-
| 25
| Q
|-
|-
| >=26
! Letter
| U
| L || C || S || D || I || T || U (fallback to default value) || J || X || A || B || C || D || E || F || G || H || I || J || K || L || M || N || O || P || Q || U
|}
|}