#include <FFLiMiddleDB.h>
Public Member Functions | |
| void | Init (FFLMiddleDBType type, void *pData, u16 num) |
| void | SetHiddenParam (FFLGender gender) |
| void | SetRandomParam (FFLGender gender, FFLAge age, FFLRace race) |
| s32 | Size () const |
| s32 | StoredSize () const |
| FFLMiddleDBType | Type () const |
| void | ClearData () |
| const FFLiMiddleDBHiddenParam & | HiddenParam () const |
| const FFLiMiddleDBRandomParam & | RandomParam () const |
| bool | IsFull () const |
| void | Add (const FFLiCharInfo &charInfo) |
| void | Add (const FFLiMiiDataHidden &miiDataHidden) |
| const FFLiMiiDataOfficial & | Get (u16 index) const |
| FFLiMiiDataOfficial & | Get (u16 index) |
| FFLResult | GetCharInfo (FFLiCharInfo *pCharInfo, u16 index) const |
Static Public Member Functions | |
| static u32 | GetBufferSize (u16 num) |
Private Attributes | |
| u32 | m_Magic |
| FFLMiddleDBType | m_Type |
| FFLiMiiDataOfficial * | m_pMiiDataOfficial |
| u16 | m_Size |
| u16 | m_StoredSize |
| union { | |
| u8 m_ParamData [FFLI_MIDDLE_DB_PARAM_SIZE] | |
| FFLiMiddleDBHiddenParam m_HiddenParam | |
| FFLiMiddleDBRandomParam m_RandomParam | |
| FFLiMiddleDBNetParam m_NetParam | |
| }; | |
|
static |
| void FFLiMiddleDB::Init | ( | FFLMiddleDBType | type, |
| void * | pData, | ||
| u16 | num ) |
| void FFLiMiddleDB::SetHiddenParam | ( | FFLGender | gender | ) |
| s32 FFLiMiddleDB::Size | ( | ) | const |
| s32 FFLiMiddleDB::StoredSize | ( | ) | const |
| FFLMiddleDBType FFLiMiddleDB::Type | ( | ) | const |
| void FFLiMiddleDB::ClearData | ( | ) |
| const FFLiMiddleDBHiddenParam & FFLiMiddleDB::HiddenParam | ( | ) | const |
| const FFLiMiddleDBRandomParam & FFLiMiddleDB::RandomParam | ( | ) | const |
| bool FFLiMiddleDB::IsFull | ( | ) | const |
| void FFLiMiddleDB::Add | ( | const FFLiCharInfo & | charInfo | ) |
| void FFLiMiddleDB::Add | ( | const FFLiMiiDataHidden & | miiDataHidden | ) |
| const FFLiMiiDataOfficial & FFLiMiddleDB::Get | ( | u16 | index | ) | const |
| FFLiMiiDataOfficial & FFLiMiddleDB::Get | ( | u16 | index | ) |
| FFLResult FFLiMiddleDB::GetCharInfo | ( | FFLiCharInfo * | pCharInfo, |
| u16 | index ) const |
|
private |
|
private |
|
private |
|
private |
|
private |
| u8 FFLiMiddleDB::m_ParamData[FFLI_MIDDLE_DB_PARAM_SIZE] |
| FFLiMiddleDBHiddenParam FFLiMiddleDB::m_HiddenParam |
| FFLiMiddleDBRandomParam FFLiMiddleDB::m_RandomParam |
| FFLiMiddleDBNetParam FFLiMiddleDB::m_NetParam |
| union { ... } FFLiMiddleDB |