wut  v1.5.0
Wii U Toolchain
Data Structures | Typedefs | Enumerations | Enumerator | Functions | Variables
Friends Presence

See nn::fp. More...

Collaboration diagram for Friends Presence:

Data Structures

struct  DateTime
 
struct  GameKey
 
struct  RecentPlayRecord
 
struct  RecentPlayRecordEx
 
struct  Preference
 
struct  GameMode
 
struct  Presence
 
struct  FriendPresence
 
struct  MyPresence
 
struct  BasicInfo
 TODO: find member types and names. More...
 
struct  BlackListedPrincipal
 TODO: find member types and names. More...
 
struct  Profile
 TODO: find member types and names. More...
 
struct  Comment
 
struct  FriendData
 
struct  GameModeDescription
 
struct  FriendRequest
 

Typedefs

typedef void(* FPAsyncCallback) (nn::Result, void *)
 
typedef void(* NotificationHandlerFn) (nn::fp::NotificationType, nn::act::PrincipalId, void *)
 

Enumerations

enum  NotificationType {
  NOTIFICATION_ONLINE = 1 ,
  NOTIFICATION_OFFLINE = 2 ,
  NOTIFICATION_PREFERENCE = 3 ,
  NOTIFICATION_FRIEND_ONLINE = 4 ,
  NOTIFICATION_FRIEND_OFFLINE = 5 ,
  NOTIFICATION_FRIEND_PRESENCE = 6 ,
  NOTIFICATION_FRIEND_MII = 7 ,
  NOTIFICATION_FRIEND_PROFILE = 8 ,
  NOTIFICATION_FRIEND_ADDED = 9 ,
  NOTIFICATION_FRIEND_REMOVED = 10 ,
  NOTIFICATION_MY_REQUEST_ADDED = 11 ,
  NOTIFICATION_MY_REQUEST_REMOVED = 12 ,
  NOTIFICATION_MY_REQUEST_UPDATED = 13 ,
  NOTIFICATION_BLACKLIST_ADDED = 14 ,
  NOTIFICATION_BLACKLIST_REMOVED = 15 ,
  NOTIFICATION_BLACKLIST_UPDATED = 16 ,
  NOTIFICATION_REQUEST_ADDED = 17 ,
  NOTIFICATION_REQUEST_REMOVED = 18
}
 

Functions

nn::Result AcceptFriendRequestAsync (nn::act::LocalFriendCode, FPAsyncCallback, void *) asm("AcceptFriendRequestAsync__Q2_2nn2fpFULPFQ2_2nn6ResultPv_vPv")
 
nn::Result AddBlackListAsync (nn::act::PrincipalId, nn::fp::GameKey *, FPAsyncCallback, void *) asm("AddBlackListAsync__Q2_2nn2fpFUiPCQ3_2nn2fp7GameKeyPFQ2_2nn6ResultPv_vPv")
 
nn::Result AddBlackListAsync (nn::act::PrincipalId, FPAsyncCallback, void *) asm("AddBlackListAsync__Q2_2nn2fpFUiPFQ2_2nn6ResultPv_vPv")
 
nn::Result AddFriendAsync (char nnid[nn::act::AccountIdSize], FPAsyncCallback, void *) asm("AddFriendAsync__Q2_2nn2fpFPCcPFQ2_2nn6ResultPv_vPv")
 
nn::Result AddFriendAsync (nn::act::PrincipalId, FPAsyncCallback, void *) asm("AddFriendAsync__Q2_2nn2fpFUiPFQ2_2nn6ResultPv_vPv")
 
nn::Result AddFriendRequestAsync (const nn::fp::RecentPlayRecordEx *, const char16_t *, FPAsyncCallback, void *) asm("AddFriendRequestAsync__Q2_2nn2fpFPCQ3_2nn2fp18RecentPlayRecordExPCwPFQ2_2nn6ResultPv_vPv")
 
nn::Result AddFriendRequestAsync (unsigned int, unsigned char, const char16_t *, unsigned char, const char16_t *, FPAsyncCallback, void *) asm("AddFriendRequestAsync__Q2_2nn2fpFUiUcPCwT2T3PFQ2_2nn6ResultPv_vPv")
 
nn::Result AddFriendRequestNoTitleAsync (unsigned int, unsigned char, const char16_t *, unsigned char, const char16_t *, FPAsyncCallback, void *) asm("AddFriendRequestNoTitleAsync__Q2_2nn2fpFUiUcPCwT2T3PFQ2_2nn6ResultPv_vPv")
 
nn::Result AddRecentPlayRecordEx (const nn::fp::RecentPlayRecordEx *, unsigned int) asm("AddRecentPlayRecordEx__Q2_2nn2fpFPCQ3_2nn2fp18RecentPlayRecordExUi")
 
nn::Result AddRecentPlayRecord (const nn::fp::RecentPlayRecord *, unsigned int) asm("AddRecentPlayRecord__Q2_2nn2fpFPCQ3_2nn2fp16RecentPlayRecordUi")
 
nn::Result CancelFriendRequestAsync (nn::act::LocalFriendCode, FPAsyncCallback, void *) asm("CancelFriendRequestAsync__Q2_2nn2fpFULPFQ2_2nn6ResultPv_vPv")
 
nn::Result CheckSettingStatusAsync (unsigned char *, FPAsyncCallback, void *) asm("CheckSettingStatusAsync__Q2_2nn2fpFPUcPFQ2_2nn6ResultPv_vPv")
 
nn::Result ClearLedEvent (void) asm("ClearLedEvent__Q2_2nn2fpFv")
 
nn::Result DeleteFriendFlagsAsync (const unsigned int *, unsigned int, unsigned int, FPAsyncCallback, void *) asm("DeleteFriendFlagsAsync__Q2_2nn2fpFPCUiUiT2PFQ2_2nn6ResultPv_vPv")
 
