wavelength 1.0.0
Loading...
Searching...
No Matches
MemcardUser Class Reference

Receiver of the outcome of the memory card work MCManager runs. More...

#include <memcarduser.h>

Inheritance diagram for MemcardUser:

Public Member Functions

virtual void OnInitialCheck (int nStatus, int nFormat, int nFree, int nNeeded)
 Learn the outcome of MCManager::InitialCheck().
virtual void OnCardStatus (int nStatus)
 Learn the outcome of MCManager::GetCardStatus().
virtual void OnFreqSaved (int nStatus, int nNeeded)
 Learn the outcome of MCManager::SaveFreq().
virtual void OnFreqsLoaded (int nStatus, std::vector< Campaign > *pProfiles)
 Learn the outcome of MCManager::LoadFreqs().
virtual void OnFreqDeleted (int nStatus)
 Learn the outcome of MCManager::DeleteFreq().
virtual void UnusedReport ()
 Do nothing.
virtual void OnRemixSaved (int nStatus, int nNeeded)
 Learn the outcome of MCManager::SaveRemix().
virtual void OnRemixLoaded (int nStatus)
 Learn the outcome of MCManager::LoadRemix().
virtual void OnRemixesListed (int nStatus, std::vector< RemixInfo > *pInfos)
 Learn the outcome of MCManager::ListRemixes().
virtual void OnRemixDeleted (int nStatus)
 Learn the outcome of MCManager::DeleteRemix().
virtual void OnSettingsSaved (int nStatus, int nNeeded)
 Learn the outcome of MCManager::SaveSettings().
virtual void OnSettingsLoaded (int nStatus, GameOptions settings)
 Learn the outcome of MCManager::LoadSettings().
virtual void OnNetConfigsListed (int nStatus, std::list< InetConfig > *pConfigs)
 Learn the outcome of MCManager::ListNetConfigs().
virtual void OnCardFormatted (int nStatus)
 Learn the outcome of MCManager::FormatCard().
virtual void OnCardUnformatted (int nStatus)
 Learn the outcome of the unformat work.
virtual void OnFileSaved (int nStatus)
 Learn the outcome of MCManager::SaveFile().

Detailed Description

Receiver of the outcome of the memory card work MCManager runs.

The RTTI includes the class name and records no base. The vptr is the only member, and the class has no virtual destructor. MCManager::Poll() reports the end of each piece of work through the one method for it. Every method does nothing here. Each status is one of MemcardTask::Status.

Member Function Documentation

◆ OnInitialCheck()

virtual void MemcardUser::OnInitialCheck ( int nStatus,
int nFormat,
int nFree,
int nNeeded )
inlinevirtual

Learn the outcome of MCManager::InitialCheck().

Parameters
nStatusThe outcome.
nFormatNon-zero for a formatted card.
nFreeThe free space of the card in kilobytes.
nNeededThe kilobytes one more Freq needs.
Ghidra address:
NTSC-U/C: 0x00341db0
Ghidra address:
PAL: 0x003af2e8

Reimplemented in MCCheckScreen.

◆ OnCardStatus()

virtual void MemcardUser::OnCardStatus ( int nStatus)
inlinevirtual

Learn the outcome of MCManager::GetCardStatus().

Parameters
nStatusThe outcome.
Ghidra address:
NTSC-U/C: 0x00341db8
Ghidra address:
PAL: 0x003af2f0

Reimplemented in CardsConnectedScreen, and NetInetConnect.

◆ OnFreqSaved()

virtual void MemcardUser::OnFreqSaved ( int nStatus,
int nNeeded )
inlinevirtual

Learn the outcome of MCManager::SaveFreq().

Parameters
nStatusThe outcome.
nNeededThe kilobytes a save that did not fit needed, or zero.
Ghidra address:
NTSC-U/C: 0x00341dc0
Ghidra address:
PAL: 0x003af2f8

Reimplemented in CopyFreqScreen, and SaveFreqScreen.

◆ OnFreqsLoaded()

virtual void MemcardUser::OnFreqsLoaded ( int nStatus,
std::vector< Campaign > * pProfiles )
inlinevirtual

Learn the outcome of MCManager::LoadFreqs().

Parameters
nStatusThe outcome.
pProfilesThe profiles loaded, newest first. MCManager retains them.
Ghidra address:
NTSC-U/C: 0x00341dc8
Ghidra address:
PAL: 0x003af300

Reimplemented in LoadFreqScreen, MCCheckScreen, and MultiLoadFreqScreen.

◆ OnFreqDeleted()

virtual void MemcardUser::OnFreqDeleted ( int nStatus)
inlinevirtual

Learn the outcome of MCManager::DeleteFreq().

Parameters
nStatusThe outcome.
Ghidra address:
NTSC-U/C: 0x00341dd0
Ghidra address:
PAL: 0x003af308

Reimplemented in DeleteFreqScreen.

◆ UnusedReport()

virtual void MemcardUser::UnusedReport ( )
inlinevirtual

Do nothing.

No work reports through this vtable slot and no receiver overrides it. The arguments cannot be established and are not declared.

Ghidra address:
NTSC-U/C: 0x00341dd8
Ghidra address:
PAL: 0x003af310

◆ OnRemixSaved()

virtual void MemcardUser::OnRemixSaved ( int nStatus,
int nNeeded )
inlinevirtual

Learn the outcome of MCManager::SaveRemix().

Parameters
nStatusThe outcome.
nNeededThe kilobytes a save that did not fit needed, or zero.
Ghidra address:
NTSC-U/C: 0x00341de0
Ghidra address:
PAL: 0x003af318

Reimplemented in SaveRemixScreen.

◆ OnRemixLoaded()

virtual void MemcardUser::OnRemixLoaded ( int nStatus)
inlinevirtual

Learn the outcome of MCManager::LoadRemix().

Parameters
nStatusThe outcome.
Ghidra address:
NTSC-U/C: 0x00341de8
Ghidra address:
PAL: 0x003af320

Reimplemented in LoadRemixScreen.

◆ OnRemixesListed()

virtual void MemcardUser::OnRemixesListed ( int nStatus,
std::vector< RemixInfo > * pInfos )
inlinevirtual

Learn the outcome of MCManager::ListRemixes().

Parameters
nStatusThe outcome.
pInfosThe descriptions of the remixes. MCManager retains them.
Ghidra address:
NTSC-U/C: 0x00341df0
Ghidra address:
PAL: 0x003af328

Reimplemented in ListRemixesScreen.

◆ OnRemixDeleted()

virtual void MemcardUser::OnRemixDeleted ( int nStatus)
inlinevirtual

Learn the outcome of MCManager::DeleteRemix().

Parameters
nStatusThe outcome.
Ghidra address:
NTSC-U/C: 0x00341df8
Ghidra address:
PAL: 0x003af330

Reimplemented in DeleteRemixScreen.

◆ OnSettingsSaved()

virtual void MemcardUser::OnSettingsSaved ( int nStatus,
int nNeeded )
inlinevirtual

Learn the outcome of MCManager::SaveSettings().

Parameters
nStatusThe outcome.
nNeededThe kilobytes a save that did not fit needed, or zero.
Ghidra address:
NTSC-U/C: 0x00341e00
Ghidra address:
PAL: 0x003af338

Reimplemented in SaveSettingsScreen.

◆ OnSettingsLoaded()

virtual void MemcardUser::OnSettingsLoaded ( int nStatus,
GameOptions settings )
inlinevirtual

Learn the outcome of MCManager::LoadSettings().

Parameters
nStatusThe outcome.
settingsA copy of the settings loaded.
Ghidra address:
NTSC-U/C: 0x00341e08
Ghidra address:
PAL: 0x003af340

Reimplemented in MCCheckScreen.

◆ OnNetConfigsListed()

virtual void MemcardUser::OnNetConfigsListed ( int nStatus,
std::list< InetConfig > * pConfigs )
inlinevirtual

Learn the outcome of MCManager::ListNetConfigs().

Parameters
nStatusThe outcome.
pConfigsThe network configurations. The work retains them.
Ghidra address:
NTSC-U/C: 0x00341e50
Ghidra address:
PAL: 0x003af388

Reimplemented in LoadNetConfigsScreen.

◆ OnCardFormatted()

virtual void MemcardUser::OnCardFormatted ( int nStatus)
inlinevirtual

Learn the outcome of MCManager::FormatCard().

Parameters
nStatusThe outcome.
Ghidra address:
NTSC-U/C: 0x00341e58
Ghidra address:
PAL: 0x003af390

Reimplemented in FormatScreen.

◆ OnCardUnformatted()

virtual void MemcardUser::OnCardUnformatted ( int nStatus)
inlinevirtual

Learn the outcome of the unformat work.

The game never starts the work.

Parameters
nStatusThe outcome.
Ghidra address:
NTSC-U/C: 0x00341e60
Ghidra address:
PAL: 0x003af398

◆ OnFileSaved()

virtual void MemcardUser::OnFileSaved ( int nStatus)
inlinevirtual

Learn the outcome of MCManager::SaveFile().

Parameters
nStatusThe outcome.
Ghidra address:
NTSC-U/C: 0x00358ab8
Ghidra address:
PAL: 0x003c5e68

Reimplemented in Stats::StatsMemcardUser.


The documentation for this class was generated from the following file: