mirror of https://github.com/PrimeDecomp/prime.git
28 lines
634 B
C++
28 lines
634 B
C++
#ifndef _CMEMORYCARD
|
|
#define _CMEMORYCARD
|
|
|
|
#include "types.h"
|
|
|
|
#include "Kyoto/CObjectReference.hpp"
|
|
#include "MetroidPrime/TGameTypes.hpp"
|
|
#include "MetroidPrime/Player/CWorldSaveGameInfo.hpp"
|
|
|
|
class CMemoryCard {
|
|
public:
|
|
~CMemoryCard();
|
|
// TODO
|
|
|
|
rstl::pair< CAssetId, TAreaId > GetAreaAndWorldIdForSaveId(int saveId) const;
|
|
|
|
typedef rstl::pair< CAssetId, CWorldSaveGameInfo::EScanCategory > ScanState;
|
|
const rstl::vector< ScanState >& GetScanStates() const { return x20_scanStates; }
|
|
|
|
private:
|
|
uchar x0_pad[0x20];
|
|
rstl::vector< ScanState > x20_scanStates;
|
|
};
|
|
|
|
extern CMemoryCard* gpMemoryCard;
|
|
|
|
#endif // _CMEMORYCARD
|