nn::Result DeleteFriendRequestAsync (nn::act::LocalFriendCode, FPAsyncCallback, void *) asm("DeleteFriendRequestAsync__Q2_2nn2fpFULPFQ2_2nn6ResultPv_vPv")
 
nn::Result DeleteRecentPlayRecordAll (void) asm("DeleteRecentPlayRecordAll__Q2_2nn2fpFv")
 
nn::Result DeleteSaveDirectory (unsigned int) asm("DeleteSaveDirectory__Q2_2nn2fpFUi")
 
nn::Result DenyFriendRequestAsync (nn::act::LocalFriendCode, FPAsyncCallback, void *) asm("DenyFriendRequestAsync__Q2_2nn2fpFULPFQ2_2nn6ResultPv_vPv")
 
nn::Result DetectNatPropertiesAsync (unsigned char *, unsigned char *, unsigned int *, FPAsyncCallback, void *) asm("DetectNatPropertiesAsync__Q2_2nn2fpFPUcT1PUiPFQ2_2nn6ResultPv_vPv")
 
nn::Result FinalizeAdmin (void) asm("FinalizeAdmin__Q2_2nn2fpFv")
 
nn::Result Finalize (void) asm("Finalize__Q2_2nn2fpFv")
 
nn::Result GetBasicInfoAsync (nn::fp::BasicInfo *, unsigned int *, unsigned int, FPAsyncCallback, void *) asm("GetBasicInfoAsync__Q2_2nn2fpFPQ3_2nn2fp9BasicInfoPCUiUiPFQ2_2nn6ResultPv_vPv")
 
nn::Result GetBlackListAccountId (char *outAccountIds, unsigned int *, unsigned int) asm("GetBlackListAccountId__Q2_2nn2fpFPA17_cPCUiUi")
 
nn::Result GetBlackListAdditionalTime (nn::fp::DateTime *, unsigned int *, unsigned int) asm("GetBlackListAdditionalTime__Q2_2nn2fpFPQ3_2nn2fp8DateTimePCUiUi")
 
nn::Result GetBlackListEx (nn::fp::BlackListedPrincipal *outBlackList, unsigned int *, unsigned int) asm("GetBlackListEx__Q2_2nn2fpFPQ3_2nn2fp20BlackListedPrincipalPCUiUi")
 
nn::Result GetBlackList (nn::act::PrincipalId *outBlackListPrincipalBuffer, unsigned int *outBlackListPrincipalBufferSize, unsigned int, unsigned int maxReadCount) asm("GetBlackList__Q2_2nn2fpFPUiT1UiT3")
 
nn::Result GetFriendAccountId (char *outAccountIdBuffer, nn::act::PrincipalId *principalBuffer, unsigned int accountIdBufferSize) asm("GetFriendAccountId__Q2_2nn2fpFPA17_cPCUiUi")
 
nn::Result GetFriendApprovalTime (nn::fp::DateTime *outDateTime, unsigned int *, unsigned int) asm("GetFriendApprovalTime__Q2_2nn2fpFPQ3_2nn2fp8DateTimePCUiUi")
 
nn::Result GetFriendComment (nn::fp::Comment *outComment, unsigned int *, unsigned int) asm("GetFriendComment__Q2_2nn2fpFPQ3_2nn2fp7CommentPCUiUi")
 
nn::Result GetFriendListAll (unsigned int *, unsigned int *, unsigned int, unsigned int) asm("GetFriendListAll__Q2_2nn2fpFPUiT1UiT3")
 
nn::Result GetFriendListEx (nn::fp::FriendData *outFriendData, nn::act::PrincipalId *principalBuffer, unsigned int count) asm("GetFriendListEx__Q2_2nn2fpFPQ3_2nn2fp10FriendDataPCUiUi")
 
nn::Result GetFriendList (nn::act::PrincipalId *outPrincipalBuffer, unsigned int *outPrincipalBufferReadCount, unsigned int unkn, unsigned int principalBufferSize) asm("GetFriendList__Q2_2nn2fpFPUiT1UiT3")
 
nn::Result GetFriendMii (FFLStoreData *outMiiData, nn::act::PrincipalId *principalBuffer, unsigned int count) asm("GetFriendMii__Q2_2nn2fpFP12FFLStoreDataPCUiUi")
 
nn::Result GetFriendPlayingGame (nn::fp::GameKey *outGameKey, nn::fp::GameModeDescription *outGameModeDescription, nn::act::PrincipalId *principalBuffer, unsigned int maxReadCount) asm("GetFriendPlayingGame__Q2_2nn2fpFPQ3_2nn2fp7GameKeyPQ3_2nn2fp19GameModeDescriptionPCUiUi")
 
nn::Result GetFriendPresenceEx (nn::fp::FriendPresence *, nn::act::PrincipalId *principalBuffer, unsigned int maxReadCount) asm("GetFriendPresenceEx__Q2_2nn2fpFPQ3_2nn2fp14FriendPresencePCUiUi")
 
nn::Result GetFriendPresence (nn::fp::FriendPresence *, nn::act::PrincipalId *principalBuffer, unsigned int count) asm("GetFriendPresence__Q2_2nn2fpFPQ3_2nn2fp14FriendPresencePCUiUi")
 
nn::Result GetFriendProfile (nn::fp::Profile *, nn::act::PrincipalId *principalBuffer, unsigned int readCount) asm("GetFriendProfile__Q2_2nn2fpFPQ3_2nn2fp7ProfilePCUiUi")
 
nn::Result GetFriendRelationship (uint8_t *outRelationshipNum, nn::act::PrincipalId *principalBuffer, unsigned int count) asm("GetFriendRelationship__Q2_2nn2fpFPUcPCUiUi")
 
nn::Result GetFriendRequestAccountId (char *outAccountIds, nn::act::PrincipalId *principalBuffer, unsigned int count) asm("GetFriendRequestAccountId__Q2_2nn2fpFPA17_cPCUiUi")
 
nn::Result GetFriendRequestListEx (nn::fp::FriendRequest *, nn::act::PrincipalId *principalBuffer, unsigned int count) asm("GetFriendRequestListEx__Q2_2nn2fpFPQ3_2nn2fp13FriendRequestPCUiUi")
 
nn::Result GetFriendRequestList (nn::act::PrincipalId *outBuffer, unsigned int *outReadCount, unsigned int, unsigned int count) asm("GetFriendRequestList__Q2_2nn2fpFPUiT1UiT3")
 
nn::Result GetFriendRequestMessageId (unsigned long long *outMessageIds, unsigned int *, unsigned int) asm("GetFriendRequestMessageId__Q2_2nn2fpFPULPCUiUi")
 
nn::Result GetFriendScreenName (char16_t outScreenName[nn::act::MiiNameSize], unsigned int *, unsigned int, bool, unsigned char *) asm("GetFriendScreenName__Q2_2nn2fpFPA11_wPCUiUibPUc")
 
nn::Result GetFriendSortTime (nn::fp::DateTime *, nn::act::PrincipalId *principalBuffer, unsigned int count) asm("GetFriendSortTime__Q2_2nn2fpFPQ3_2nn2fp8DateTimePCUiUi")
 
nn::Result GetLastLedEvent (unsigned int *, unsigned int *) asm("GetLastLedEvent__Q2_2nn2fpFPUiT1")
 
nn::Result GetMyAccountId (char *outAccountId) asm("GetMyAccountId__Q2_2nn2fpFPc")
 
nn::Result GetMyComment (nn::fp::Comment *outComment) asm("GetMyComment__Q2_2nn2fpFPQ3_2nn2fp7Comment")
 
nn::Result GetMyMii (FFLStoreData *outMiiData) asm("GetMyMii__Q2_2nn2fpFP12FFLStoreData")
 
nn::Result GetMyPlayingGame (nn::fp::GameKey *outPlayingGmae) asm("GetMyPlayingGame__Q2_2nn2fpFPQ3_2nn2fp7GameKey")
 
nn::Result GetMyPreference (nn::fp::Preference *outPreference) asm("GetMyPreference__Q2_2nn2fpFPQ3_2nn2fp10Preference")
 
nn::Result GetMyPresence (nn::fp::MyPresence *outMyPresence) asm("GetMyPresence__Q2_2nn2fpFPQ3_2nn2fp10MyPresence")
 
nn::act::PrincipalId GetMyPrincipalId (void) asm("GetMyPrincipalId__Q2_2nn2fpFv")
 
nn::Result GetMyProfile (nn::fp::Profile *outProfile) asm("GetMyProfile__Q2_2nn2fpFPQ3_2nn2fp7Profile")
 
nn::Result GetMyScreenName (char16_t *outScreenName) asm("GetMyScreenName__Q2_2nn2fpFPw")
 
nn::Result GetRecentPlayRecord (nn::fp::RecentPlayRecordEx *outPlayRecordBuffer, unsigned int *outPlayRecordBufferSize, unsigned int, unsigned int maxReadCount) asm("GetRecentPlayRecord__Q2_2nn2fpFPQ3_2nn2fp18RecentPlayRecordExPUiUiT3")
 
nn::Result GetRequestBlockSettingAsync (unsigned char *, unsigned int *, unsigned int, FPAsyncCallback, void *) asm("GetRequestBlockSettingAsync__Q2_2nn2fpFPUcPCUiUiPFQ2_2nn6ResultPv_vPv")
 
bool HasLoggedIn (void) asm("HasLoggedIn__Q2_2nn2fpFv")
 
nn::Result InitializeAdmin (void) asm("InitializeAdmin__Q2_2nn2fpFv")
 
nn::Result Initialize (void) asm("Initialize__Q2_2nn2fpFv")
 
bool IsFriendRequestAllowed (void) asm("IsFriendRequestAllowed__Q2_2nn2fpFv")
 
bool IsInitializedAdmin (void) asm("IsInitializedAdmin__Q2_2nn2fpFv")
 
bool IsInitialized (void) asm("IsInitialized__Q2_2nn2fpFv")
 
bool IsInvitation (nn::fp::GameMode *, nn::act::PrincipalId myPrincipalId, unsigned int) asm("IsInvitation__Q2_2nn2fpFPCQ3_2nn2fp8GameModeUiT2")
 
bool IsJoinableForFriendListViewer (nn::fp::FriendPresence *, unsigned int, unsigned long long) asm("IsJoinableForFriendListViewer__Q2_2nn2fpFPCQ3_2nn2fp14FriendPresenceUiUL")
 
bool IsJoinableForFriendListViewer (nn::fp::Presence *, unsigned int, unsigned long long) asm("IsJoinableForFriendListViewer__Q2_2nn2fpFPCQ3_2nn2fp8PresenceUiUL")
 
bool IsJoinable (nn::fp::FriendPresence *, unsigned long long) asm("IsJoinable__Q2_2nn2fpFPCQ3_2nn2fp14FriendPresenceUL")
 
bool IsOnline (void) asm("IsOnline__Q2_2nn2fpFv")
 
bool IsPreferenceValid (void) asm("IsPreferenceValid__Q2_2nn2fpFv")
 
bool IsRecentPlayRecordCorrupted (void) asm("IsRecentPlayRecordCorrupted__Q2_2nn2fpFv")
 
bool IsRequestBlockForced (void) asm("IsRequestBlockForced__Q2_2nn2fpFv")
 
nn::Result LoginAsync (FPAsyncCallback, void *) asm("LoginAsync__Q2_2nn2fpFPFQ2_2nn6ResultPv_vPv")
 
nn::Result Logout (void) asm("Logout__Q2_2nn2fpFv")
 
nn::Result MarkFriendRequestsAsReceivedAsync (unsigned long long *, unsigned int, FPAsyncCallback, void *) asm("MarkFriendRequestsAsReceivedAsync__Q2_2nn2fpFPCULUiPFQ2_2nn6ResultPv_vPv")
 
nn::Result RegisterAccountAsync (FPAsyncCallback, void *) asm("RegisterAccountAsync__Q2_2nn2fpFPFQ2_2nn6ResultPv_vPv")
 
nn::Result RemoveBlackListAsync (unsigned int, FPAsyncCallback, void *) asm("RemoveBlackListAsync__Q2_2nn2fpFUiPFQ2_2nn6ResultPv_vPv")
 
nn::Result RemoveFriendAsync (unsigned int, FPAsyncCallback, void *) asm("RemoveFriendAsync__Q2_2nn2fpFUiPFQ2_2nn6ResultPv_vPv")
 
uint32_t ResultToErrorCode (nn::Result) asm("ResultToErrorCode__Q2_2nn2fpFQ2_2nn6Result")
 
nn::Result SetInvitationParameter (nn::fp::GameMode *, unsigned int *, unsigned int, bool) asm("SetInvitationParameter__Q2_2nn2fpFPQ3_2nn2fp8GameModePCUiUib")
 
nn::Result SetLedEventMask (uint32_t) asm("SetLedEventMask__Q2_2nn2fpFUi")
 
nn::Result SetNotificationHandler (uint32_t, NotificationHandlerFn, void *) asm("SetNotificationHandler__Q2_2nn2fpFUiPFQ3_2nn2fp16NotificationTypeUiPv_vPv")
 
nn::Result UnlockParentalControlTemporarily (const char pinCode[5]) asm("UnlockParentalControlTemporarily__Q2_2nn2fpFPCc")
 
nn::Result UpdateCommentAsync (const char16_t *, FPAsyncCallback, void *) asm("UpdateCommentAsync__Q2_2nn2fpFPCwPFQ2_2nn6ResultPv_vPv")
 
nn::Result UpdateGameModeDescription (const char16_t *description) asm("UpdateGameModeDescription__Q2_2nn2fpFPCw")
 
nn::Result UpdateGameModeEx (nn::fp::GameMode *, const char16_t *) asm("UpdateGameModeEx__Q2_2nn2fpFPCQ3_2nn2fp8GameModePCw")
 
nn::Result UpdateGameModeForOverlayApplication (nn::fp::GameMode *, const char16_t *) asm("UpdateGameModeForOverlayApplication__Q2_2nn2fpFPCQ3_2nn2fp8GameModePCw")
 
nn::Result UpdateGameMode (nn::fp::GameMode *, const char16_t *) asm("UpdateGameMode__Q2_2nn2fpFPCQ3_2nn2fp8GameModePCw")
 
nn::Result UpdateGameMode (nn::fp::GameMode *, const char16_t *, unsigned int) asm("UpdateGameMode__Q2_2nn2fpFPCQ3_2nn2fp8GameModePCwUi")
 
nn::Result UpdateMiiAsync (FFLStoreData *, char16_t *, FPAsyncCallback, void *) asm("UpdateMiiAsync__Q2_2nn2fpFPC12FFLStoreDataPCwPFQ2_2nn6ResultPv_vPv")
 
nn::Result UpdateMiiAsync (FFLStoreData *miiData, FPAsyncCallback, void *) asm("UpdateMiiAsync__Q2_2nn2fpFPC12FFLStoreDataPFQ2_2nn6ResultPv_vPv")
 
nn::Result UpdatePlayingGame (nn::fp::GameKey *, unsigned int) asm("UpdatePlayingGame__Q2_2nn2fpFPCQ3_2nn2fp7GameKeyUi")
 
nn::Result UpdatePlayingOverlayApplication (nn::fp::GameKey *, unsigned int) asm("UpdatePlayingOverlayApplication__Q2_2nn2fpFPCQ3_2nn2fp7GameKeyUi")
 
nn::Result UpdatePreferenceAsync (nn::fp::Preference *, FPAsyncCallback, void *) asm("UpdatePreferenceAsync__Q2_2nn2fpFPCQ3_2nn2fp10PreferencePFQ2_2nn6ResultPv_vPv")
 

Variables

uint16_t year
 
uint8_t month
 
uint8_t day
 
uint8_t hour
 
uint8_t minutes
 
uint8_t seconds
 
uint8_t milliseconds
 
uint64_t titleId
 
uint16_t unk_0x8
 
uint32_t unk_0xC
 
nn::act::PrincipalId principalId
 
uint16_t unk_0x04
 
char16_t inGameName [nn::act::AccountIdSize]
 
char16_t myMiiName [nn::act::AccountIdSize]
 
RecentPlayRecord playRecord
 
GameKey game
 
DateTime date
 
bool unk_0x00
 
bool unk_0x01
 
bool unk_0x02
 
BOOL joinAvailabilityFlag
 
uint32_t matchmakeSystemType
 
uint32_t joinGameId
 
uint32_t joinGameMode
 
nn::act::PrincipalId ownerPrincipalId
 only set when joinAvailabilityFlag is TRUE More...
 
uint32_t joinGroupId
 
uint8_t applicationArg [0x14]
 
GameMode gameMode
 
uint8_t region
 
uint8_t language
 
uint8_t platform
 
bool isOnline
 
bool isValid
 
char16_t presenceText [64]
 
uint8_t unk_0x00
 
uint8_t unk_0x01
 
char16_t comment [17]
 

Detailed Description

See nn::fp.


Data Structure Documentation

◆ nn::fp::DateTime

struct nn::fp::DateTime

Definition at line 46 of file fp_cpp.h.

Data Fields
uint16_t year
uint8_t month
uint8_t day
uint8_t hour
uint8_t minutes
uint8_t seconds
uint8_t milliseconds

