New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
SaveData Struct Reference

#include <SaveMgr.h>

Classes

struct  AmbushData
struct  AmbushEnemy
struct  BoostRushData
struct  ChallengeData
struct  ChallengeReplay
struct  CoinEditCoin
struct  CoinEditData
struct  CoinEditLevel
struct  CoinEditStarCoin
struct  CSLocation
struct  Header
struct  LevelStatData
struct  MiiData
struct  Records
struct  SaveSlot
struct  SaveSlots
struct  Statistics

Public Types

enum class  WorldCompletionFlag : u16 {
  cWorldCompletionFlag_Opening = 1 << 0 , cWorldCompletionFlag_1 = 1 << 1 , cWorldCompletionFlag_2 = 1 << 2 , cWorldCompletionFlag_3 = 1 << 3 ,
  cWorldCompletionFlag_4 = 1 << 4 , cWorldCompletionFlag_5 = 1 << 5 , cWorldCompletionFlag_6 = 1 << 6 , cWorldCompletionFlag_7 = 1 << 7 ,
  cWorldCompletionFlag_8 = 1 << 8 , cWorldCompletionFlag_All = (cWorldCompletionFlag_Opening | cWorldCompletionFlag_1 | cWorldCompletionFlag_2 | cWorldCompletionFlag_3 | cWorldCompletionFlag_4 | cWorldCompletionFlag_5 | cWorldCompletionFlag_6 | cWorldCompletionFlag_7 | cWorldCompletionFlag_8)
}
enum class  GameCompletionFlag : u8 {
  cGameCompletionFlag_Unknown1 = 1 << 0 , cGameCompletionFlag_AllLevels = 1 << 1 , cGameCompletionFlag_Unknown2 = 1 << 2 , cGameCompletionFlag_AllStarCoins = 1 << 3 ,
  cGameCompletionFlag_AllExits = 1 << 4
}
enum class  ChibiYoshiAvailableFlag : u8 {
  cChibiYoshiAvailableFlag_World1 = 1 << 0 , cChibiYoshiAvailableFlag_World3 = 1 << 1 , cChibiYoshiAvailableFlag_World4 = 1 << 2 , cChibiYoshiAvailableFlag_World6 = 1 << 3 ,
  cChibiYoshiAvailableFlag_All = (cChibiYoshiAvailableFlag_World1 | cChibiYoshiAvailableFlag_World3 | cChibiYoshiAvailableFlag_World4 | cChibiYoshiAvailableFlag_World6)
}
enum class  ActiveChibiYoshi : u8 {
  cActiveChibiYoshi_World1 , cActiveChibiYoshi_World3 , cActiveChibiYoshi_World4 , cActiveChibiYoshi_World6 ,
  cActiveChibiYoshi_None
}
enum class  LevelCompletionFlag : u8 {
  cLevelCompletionFlag_Locked = 0x0 , cLevelCompletionFlag_Unlocked = 0x1 , cLevelCompletionFlag_PlayedOnce = 0x2 , cLevelCompletionFlag_ForeverUnlockedToadHouse = 0x3 ,
  cLevelCompletionFlag_AmbushCleared = 0x42 , cLevelCompletionFlag_ClearedOrUsedToadHouse = 0x43 , cLevelCompletionFlag_ClearedOrSecretExitCleared = 0xC3
}
enum class  LevelStarCoinFlag : u8 { cLevelStarCoinFlag_None = 0x0 , cLevelStarCoinFlag_All = 0x77 }
enum class  InventoryItem : u8 {
  cInventoryItem_Mushroom = 0x0 , cInventoryItem_FireFlower = 0x1 , cInventoryItem_SuperStar = 0x2 , cInventoryItem_IceFlower = 0x3 ,
  cInventoryItem_Propeller = 0x5 , cInventoryItem_Mini = 0x6 , cInventoryItem_Penguin = 0x7 , cInventoryItem_Acorn = 0x8 ,
  cInventoryItem_PAcorn = 0x9 , cInventoryItem_None = 0xE
}

Public Attributes

Header header
SaveSlots main_slots
SaveSlots quick_save_slots
ChallengeData challenge
BoostRushData boost_rush
CoinEditData coin_edit
Statistics statistics
MiiData mii

Member Enumeration Documentation

◆ WorldCompletionFlag

enum class SaveData::WorldCompletionFlag : u16
strong
Enumerator
cWorldCompletionFlag_Opening 
cWorldCompletionFlag_1 
cWorldCompletionFlag_2 
cWorldCompletionFlag_3 
cWorldCompletionFlag_4 
cWorldCompletionFlag_5 
cWorldCompletionFlag_6 
cWorldCompletionFlag_7 
cWorldCompletionFlag_8 
cWorldCompletionFlag_All 

◆ GameCompletionFlag

enum class SaveData::GameCompletionFlag : u8
strong
Enumerator
cGameCompletionFlag_Unknown1 
cGameCompletionFlag_AllLevels 
cGameCompletionFlag_Unknown2 
cGameCompletionFlag_AllStarCoins 
cGameCompletionFlag_AllExits 

◆ ChibiYoshiAvailableFlag

enum class SaveData::ChibiYoshiAvailableFlag : u8
strong
Enumerator
cChibiYoshiAvailableFlag_World1 
cChibiYoshiAvailableFlag_World3 
cChibiYoshiAvailableFlag_World4 
cChibiYoshiAvailableFlag_World6 
cChibiYoshiAvailableFlag_All 

◆ ActiveChibiYoshi

enum class SaveData::ActiveChibiYoshi : u8
strong
Enumerator
cActiveChibiYoshi_World1 
cActiveChibiYoshi_World3 
cActiveChibiYoshi_World4 
cActiveChibiYoshi_World6 
cActiveChibiYoshi_None 

◆ LevelCompletionFlag

enum class SaveData::LevelCompletionFlag : u8
strong
Enumerator
cLevelCompletionFlag_Locked 
cLevelCompletionFlag_Unlocked 
cLevelCompletionFlag_PlayedOnce 
cLevelCompletionFlag_ForeverUnlockedToadHouse 
cLevelCompletionFlag_AmbushCleared 
cLevelCompletionFlag_ClearedOrUsedToadHouse 
cLevelCompletionFlag_ClearedOrSecretExitCleared 

◆ LevelStarCoinFlag

enum class SaveData::LevelStarCoinFlag : u8
strong
Enumerator
cLevelStarCoinFlag_None 
cLevelStarCoinFlag_All 

◆ InventoryItem

enum class SaveData::InventoryItem : u8
strong
Enumerator
cInventoryItem_Mushroom 
cInventoryItem_FireFlower 
cInventoryItem_SuperStar 
cInventoryItem_IceFlower 
cInventoryItem_Propeller 
cInventoryItem_Mini 
cInventoryItem_Penguin 
cInventoryItem_Acorn 
cInventoryItem_PAcorn 
cInventoryItem_None 

Member Data Documentation

◆ header

Header SaveData::header

◆ main_slots

SaveSlots SaveData::main_slots

◆ quick_save_slots

SaveSlots SaveData::quick_save_slots

◆ challenge

ChallengeData SaveData::challenge

◆ boost_rush

BoostRushData SaveData::boost_rush

◆ coin_edit

CoinEditData SaveData::coin_edit

◆ statistics

Statistics SaveData::statistics

◆ mii

MiiData SaveData::mii