resonance 1.0.1
Loading...
Searching...
No Matches
loadglobalsettingsmct.h
Go to the documentation of this file.
1#pragma once
2
5
7
18public:
31 MemcardUser *pUser, Memcard *pCard, int nPortSlot, int nCookie, GlobalSettings *pSettings);
32
38
47 virtual void Finish();
48
57 virtual void Execute();
58
59private:
60 // The loaded file, over g_abRemixStagingBuffer. +0x38
62
63 // The settings to fill. +0x58
64 GlobalSettings *mSettings;
65};
Settings shared by every player and saved to the memory card apart from any persona.
Definition globalsettings.h:31
Bidirectional stream over a caller-supplied byte buffer.
Definition iobpreallocmemstream.h:32
LoadFileMCT(MemcardUser *pUser, Memcard *pCard, int nPortSlot, int nCookie)
Construct an idle load task.
LoadGlobalSettingsMCT(MemcardUser *pUser, Memcard *pCard, int nPortSlot, int nCookie, GlobalSettings *pSettings)
Construct an idle load.
virtual void Execute()
Aim the load at the settings file and mStream's buffer, and enquire about the card.
virtual void Finish()
Fill mSettings from the buffer and report through MemcardUser::OnGlobalSettingsLoaded().
virtual ~LoadGlobalSettingsMCT()
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