◆ nn::fp::GameKey

struct nn::fp::GameKey

Definition at line 65 of file fp_cpp.h.

Data Fields
uint64_t titleId
uint16_t unk_0x8
uint32_t unk_0xC

◆ nn::fp::RecentPlayRecord

struct nn::fp::RecentPlayRecord

Definition at line 74 of file fp_cpp.h.

Data Fields
PrincipalId principalId
uint16_t unk_0x04
char16_t inGameName[nn::act::AccountIdSize]
char16_t myMiiName[nn::act::AccountIdSize]

◆ nn::fp::RecentPlayRecordEx

struct nn::fp::RecentPlayRecordEx

Definition at line 87 of file fp_cpp.h.

Data Fields
RecentPlayRecord playRecord
GameKey game
DateTime date

◆ nn::fp::Preference

struct nn::fp::Preference

Definition at line 98 of file fp_cpp.h.

Data Fields
bool unk_0x00
bool unk_0x01
bool unk_0x02

◆ nn::fp::GameMode

struct nn::fp::GameMode

Definition at line 107 of file fp_cpp.h.

Data Fields
BOOL joinAvailabilityFlag
uint32_t matchmakeSystemType
uint32_t joinGameId
uint32_t joinGameMode
PrincipalId ownerPrincipalId only set when joinAvailabilityFlag is TRUE
uint32_t joinGroupId
uint8_t applicationArg[0x14]

◆ nn::fp::BasicInfo

struct nn::fp::BasicInfo

TODO: find member types and names.

Definition at line 157 of file fp_cpp.h.

◆ nn::fp::BlackListedPrincipal

struct nn::fp::BlackListedPrincipal

TODO: find member types and names.

Definition at line 164 of file fp_cpp.h.

◆ nn::fp::Profile

struct nn::fp::Profile

TODO: find member types and names.

Definition at line 171 of file fp_cpp.h.

◆ nn::fp::Comment

struct nn::fp::Comment

Definition at line 177 of file fp_cpp.h.

Data Fields
uint8_t unk_0x00
uint8_t unk_0x01
char16_t comment[17]

◆ nn::fp::FriendData

struct nn::fp::FriendData

Definition at line 188 of file fp_cpp.h.

◆ nn::fp::GameModeDescription

struct nn::fp::GameModeDescription

Definition at line 195 of file fp_cpp.h.

◆ nn::fp::FriendRequest

struct nn::fp::FriendRequest

Definition at line 200 of file fp_cpp.h.

Typedef Documentation

◆ FPAsyncCallback

typedef void(* FPAsyncCallback) (nn::Result, void *)

Definition at line 210 of file fp_cpp.h.

◆ NotificationHandlerFn

typedef void(* NotificationHandlerFn) (nn::fp::NotificationType, nn::act::PrincipalId, void *)

Definition at line 211 of file fp_cpp.h.

Enumeration Type Documentation

◆ NotificationType

Enumerator
NOTIFICATION_ONLINE 
NOTIFICATION_OFFLINE 
NOTIFICATION_PREFERENCE 
NOTIFICATION_FRIEND_ONLINE 
NOTIFICATION_FRIEND_OFFLINE 
NOTIFICATION_FRIEND_PRESENCE 
NOTIFICATION_FRIEND_MII 
NOTIFICATION_FRIEND_PROFILE 
NOTIFICATION_FRIEND_ADDED 
NOTIFICATION_FRIEND_REMOVED 
NOTIFICATION_MY_REQUEST_ADDED 
NOTIFICATION_MY_REQUEST_REMOVED 
NOTIFICATION_MY_REQUEST_UPDATED 
NOTIFICATION_BLACKLIST_ADDED 
NOTIFICATION_BLACKLIST_REMOVED 
NOTIFICATION_BLACKLIST_UPDATED 
NOTIFICATION_REQUEST_ADDED 
NOTIFICATION_REQUEST_REMOVED 

Definition at line 23 of file fp_cpp.h.

Function Documentation

◆ AcceptFriendRequestAsync()

nn::Result nn::fp::AcceptFriendRequestAsync ( nn::act::LocalFriendCode  ,
FPAsyncCallback  ,
void *   
)

◆ AddBlackListAsync() [1/2]

nn::Result nn::fp::AddBlackListAsync ( nn::act::PrincipalId  ,
nn::fp::GameKey ,
FPAsyncCallback  ,
void *   
)

◆ AddBlackListAsync() [2/2]

nn::Result nn::fp::AddBlackListAsync ( nn::act::PrincipalId  ,
FPAsyncCallback  ,
void *   
)

◆ AddFriendAsync() [1/2]

nn::Result nn::fp::AddFriendAsync ( char  nnid[nn::act::AccountIdSize],
FPAsyncCallback  ,
void *   
)

◆ AddFriendAsync() [2/2]

nn::Result nn::fp::AddFriendAsync ( nn::act::PrincipalId  ,
FPAsyncCallback  ,
void *   
)

◆ AddFriendRequestAsync() [1/2]

nn::Result nn::fp::AddFriendRequestAsync ( const nn::fp::RecentPlayRecordEx ,
const char16_t *  ,
FPAsyncCallback  ,
void *   
)

◆ AddFriendRequestAsync() [2/2]

nn::Result nn::fp::AddFriendRequestAsync ( unsigned int  ,
unsigned char  ,
const char16_t *  ,
unsigned char  ,
const char16_t *  ,
FPAsyncCallback  ,
void *   
)

◆ AddFriendRequestNoTitleAsync()

nn::Result nn::fp::AddFriendRequestNoTitleAsync ( unsigned int  ,
unsigned char  ,
const char16_t *  ,
unsigned char  ,
const char16_t *  ,
FPAsyncCallback  ,
void *   
)

◆ AddRecentPlayRecordEx()

