wut  v1.7.0
Wii U Toolchain
Static Public Member Functions
ServerPrivate Class Reference

#include <Cafe.h>

Static Public Member Functions

static nn::Result GetInternalState (ServerState *state) asm("GetInternalState__Q4_2nn3dlp4Cafe13ServerPrivateSFPQ4_2nn3dlp4Cafe11ServerState")
 Gets the server state. More...
 
static nn::Result Initialize (uint8_t maxClientNum, uint32_t uniqueId, uint8_t childIndex, uint32_t blockBufferSize, uint32_t blockBufferNum, nn::cfg::CTR::UserName *userName) asm("Initialize__Q4_2nn3dlp4Cafe13ServerPrivateSFUcUiT1N22PQ4_2nn3cfg3CTR8UserName")
 Initializes DLP. More...
 
static nn::Result Initialize (bool *dupNoticeNeed, uint8_t maxClientNum, uint32_t uniqueId, uint8_t childIndex, uint32_t blockBufferSize, uint32_t blockBufferNum, nn::cfg::CTR::UserName *userName) asm("Initialize__Q4_2nn3dlp4Cafe13ServerPrivateSFPbUcUiT2N23PQ4_2nn3cfg3CTR8UserName")
 Initializes DLP. More...
 

Detailed Description

Definition at line 252 of file Cafe.h.

Member Function Documentation

◆ GetInternalState()

static nn::Result GetInternalState ( ServerState state)
static

Gets the server state.

Internal states are not filtered.

Parameters
statePointer where the server state is written.

◆ Initialize() [1/2]

static nn::Result Initialize ( uint8_t  maxClientNum,
uint32_t  uniqueId,
uint8_t  childIndex,
uint32_t  blockBufferSize,
uint32_t  blockBufferNum,
nn::cfg::CTR::UserName userName 
)
static

Initializes DLP.

Parameters
maxClientNumMaximum number of clients allowed for distribution. Must be between 1 and 8 inclusively.
uniqueIdUnique ID of the DLP child to be distributed.
childIndexIndex of the DLP child to be distributed.
blockBufferSizeUnknown parameter (default: 0xC000). Must be bigger than 0x4000 and smaller than 0x80000 inclusively.
blockBufferNumUnknown parameter (default: 2). Must be a number between 2 and 4 inclusively.
userNameUsername that will be displayed to the clients. If NULL, the Mii name will be used.

◆ Initialize() [2/2]

static nn::Result Initialize ( bool *  dupNoticeNeed,
uint8_t  maxClientNum,
uint32_t  uniqueId,
uint8_t  childIndex,
uint32_t  blockBufferSize,
uint32_t  blockBufferNum,
nn::cfg::CTR::UserName userName 
)
static

Initializes DLP.

Parameters
dupNoticeNeedUnknown output bool, always false on the Wii U.
maxClientNumMaximum number of clients allowed for distribution. Must be between 1 and 8 inclusively.
uniqueIdUnique ID of the DLP child to be distributed.
childIndexIndex of the DLP child to be distributed.
blockBufferSizeUnknown parameter (default: 0xC000). Must be bigger than 0x4000 and smaller than 0x80000 inclusively.
blockBufferNumUnknown parameter (default: 2). Must be a number between 2 and 4 inclusively.
userNameUsername that will be displayed to the clients. If NULL, the Mii name will be used.

The documentation for this class was generated from the following file: