friends

friends

Description

Module that handles the FRIENDS library.

Structures

nnfriendsFriendKey Structure for comprehensively handling users' principal IDs and local friend codes.
nnfriendsProfile Structure storing a user's profile information.
nnfriendsMiiData Structure storing Mii data.
nnfriendsGameMode Structure storing information about the game the local host is currently playing. This information is required for friends to join in.
nnfriendsMyPresence Structure storing the local user's presence information.
nnfriendsFriendPresence Structure storing friend presence information.
nnfriendsEventNotification Structure storing notifications of changes in the local host's online state and friends' online states.
nnfriendsApproachContext This structure contains the current user's friend presence account information in order to allow other users to register them as a friend.

Macros

NN_FRIENDS_INVALID_PRINCIPAL_ID Invalid principal ID.
NN_FRIENDS_INVALID_LOCAL_FRIEND_CODE Invalid local friend code.
NN_FRIENDS_SCREEN_NAME_SIZE The number of elements in the buffer for the screen name. Includes the terminating character.
NN_FRIENDS_MODE_DESCRIPTION_SIZE The number of elements in the buffer for the game mode description string. Includes the terminating character.
NN_FRIENDS_MII_SIZE The size of the Mii character binary data.
NN_FRIENDS_FRIEND_LIST_SIZE The size of the friend list. This is the maximum number of users that can be registered to the friend list.

Enumerated Types

nnfriendsPlatformCode Enumerated type representing platform types.
nnfriendsAttributeFlag Enumerated type representing friend relationships using attribute flags.
nnfriendsNotificationType Enumerated type representing notification types.
nnfriendsNotificationMask Enumerated type representing notification bitmasks.
nnfriendsJoinAvailability Enumerated type representing conditions on allowing participation.
nnfriendsMatchmakeSystemType Enumerated type representing conditions on allowing participation.

typedef Definitions

nnfriendsPrincipalId Represents a principal ID.
nnfriendsLocalFriendCode Represents a local friend code.

Revision History

2010/08/16
Initial version.

CONFIDENTIAL