nn::Result nn::fp::AddRecentPlayRecordEx ( const nn::fp::RecentPlayRecordEx ,
unsigned int   
)

◆ AddRecentPlayRecord()

nn::Result nn::fp::AddRecentPlayRecord ( const nn::fp::RecentPlayRecord ,
unsigned int   
)

◆ CancelFriendRequestAsync()

nn::Result nn::fp::CancelFriendRequestAsync ( nn::act::LocalFriendCode  ,
FPAsyncCallback  ,
void *   
)

◆ CheckSettingStatusAsync()

nn::Result nn::fp::CheckSettingStatusAsync ( unsigned char *  ,
FPAsyncCallback  ,
void *   
)

◆ ClearLedEvent()

nn::Result nn::fp::ClearLedEvent ( void  )

◆ DeleteFriendFlagsAsync()

nn::Result nn::fp::DeleteFriendFlagsAsync ( const unsigned int *  ,
unsigned int  ,
unsigned int  ,
FPAsyncCallback  ,
void *   
)

◆ DeleteFriendRequestAsync()

nn::Result nn::fp::DeleteFriendRequestAsync ( nn::act::LocalFriendCode  ,
FPAsyncCallback  ,
void *   
)

◆ DeleteRecentPlayRecordAll()

nn::Result nn::fp::DeleteRecentPlayRecordAll ( void  )

◆ DeleteSaveDirectory()

nn::Result nn::fp::DeleteSaveDirectory ( unsigned int  )

◆ DenyFriendRequestAsync()

nn::Result nn::fp::DenyFriendRequestAsync ( nn::act::LocalFriendCode  ,
FPAsyncCallback  ,
void *   
)

◆ DetectNatPropertiesAsync()

nn::Result nn::fp::DetectNatPropertiesAsync ( unsigned char *  ,
unsigned char *  ,
unsigned int *  ,
FPAsyncCallback  ,
void *   
)

◆ FinalizeAdmin()

nn::Result nn::fp::FinalizeAdmin ( void  )

◆ Finalize()

nn::Result nn::fp::Finalize ( void  )

◆ GetBasicInfoAsync()

nn::Result nn::fp::GetBasicInfoAsync ( nn::fp::BasicInfo ,
unsigned int *  ,
unsigned int  ,
FPAsyncCallback  ,
void *   
)

◆ GetBlackListAccountId()

nn::Result nn::fp::GetBlackListAccountId ( char *  outAccountIds,
unsigned int *  ,
unsigned int   
)

◆ GetBlackListAdditionalTime()

nn::Result nn::fp::GetBlackListAdditionalTime ( nn::fp::DateTime ,
unsigned int *  ,
unsigned int   
)

◆ GetBlackListEx()

nn::Result nn::fp::GetBlackListEx ( nn::fp::BlackListedPrincipal outBlackList,
unsigned int *  ,
unsigned int   
)

◆ GetBlackList()

nn::Result nn::fp::GetBlackList ( nn::act::PrincipalId outBlackListPrincipalBuffer,
unsigned int *  outBlackListPrincipalBufferSize,
unsigned int  ,
unsigned int  maxReadCount 
)

◆ GetFriendAccountId()

nn::Result nn::fp::GetFriendAccountId ( char *  outAccountIdBuffer,
nn::act::PrincipalId principalBuffer,
unsigned int  accountIdBufferSize 
)

◆ GetFriendApprovalTime()

nn::Result nn::fp::GetFriendApprovalTime ( nn::fp::DateTime outDateTime,
unsigned int *  ,
unsigned int   
)

◆ GetFriendComment()

nn::Result nn::fp::GetFriendComment ( nn::fp::Comment outComment,
unsigned int *  ,
unsigned int   
)

◆ GetFriendListAll()

nn::Result nn::fp::GetFriendListAll ( unsigned int *  ,
unsigned int *  ,
unsigned int  ,
unsigned int   
)

◆ GetFriendListEx()

nn::Result nn::fp::GetFriendListEx ( nn::fp::FriendData outFriendData,
nn::act::PrincipalId principalBuffer,
unsigned int  count 
)

◆ GetFriendList()

nn::Result nn::fp::GetFriendList ( nn::act::PrincipalId outPrincipalBuffer,
unsigned int *  outPrincipalBufferReadCount,
unsigned int  unkn,
unsigned int  principalBufferSize 
)

◆ GetFriendMii()

nn::Result nn::fp::GetFriendMii ( FFLStoreData outMiiData,
nn::act::PrincipalId principalBuffer,
unsigned int  count 
)

◆ GetFriendPlayingGame()

nn::Result nn::fp::GetFriendPlayingGame ( nn::fp::GameKey outGameKey,
nn::fp::GameModeDescription outGameModeDescription,
nn::act::PrincipalId principalBuffer,
unsigned int  maxReadCount 
)

◆ GetFriendPresenceEx()

nn::Result nn::fp::GetFriendPresenceEx ( nn::fp::FriendPresence ,
nn::act::PrincipalId principalBuffer,
unsigned int  maxReadCount 
)

◆ GetFriendPresence()

nn::Result nn::fp::GetFriendPresence ( nn::fp::FriendPresence ,
nn::act::PrincipalId principalBuffer,
unsigned int  count 
)

◆ GetFriendProfile()

nn::Result nn::fp::GetFriendProfile ( nn::fp::Profile ,
nn::act::PrincipalId principalBuffer,
unsigned int  readCount 
)

◆ GetFriendRelationship()

nn::Result nn::fp::GetFriendRelationship ( uint8_t *  outRelationshipNum,
nn::act::PrincipalId principalBuffer,
unsigned int  count 
)

◆ GetFriendRequestAccountId()

nn::Result nn::fp::GetFriendRequestAccountId ( char *  outAccountIds,
nn::act::PrincipalId principalBuffer,
unsigned int  count 
)

