One object of the file, with what the loader does with its record.
More...
#include <rndloader.h>
One object of the file, with what the loader does with its record.
The RTTI includes the nested class name.
◆ ObjectLoader()
| RndLoader::ObjectLoader::ObjectLoader |
( |
RndObject * | pObject, |
|
|
int | nLoad, |
|
|
int | nDelete ) |
|
inline |
Construct the record of one object.
- Parameters
-
| pObject | The object. |
| nLoad | Non-zero to load the record into the object. |
| nDelete | Non-zero to delete the object once the load ends. |
◆ Load()
| void RndLoader::ObjectLoader::Load |
( |
BinStream & | stream, |
|
|
int | nVersion ) |
Load the record of the object, or skip it.
From version 2 every record ends with an end marker, and the stream is read up to the marker. An earlier record that is skipped is loaded into a temporary object of the same class.
- Parameters
-
| stream | The stream to read from. |
| nVersion | The version of the file. |
- Ghidra address:
- NTSC-U/C: 0x0022c3e0
- Ghidra address:
- PAL: 0x00235120
◆ Release()
| void RndLoader::ObjectLoader::Release |
( |
| ) |
|
Delete the object when the loader created it only to skip it.
The name is inferred.
- Ghidra address:
- NTSC-U/C: 0x0022c660
- Ghidra address:
- PAL: 0x00235328
◆ GetLoad()
| int RndLoader::ObjectLoader::GetLoad |
( |
| ) |
const |
|
inline |
- Returns
- Non-zero to load the record into mObject.
◆ GetObject()
| RndObject * RndLoader::ObjectLoader::GetObject |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: