|
resonance 1.0.1
|
Receiver notified once a memory-card task has finished. More...
#include <memcarduser.h>

Public Member Functions | |
| virtual | ~MemcardUser () |
| Release the receiver. | |
| virtual void | OnConnectState (MemcardConnectState state, int nStatus) |
| Report the state of one slot. | |
| virtual void | OnAllConnectStates () |
| Report that every slot has been enquired about. | |
| virtual void | OnMinimumSaveSpace (int nPortSlot, int nSpace) |
| Report the space a save would need against the space a card has. | |
| virtual void | OnCardFormatted (int nPortSlot, int nStatus) |
| Report a finished format. | |
| virtual void | OnCardUnformatted (int nPortSlot, int nStatus) |
| Report a finished unformat. | |
| virtual void | OnPersonasSaved (int nPortSlot, int nStatus) |
| Report a finished save of the FreQ roster. | |
| virtual void | OnRemixSaved (int nPortSlot, int nStatus) |
| Report a finished save of one remix. | |
| virtual void | OnGlobalSettingsSaved (int nPortSlot, int nStatus) |
| Report a finished save of the global settings. | |
| virtual void | OnJukeboxPlayListSaved (int nPortSlot, int nStatus) |
| Report a finished save of a jukebox playlist. | |
| virtual void | OnRemixesListed (int nPortSlot, int nStatus) |
| Report a finished listing of the saved remixes. | |
| virtual void | OnRemixLoaded (int nPortSlot, int nStatus) |
| Report a finished load of one remix. | |
| virtual void | OnPersonasLoaded (int nPortSlot, int nStatus) |
| Report a finished load of the FreQ roster. | |
| virtual void | OnGlobalSettingsLoaded (int nPortSlot, int nStatus) |
| Report a finished load of the global settings. | |
| virtual void | OnJukeboxPlayListLoaded (int nPortSlot, int nStatus) |
| Report a finished load of a jukebox playlist. | |
| virtual void | OnRemixDeleted (int nPortSlot, int nStatus) |
| Report a finished deletion of one remix. | |
| virtual void | UnusedFirstReport (int nPortSlot, int nStatus) |
| Do nothing. | |
| virtual void | UnusedSecondReport (int nPortSlot, int nStatus) |
| Do nothing. | |
| virtual void | OnFileLoaded (int nStatus) |
| Report a finished load of one file. | |
| virtual void | OnFileSaved (int nStatus) |
| Report a finished save of one file. | |
Receiver notified once a memory-card task has finished.
Its RTTI descriptor is at 0x0086f618. It has no base class and no data members. An instance is the four-byte vptr alone, and the vtable is at 0x007daf78.
The interface declares one method per MemcardTask subclass, and every body is a single jr ra. An implementation overrides only the tasks it starts. Each method is pinned to its task by the task's reporting virtual. The reporting virtual reads one fixed vtable slot of the user the task was constructed with.
Ten front-end screens derive from this interface alongside MetScreen, at offset 140 or 164, and four of the remix tasks derive from it as well, at offset 28. Each of those four runs an inner LoadFileMCT or SaveFileMCT and receives the inner task's report here.
Every method title is inferred from the task that reports through the slot. No string in the image identifies any of them. No task reports through two of the slots, and both are recorded below as unrecovered.
|
virtual |
Release the receiver.
Occupies vtable slot 1. The body is empty.
|
virtual |
Report the state of one slot.
Slot 2, from GetConnectStateMCT.
The state arrives by value. The slot's compiled body therefore destroys the argument's string rather than being empty like the rest.
| state | What the slot reported. |
| nStatus | One of MemcardStatus. |
Reimplemented in MetGlobalSettingsSaverScreen, MetMCFreqDelScreen, MetPersonaSaverScreen, and MetSaveRemix.
|
virtual |
Report that every slot has been enquired about.
Slot 3, from GetAllConnectStatesMCT.
The task reports each slot through OnConnectState() as its enquiry finishes, and reports here once with no argument when the last of them is done.
Reimplemented in MetMemDetectScreen.
|
virtual |
Report the space a save would need against the space a card has.
Slot 4, from MinimumSaveSpaceMCT.
The second argument is the task's measurement rather than its status. This slot is the only one that does not receive a MemcardStatus.
The European release adds nSkipWarning and nCampaign. MinimumSaveSpaceMCT passes two members that only its constructor writes, with zero. Their titles are inferred from MetMemDetectScreen::OnMinimumSaveSpace(), the one override that reads them.
| nPortSlot | The packed port and slot. |
| nSpace | The measurement. |
| nSkipWarning | Non-zero to show no space warning at all. European release only. |
| nCampaign | 1 to warn against the smaller campaign requirement. European release only. |
Reimplemented in MetMemDetectScreen.
|
virtual |
Report a finished format.
Slot 5, from FormatCardMCT when it was requested to format.
| nPortSlot | The packed port and slot. |
| nStatus | One of MemcardStatus. |
Reimplemented in MetGlobalSettingsSaverScreen, MetMemDetectScreen, MetPersonaSaverScreen, MetRemixManager, and MetSaveRemix.
|
virtual |
Report a finished unformat.
Slot 6, from FormatCardMCT when it was requested to unformat.
| nPortSlot | The packed port and slot. |
| nStatus | One of MemcardStatus. |
|
virtual |
Report a finished save of the FreQ roster.
Slot 7, from SavePersonasMCT.
| nPortSlot | The packed port and slot. |
| nStatus | One of MemcardStatus. |
| nKilobytes | SaveFileMCT::mKilobytes, the kilobytes the card lacked when nStatus is kMemcardStatusCardFull. European release only. |
Reimplemented in MetPersonaSaverScreen.
|
virtual |
Report a finished save of one remix.
Slot 8, from SaveRemixMCT.
| nPortSlot | The packed port and slot. |
| nStatus | One of MemcardStatus. |
| nKilobytes | SaveFileMCT::mKilobytes, the kilobytes the card lacked when nStatus is kMemcardStatusCardFull. European release only. |
Reimplemented in MetSaveRemix.
|
virtual |
Report a finished save of the global settings.
Slot 9, from SaveGlobalSettingsMCT.
| nPortSlot | The packed port and slot. |
| nStatus | One of MemcardStatus. |
| nKilobytes | SaveFileMCT::mKilobytes, the kilobytes the card lacked when nStatus is kMemcardStatusCardFull. European release only. |
Reimplemented in MetGlobalSettingsSaverScreen.
|
virtual |
Report a finished save of a jukebox playlist.
Slot 10, from SaveJukeboxPlayListMCT.
| nPortSlot | The packed port and slot. |
| nStatus | One of MemcardStatus. |
| nKilobytes | SaveFileMCT::mKilobytes, the kilobytes the card lacked when nStatus is kMemcardStatusCardFull. European release only. |
Reimplemented in MetRemixManager.
|
virtual |
Report a finished listing of the saved remixes.
Slot 11, from ListRemixesMCT.
| nPortSlot | The packed port and slot. |
| nStatus | One of MemcardStatus. |
Reimplemented in MetRemixManager, and MetSaveRemix.
|
virtual |
Report a finished load of one remix.
Slot 12, from LoadRemixMCT.
| nPortSlot | The packed port and slot. |
| nStatus | One of MemcardStatus. |
Reimplemented in MetRemixDelScreen, and MetRemixManager.
|
virtual |
Report a finished load of the FreQ roster.
Slot 13, from LoadPersonasMCT.
| nPortSlot | The packed port and slot. |
| nStatus | One of MemcardStatus. |
Reimplemented in MetLocPickCharScreen, MetMCFreqDelScreen, MetMemDetectScreen, and MetPersonaSaverScreen.
|
virtual |
Report a finished load of the global settings.
Slot 14, from LoadGlobalSettingsMCT.
| nPortSlot | The packed port and slot. |
| nStatus | One of MemcardStatus. |
Reimplemented in MetMemDetectScreen.
|
virtual |
Report a finished load of a jukebox playlist.
Slot 15, from LoadJukeboxPlayListMCT.
| nPortSlot | The packed port and slot. |
| nStatus | One of MemcardStatus. |
Reimplemented in MetRemixManager.
|
virtual |
Report a finished deletion of one remix.
Slot 16, from DeleteRemixMCT.
| nPortSlot | The packed port and slot. |
| nStatus | One of MemcardStatus. |
Reimplemented in MetRemixDelScreen.
|
virtual |
Do nothing.
Slot 17. No task in the image reports through this slot and no subclass overrides it. Its purpose and argument list cannot be established. The two arguments are declared to match every neighbouring slot.
| nPortSlot | The packed port and slot. |
| nStatus | One of MemcardStatus. |
|
virtual |
Do nothing.
Slot 18. Recorded on the same evidence as UnusedFirstReport().
| nPortSlot | The packed port and slot. |
| nStatus | One of MemcardStatus. |
|
virtual |
Report a finished load of one file.
Slot 19, from LoadFileMCT.
The slot receives the status alone, without a port and slot. Only the two inner file tasks report this way.
| nStatus | One of MemcardStatus. |
Reimplemented in DeleteRemixMCT, ListRemixesMCT, LoadRemixMCT, and SaveRemixMCT.
|
virtual |
Report a finished save of one file.
Slot 20, from SaveFileMCT.
| nStatus | One of MemcardStatus. |
Reimplemented in DeleteRemixMCT, and SaveRemixMCT.