◆ GetFriendRequestListEx()

nn::Result nn::fp::GetFriendRequestListEx ( nn::fp::FriendRequest ,
nn::act::PrincipalId principalBuffer,
unsigned int  count 
)

◆ GetFriendRequestList()

nn::Result nn::fp::GetFriendRequestList ( nn::act::PrincipalId outBuffer,
unsigned int *  outReadCount,
unsigned int  ,
unsigned int  count 
)

◆ GetFriendRequestMessageId()

nn::Result nn::fp::GetFriendRequestMessageId ( unsigned long long *  outMessageIds,
unsigned int *  ,
unsigned int   
)

◆ GetFriendScreenName()

nn::Result nn::fp::GetFriendScreenName ( char16_t  outScreenName[nn::act::MiiNameSize],
unsigned int *  ,
unsigned int  ,
bool  ,
unsigned char *   
)

◆ GetFriendSortTime()

nn::Result nn::fp::GetFriendSortTime ( nn::fp::DateTime ,
nn::act::PrincipalId principalBuffer,
unsigned int  count 
)

◆ GetLastLedEvent()

nn::Result nn::fp::GetLastLedEvent ( unsigned int *  ,
unsigned int *   
)

◆ GetMyAccountId()

nn::Result nn::fp::GetMyAccountId ( char *  outAccountId)

◆ GetMyComment()

nn::Result nn::fp::GetMyComment ( nn::fp::Comment outComment)

◆ GetMyMii()

nn::Result nn::fp::GetMyMii ( FFLStoreData outMiiData)

◆ GetMyPlayingGame()

nn::Result nn::fp::GetMyPlayingGame ( nn::fp::GameKey outPlayingGmae)

◆ GetMyPreference()

nn::Result nn::fp::GetMyPreference ( nn::fp::Preference outPreference)

◆ GetMyPresence()

nn::Result nn::fp::GetMyPresence ( nn::fp::MyPresence outMyPresence)

◆ GetMyPrincipalId()

nn::act::PrincipalId nn::fp::GetMyPrincipalId ( void  )

◆ GetMyProfile()

nn::Result nn::fp::GetMyProfile ( nn::fp::Profile outProfile)

◆ GetMyScreenName()

nn::Result nn::fp::GetMyScreenName ( char16_t *  outScreenName)

◆ GetRecentPlayRecord()

nn::Result nn::fp::GetRecentPlayRecord ( nn::fp::RecentPlayRecordEx outPlayRecordBuffer,
unsigned int *  outPlayRecordBufferSize,
unsigned int  ,
unsigned int  maxReadCount 
)

◆ GetRequestBlockSettingAsync()

nn::Result nn::fp::GetRequestBlockSettingAsync ( unsigned char *  ,
unsigned int *  ,
unsigned int  ,
FPAsyncCallback  ,
void *   
)

◆ HasLoggedIn()

bool nn::fp::HasLoggedIn ( void  )

◆ InitializeAdmin()

nn::Result nn::fp::InitializeAdmin ( void  )

◆ Initialize()

nn::Result nn::fp::Initialize ( void  )

◆ IsFriendRequestAllowed()

bool nn::fp::IsFriendRequestAllowed ( void  )

◆ IsInitializedAdmin()

bool nn::fp::IsInitializedAdmin ( void  )

◆ IsInitialized()

bool nn::fp::IsInitialized ( void  )

◆ IsInvitation()

bool nn::fp::IsInvitation ( nn::fp::GameMode ,
nn::act::PrincipalId  myPrincipalId,
unsigned int   
)

◆ IsJoinableForFriendListViewer() [1/2]

bool nn::fp::IsJoinableForFriendListViewer ( nn::fp::FriendPresence ,
unsigned int  ,
unsigned long long   
)

◆ IsJoinableForFriendListViewer() [2/2]

bool nn::fp::IsJoinableForFriendListViewer ( nn::fp::Presence ,
unsigned int  ,
unsigned long long   
)

◆ IsJoinable()

bool nn::fp::IsJoinable ( nn::fp::FriendPresence ,
unsigned long long   
)

◆ IsOnline()

bool nn::fp::IsOnline ( void  )

◆ IsPreferenceValid()

bool nn::fp::IsPreferenceValid ( void  )

◆ IsRecentPlayRecordCorrupted()

bool nn::fp::IsRecentPlayRecordCorrupted ( void  )

◆ IsRequestBlockForced()

bool nn::fp::IsRequestBlockForced ( void  )

◆ LoginAsync()

nn::Result nn::fp::LoginAsync ( FPAsyncCallback  ,
void *   
)

◆ Logout()

nn::Result nn::fp::Logout ( void  )

◆ MarkFriendRequestsAsReceivedAsync()

nn::Result nn::fp::MarkFriendRequestsAsReceivedAsync ( unsigned long long *  ,
unsigned int  ,
FPAsyncCallback  ,
void *   
)

◆ RegisterAccountAsync()

nn::Result nn::fp::RegisterAccountAsync ( FPAsyncCallback  ,
void *   
)

◆ RemoveBlackListAsync()

nn::Result nn::fp::RemoveBlackListAsync ( unsigned int  ,
FPAsyncCallback  ,
void *   
)

◆ RemoveFriendAsync()

nn::Result nn::fp::RemoveFriendAsync ( unsigned int  ,
FPAsyncCallback  ,
void *   
)

◆ ResultToErrorCode()

uint32_t nn::fp::ResultToErrorCode ( nn::Result  )

◆ SetInvitationParameter()

nn::Result nn::fp::SetInvitationParameter ( nn::fp::GameMode ,
unsigned int *  ,
unsigned int  ,
bool   
)

◆ SetLedEventMask()

nn::Result nn::fp::SetLedEventMask ( uint32_t  )

◆ SetNotificationHandler()

