Returns the amount of friends on the user's friends list.
Queries information about the given friend list entry at
num. For all possible
type values, see Friends List.
nwc24.sendGiftMailAsync(friendIndex, urlPath, message, miiIndex)
Sends a mail using the gift design template with a body of the given
message. The recipient is specified by
friendIndex from the friends list. The sending user adds their Mii via
urlPath is the URL this channel opens to when the Start button is clicked.
Please see Async Handling for more information about the workflow for handling mail errors.
nwc24.sendReturnMailAsync(friendIndex, message, miiIndex)
Similar to the above, however lacking the
url parameter. The gift return design template is used.
nwc24.sendNormalMailAsync(friendIndex, message, miiIndex)
Similar to the above. As the name implies, no mail design template is applied.
Returns whether the internal mail engine is currently processing an operation.
Displays an error with
code. There are 3 available types, though they appear ambiguous:
No type (or no arguments) displays an error screen with "Wii Menu" and "Reset Channel".
2 appears to have a "Wii Menu" and "Reset Channel" button, though sometimes it does not.
8 appears to only show "Reset Channel".
Handles function for the button displayed on the left within errors. Depending on the error type, the button either effectively goes to the last loaded page in history, or it resets the channel.
Called whenever the button on the right within error pages is selected. Depending on the error type, it either loads the initially loaded URL (for example,
/startup) or resets the channel.