resonance 1.0.1
Loading...
Searching...
No Matches
savepersonasmct.h
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
7
8class CheckInfoOp;
10
23public:
38 Memcard *pCard,
39 int nPortSlot,
40 int nCookie,
41 const std::vector<MetPersonaData *> &roster);
42
48
49#ifndef VIDEO_STANDARD_PAL
61 virtual void OnCheckInfo(CheckInfoOp *pOp);
62#endif
63
70 virtual void Finish();
71
80 virtual void Execute();
81
82private:
83 // The serialised roster, over g_abRemixStagingBuffer. +0x40c in the North American release and
84 // +0x41c in the European release.
86};
Enquiry about the card in one slot.
Definition checkinfoop.h:13
Bidirectional stream over a caller-supplied byte buffer.
Definition iobpreallocmemstream.h:32
Receiver notified once a memory-card task has finished.
Definition memcarduser.h:24
Queue of memory-card operations, with one entry point per libmc call.
Definition memcard.h:29
Saved record of one player persona.
Definition metpersonadata.h:39
SaveFileMCT(MemcardUser *pUser, Memcard *pCard, int nPortSlot, int nCookie)
Construct an idle save task.
SavePersonasMCT(MemcardUser *pUser, Memcard *pCard, int nPortSlot, int nCookie, const std::vector< MetPersonaData * > &roster)
Construct an idle save and serialise the roster.
virtual void Finish()
Report the result through MemcardUser::OnPersonasSaved().
virtual ~SavePersonasMCT()
virtual void Execute()
Aim the save at the roster directory and file, and enquire about the card.
virtual void OnCheckInfo(CheckInfoOp *pOp)
Start the save sequence once the card enquiry succeeds.