#ifndef __URDE_CMEMORYCARDSYS_HPP__ #define __URDE_CMEMORYCARDSYS_HPP__ #include "CToken.hpp" #include "World/CWorld.hpp" #include "CGameHintInfo.hpp" #include namespace urde { class CDummyWorld; class CSaveWorld; class CSaveWorldMemory { ResId x0_mlvlId = -1; ResId x4_unk = -1; ResId x8_savwId; std::vector xc_; std::vector x1c_; std::unique_ptr x2c_dummyWorld; TLockedToken x3c_saveWorld; /* Used to be auto_ptr */ public: ResId GetWorldAssetId() const { return x0_mlvlId; } ResId GetSaveWorldAssetId() const { return x8_savwId; } CSaveWorldMemory(ResId mlvl, ResId savw); }; /* TODO: figure out */ class CMemorySomethingElse { u32 x0_; u32 x4_; u32 x8_; std::vector xc_; std::vector x1c_; std::unique_ptr x2c_; std::unique_ptr x34_; }; class CMemoryCardSys { TLockedToken x0_hints; std::vector xc_memoryWorlds; std::vector x1c_; /* used to be auto_ptr of vector */ public: const std::vector& GetHints() const { return x0_hints->GetHints(); } const std::vector& GetMemoryWorlds() const { return xc_memoryWorlds; } CMemoryCardSys(); }; } #endif // __URDE_CMEMORYCARDSYS_HPP__