Friend Services: Difference between revisions

TimmSkiller (talk | contribs)
update notification event types and add missing ones
TimmSkiller (talk | contribs)
 
(7 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]]
|}
|}


Line 343: 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 478: Line 450:
| 0x80
| 0x80
| 0x60
| 0x60
| This friend's [[Friend_Services#Mii_Data|Mii]]
| This friend's [[Mii#CFLStoreData|Mii]]
|}
|}


==GameAuthenticationData==
==GameAuthenticationData==
Line 543: 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 599: 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 616: 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).
|-
|-
| 4
| 5 || A friend changed their Mii.
| A friend changed their presence, and the current system's JoinGameID is the same as their new or old JoinGameID.
|-
|-
| 5
| 6 || A friend changed their [[Friend_Services#Profile|Profile]].
| A friend changed their Mii.
|-
|-
| 6
| 7 || A friend is no longer present (went offline).
| A friend changed their [[Friend_Services#Profile|Profile]].
|-
|-
| 7
| 8 || A friend has added you back as a friend (if you had added them before as a "provisionally registered" friend).
| A friend is no longer present (went offline).
|-
|-
| 8
| 9 || A friend sent you an invitation, and the current system's JoinGameID matches that of the friend.
| A friend has added you back as a friend (if you had added them before as a "provisionally registered" friend).
|}
 
The following values, while signaled internally normally, are not exposed to sessions in any way:
{| class="wikitable" border="1"
|-
|-
| 9
! Value !! Description
| A friend sent you an invitation, and the current system's JoinGameID matches that of the friend.
|-
|-
| 145
| 145