wut  v1.7.0
Wii U Toolchain
Data Structures | Namespaces | Typedefs | Enumerations | Functions
fp_cpp.h File Reference
#include <wut.h>
#include <nn/result.h>
#include <nn/ffl/miidata.h>
#include <nn/act.h>
Include dependency graph for fp_cpp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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
 

Namespaces

 nn
 
 nn::fp
 

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")