nn::Result nn::fp::SetNotificationHandler ( uint32_t  ,
NotificationHandlerFn  ,
void *   
)

◆ UnlockParentalControlTemporarily()

nn::Result nn::fp::UnlockParentalControlTemporarily ( const char  pinCode[5])

◆ UpdateCommentAsync()

nn::Result nn::fp::UpdateCommentAsync ( const char16_t *  ,
FPAsyncCallback  ,
void *   
)

◆ UpdateGameModeDescription()

nn::Result nn::fp::UpdateGameModeDescription ( const char16_t *  description)

◆ UpdateGameModeEx()

nn::Result nn::fp::UpdateGameModeEx ( nn::fp::GameMode ,
const char16_t *   
)

◆ UpdateGameModeForOverlayApplication()

nn::Result nn::fp::UpdateGameModeForOverlayApplication ( nn::fp::GameMode ,
const char16_t *   
)

◆ UpdateGameMode() [1/2]

nn::Result nn::fp::UpdateGameMode ( nn::fp::GameMode ,
const char16_t *   
)

◆ UpdateGameMode() [2/2]

nn::Result nn::fp::UpdateGameMode ( nn::fp::GameMode ,
const char16_t *  ,
unsigned int   
)

◆ UpdateMiiAsync() [1/2]

nn::Result nn::fp::UpdateMiiAsync ( FFLStoreData ,
char16_t *  ,
FPAsyncCallback  ,
void *   
)

◆ UpdateMiiAsync() [2/2]

nn::Result nn::fp::UpdateMiiAsync ( FFLStoreData miiData,
FPAsyncCallback  ,
void *   
)

◆ UpdatePlayingGame()

nn::Result nn::fp::UpdatePlayingGame ( nn::fp::GameKey ,
unsigned int   
)

◆ UpdatePlayingOverlayApplication()

nn::Result nn::fp::UpdatePlayingOverlayApplication ( nn::fp::GameKey ,
unsigned int   
)

◆ UpdatePreferenceAsync()

nn::Result nn::fp::UpdatePreferenceAsync ( nn::fp::Preference ,
FPAsyncCallback  ,
void *   
)

Variable Documentation

◆ year

uint16_t year

Definition at line 48 of file fp_cpp.h.

◆ month

uint8_t month

Definition at line 49 of file fp_cpp.h.

◆ day

uint8_t day

Definition at line 50 of file fp_cpp.h.

◆ hour

uint8_t hour

Definition at line 51 of file fp_cpp.h.

◆ minutes

uint8_t minutes

Definition at line 52 of file fp_cpp.h.

◆ seconds

uint8_t seconds

Definition at line 53 of file fp_cpp.h.

◆ milliseconds

uint8_t milliseconds

Definition at line 54 of file fp_cpp.h.

◆ titleId

uint64_t titleId

Definition at line 67 of file fp_cpp.h.

◆ unk_0x8

uint16_t unk_0x8

Definition at line 68 of file fp_cpp.h.

◆ unk_0xC

uint32_t unk_0xC

Definition at line 69 of file fp_cpp.h.

◆ principalId

nn::act::PrincipalId principalId

Definition at line 76 of file fp_cpp.h.

◆ unk_0x04

uint16_t unk_0x04

Definition at line 77 of file fp_cpp.h.

◆ inGameName

char16_t inGameName[nn::act::AccountIdSize]

Definition at line 78 of file fp_cpp.h.

◆ myMiiName

char16_t myMiiName[nn::act::AccountIdSize]

Definition at line 79 of file fp_cpp.h.

◆ playRecord

RecentPlayRecord playRecord

Definition at line 89 of file fp_cpp.h.

◆ game

GameKey game

Definition at line 90 of file fp_cpp.h.

◆ date

DateTime date

Definition at line 91 of file fp_cpp.h.

◆ unk_0x00 [1/2]

bool unk_0x00

Definition at line 100 of file fp_cpp.h.

◆ unk_0x01 [1/2]

bool unk_0x01

Definition at line 101 of file fp_cpp.h.

◆ unk_0x02

bool unk_0x02

Definition at line 102 of file fp_cpp.h.

◆ joinAvailabilityFlag

BOOL joinAvailabilityFlag

Definition at line 109 of file fp_cpp.h.

◆ matchmakeSystemType

uint32_t matchmakeSystemType

Definition at line 110 of file fp_cpp.h.

◆ joinGameId

uint32_t joinGameId

Definition at line 111 of file fp_cpp.h.

◆ joinGameMode

uint32_t joinGameMode

Definition at line 112 of file fp_cpp.h.

◆ ownerPrincipalId

nn::act::PrincipalId ownerPrincipalId

only set when joinAvailabilityFlag is TRUE

Definition at line 114 of file fp_cpp.h.

◆ joinGroupId

uint32_t joinGroupId

Definition at line 115 of file fp_cpp.h.

◆ applicationArg

uint8_t applicationArg[0x14]

Definition at line 116 of file fp_cpp.h.

◆ gameMode

GameMode gameMode

Definition at line 129 of file fp_cpp.h.

◆ region

uint8_t region

Definition at line 130 of file fp_cpp.h.

◆ language

uint8_t language

Definition at line 131 of file fp_cpp.h.

◆ platform

uint8_t platform

Definition at line 132 of file fp_cpp.h.

◆ isOnline

bool isOnline

Definition at line 142 of file fp_cpp.h.

◆ isValid

bool isValid

Definition at line 143 of file fp_cpp.h.

◆ presenceText

char16_t presenceText[64]

Definition at line 151 of file fp_cpp.h.

◆ unk_0x00 [2/2]

uint8_t unk_0x00

Definition at line 179 of file fp_cpp.h.

◆ unk_0x01 [2/2]

uint8_t unk_0x01

Definition at line 180 of file fp_cpp.h.

◆ comment

char16_t comment[17]

Definition at line 181 of file fp_cpp.h.