resonance 1.0.1
Loading...
Searching...
No Matches
loadpersonasmct.h
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
6
8
19public:
33 Memcard *pCard,
34 int nPortSlot,
35 int nCookie,
36 std::vector<MetPersonaData *> *pRoster);
37
43
54 virtual void Finish();
55
64 virtual void Execute();
65
66private:
67 // Where the loaded personas are appended. Borrowed. The task does not free it. +0x38
68 std::vector<MetPersonaData *> *mRoster;
69};
LoadFileMCT(MemcardUser *pUser, Memcard *pCard, int nPortSlot, int nCookie)
Construct an idle load task.
virtual void Execute()
Aim the load at the roster file and g_abRemixStagingBuffer, and enquire about the card.
virtual ~LoadPersonasMCT()
LoadPersonasMCT(MemcardUser *pUser, Memcard *pCard, int nPortSlot, int nCookie, std::vector< MetPersonaData * > *pRoster)
Construct an idle load.
virtual void Finish()
Rebuild the roster from the buffer and report through MemcardUser::OnPersonasLoaded().
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