wut  v1.7.0
Wii U Toolchain
Data Structures | Namespaces | Enumerations | Functions
amiibo_settings_cpp.h File Reference
#include <wut.h>
#include <nn/nfp/nfp_cpp.h>
#include <sysapp/args.h>
Include dependency graph for amiibo_settings_cpp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  AmiiboSettingsArgsIn
 
struct  AmiiboSettingsArgs
 
struct  AmiiboSettingsResult
 

Namespaces

 nn
 
 nn::nfp
 

Enumerations

enum class  AmiiboSettingsMode : uint32_t {
  Register = 0 ,
  DeleteGameData = 1 ,
  Restore = 2
}
 

Functions

nn::Result InitializeAmiiboSettingsArgsIn (AmiiboSettingsArgsIn *args) asm("InitializeAmiiboSettingsArgsIn__Q2_2nn3nfpFPQ3_2nn3nfp20AmiiboSettingsArgsIn")
 Initializes a AmiiboSettingsArgsIn struct. More...
 
nn::Result SwitchToAmiiboSettings (const AmiiboSettingsArgsIn &args, const char *standardArg, uint32_t standardArgSize) asm("SwitchToAmiiboSettings__Q2_2nn3nfpFRCQ3_2nn3nfp20AmiiboSettingsArgsInPCcUi")
 Switches to the amiibo settings applet. More...
 
nn::Result SwitchToAmiiboSettings (const AmiiboSettingsArgsIn &args) asm("SwitchToAmiiboSettings__Q2_2nn3nfpFRCQ3_2nn3nfp20AmiiboSettingsArgsIn")
 Switches to the amiibo settings applet. More...
 
nn::Result GetAmiiboSettingsResult (AmiiboSettingsResult *outResult, const SYSArgDataBlock &block) asm("GetAmiiboSettingsResult__Q2_2nn3nfpFPQ3_2nn3nfp20AmiiboSettingsResultRC15SysArgDataBlock")
 Gets the amiibo settings result from a SYSArgs data block. More...
 
nn::Result ReturnToCallerWithAmiiboSettingsResult (const AmiiboSettingsResult &result) asm("ReturnToCallerWithAmiiboSettingsResult__Q2_2nn3nfpFRCQ3_2nn3nfp20AmiiboSettingsResult")
 Used by Amiibo Settings internally to return to the caller. More...
 
nn::Result GetAmiiboSettingsArgs (AmiiboSettingsArgs *outArgs) asm("GetAmiiboSettingsArgs__Q2_2nn3nfpFPQ3_2nn3nfp18AmiiboSettingsArgs")
 Used by Amiibo Settings internally to get the arguments of the caller. More...
 

Data Structure Documentation

◆ nn::nfp::AmiiboSettingsArgsIn

struct nn::nfp::AmiiboSettingsArgsIn

Definition at line 30 of file amiibo_settings_cpp.h.

Data Fields
AmiiboSettingsMode mode The mode in which the amiibo settings should be opened.
TagInfo tag_info
bool is_registered Set to true if the tag is already registered.
uint8_t padding[3] padding bytes, must be set to 0
RegisterInfo register_info
CommonInfo common_info
uint8_t reserved[0x20] reserved bytes, must be set to 0

◆ nn::nfp::AmiiboSettingsArgs

struct nn::nfp::AmiiboSettingsArgs

Definition at line 53 of file amiibo_settings_cpp.h.

Data Fields
SYSStandardArgs standardArgs
AmiiboSettingsArgsIn argsIn

◆ nn::nfp::AmiiboSettingsResult

struct nn::nfp::AmiiboSettingsResult

Definition at line 62 of file amiibo_settings_cpp.h.

Data Fields
int32_t result Result (0 on success)
TagInfo tag_info
RegisterInfo register_info
CommonInfo common_info
uint8_t reserved[0x20] reserved bytes