Receiver of the result of one memory card command.
More...
#include <memcardcbhandler.h>
Receiver of the result of one memory card command.
The RTTI includes the class name and records no base. The vptr is the only member. MemcardPoll() reports a finished command through the method for that command, to the handler the command was issued for. Every method does nothing here, and each MemcardTask overrides the one for the command it issues.
◆ ~MemcardCBHandler()
| virtual MemcardCBHandler::~MemcardCBHandler |
( |
| ) |
|
|
inlinevirtual |
Release the handler.
- Ghidra address:
- NTSC-U/C: 0x00351320
- Ghidra address:
- PAL: 0x003be598
◆ OnGetInfo()
| virtual void MemcardCBHandler::OnGetInfo |
( |
int | nResult | ) |
|
|
inlinevirtual |
Receive the result of MemcardGetInfo().
- Parameters
-
| nResult | The library's result. |
- Ghidra address:
- NTSC-U/C: 0x00351350
- Ghidra address:
- PAL: 0x003be5c8
Reimplemented in MCGetInfoTask.
◆ OnGetEntSpace()
| virtual void MemcardCBHandler::OnGetEntSpace |
( |
int | nResult | ) |
|
|
inlinevirtual |
Receive the free entries of a directory.
The game issues no such command.
- Parameters
-
| nResult | The library's result. |
- Ghidra address:
- NTSC-U/C: 0x00351358
- Ghidra address:
- PAL: 0x003be5d0
◆ OnOpen()
| virtual void MemcardCBHandler::OnOpen |
( |
int | nResult | ) |
|
|
inlinevirtual |
Receive the result of MemcardOpen().
- Parameters
-
| nResult | The file descriptor, or a negative library error. |
- Ghidra address:
- NTSC-U/C: 0x00351360
- Ghidra address:
- PAL: 0x003be5d8
Reimplemented in MCOpenTask.
◆ OnClose()
| virtual void MemcardCBHandler::OnClose |
( |
int | nResult | ) |
|
|
inlinevirtual |
Receive the result of MemcardClose().
- Parameters
-
| nResult | The library's result. |
- Ghidra address:
- NTSC-U/C: 0x00351368
- Ghidra address:
- PAL: 0x003be5e0
Reimplemented in MCCloseTask.
◆ OnRead()
| virtual void MemcardCBHandler::OnRead |
( |
int | nResult | ) |
|
|
inlinevirtual |
Receive the result of MemcardRead().
- Parameters
-
| nResult | The number of bytes read, or a negative library error. |
- Ghidra address:
- NTSC-U/C: 0x00351370
- Ghidra address:
- PAL: 0x003be5e8
Reimplemented in MCReadTask.
◆ OnWrite()
| virtual void MemcardCBHandler::OnWrite |
( |
int | nResult | ) |
|
|
inlinevirtual |
Receive the result of MemcardWrite().
- Parameters
-
| nResult | The number of bytes written, or a negative library error. |
- Ghidra address:
- NTSC-U/C: 0x00351378
- Ghidra address:
- PAL: 0x003be5f0
Reimplemented in MCWriteTask.
◆ OnSeek()
| virtual void MemcardCBHandler::OnSeek |
( |
int | nResult | ) |
|
|
inlinevirtual |
Receive the result of MemcardSeek().
- Parameters
-
| nResult | The new position, or a negative library error. |
- Ghidra address:
- NTSC-U/C: 0x00351380
- Ghidra address:
- PAL: 0x003be5f8
Reimplemented in MCSeekTask.
◆ OnMkdir()
| virtual void MemcardCBHandler::OnMkdir |
( |
int | nResult | ) |
|
|
inlinevirtual |
Receive the result of MemcardMkdir().
- Parameters
-
| nResult | The library's result. |
- Ghidra address:
- NTSC-U/C: 0x00351388
- Ghidra address:
- PAL: 0x003be600
Reimplemented in MCMkDirTask.
◆ OnRename()
| virtual void MemcardCBHandler::OnRename |
( |
int | nResult | ) |
|
|
inlinevirtual |
Receive the result of a rename.
The game issues no such command.
- Parameters
-
| nResult | The library's result. |
- Ghidra address:
- NTSC-U/C: 0x00351390
- Ghidra address:
- PAL: 0x003be608
◆ OnDelete()
| virtual void MemcardCBHandler::OnDelete |
( |
int | nResult | ) |
|
|
inlinevirtual |
Receive the result of MemcardDelete().
- Parameters
-
| nResult | The library's result. |
- Ghidra address:
- NTSC-U/C: 0x00351398
- Ghidra address:
- PAL: 0x003be610
Reimplemented in MCDeleteTask.
◆ OnFormat()
| virtual void MemcardCBHandler::OnFormat |
( |
int | nResult | ) |
|
|
inlinevirtual |
Receive the result of MemcardFormat().
- Parameters
-
| nResult | The library's result. |
- Ghidra address:
- NTSC-U/C: 0x003513a0
- Ghidra address:
- PAL: 0x003be618
Reimplemented in MCFormatTask.
◆ OnUnformat()
| virtual void MemcardCBHandler::OnUnformat |
( |
int | nResult | ) |
|
|
inlinevirtual |
Receive the result of MemcardUnformat().
- Parameters
-
| nResult | The library's result. |
- Ghidra address:
- NTSC-U/C: 0x003513a8
- Ghidra address:
- PAL: 0x003be620
Reimplemented in MCUnformatTask.
◆ OnGetDir()
| virtual void MemcardCBHandler::OnGetDir |
( |
int | nResult, |
|
|
MemcardDirEntry * | pEntries ) |
|
inlinevirtual |
Receive the result of MemcardGetDir().
- Parameters
-
| nResult | The number of entries, or a negative library error. |
| pEntries | The entries. The memory card layer retains them. |
- Ghidra address:
- NTSC-U/C: 0x003513b0
- Ghidra address:
- PAL: 0x003be628
Reimplemented in MCGetDirTask.
The documentation for this class was generated from the following file: