xoreos
0.0.5
|
#include <nfofile.h>
Public Member Functions | |
NFOFile (Common::SeekableReadStream *stream) | |
~NFOFile () | |
const Common::UString & | getPortrait0 () const |
Get the player portrait. More... | |
const Common::UString & | getPortrait1 () const |
Get the first companions portrait. More... | |
const Common::UString & | getPortrait2 () const |
Get the second companions portrait. More... | |
uint32 | getTimePlayed () const |
Get the time played. More... | |
const Common::UString & | getSaveName () const |
Get the area name. More... | |
const Common::UString & | getAreaName () const |
Get the area name. More... | |
const Common::UString & | getPCName () const |
Get the pc name (kotor2 only). More... | |
Private Member Functions | |
void | load (const GFF3Struct &top) |
Private Attributes | |
uint32 | _timePlayed |
The time this save was actually played. More... | |
Common::UString | _saveName |
The save name. More... | |
Common::UString | _areaName |
The current area to load. More... | |
Common::UString | _pcName |
The name of the pc (kotor2 only). More... | |
Common::UString | _portrait0 |
The portrait of the pc or solo companion. More... | |
Common::UString | _portrait1 |
The portrait of the first companion. More... | |
Common::UString | _portrait2 |
The portrait of the second companion. More... | |
Aurora::NFOFile::NFOFile | ( | Common::SeekableReadStream * | stream | ) |
Definition at line 35 of file nfofile.cpp.
References Aurora::GFF3File::getTopLevel(), kNFOID, and load().
Aurora::NFOFile::~NFOFile | ( | ) |
Definition at line 41 of file nfofile.cpp.
const Common::UString & Aurora::NFOFile::getAreaName | ( | ) | const |
const Common::UString & Aurora::NFOFile::getPCName | ( | ) | const |
const Common::UString & Aurora::NFOFile::getPortrait0 | ( | ) | const |
const Common::UString & Aurora::NFOFile::getPortrait1 | ( | ) | const |
Get the first companions portrait.
Definition at line 48 of file nfofile.cpp.
References _portrait1.
const Common::UString & Aurora::NFOFile::getPortrait2 | ( | ) | const |
Get the second companions portrait.
Definition at line 52 of file nfofile.cpp.
References _portrait2.
const Common::UString & Aurora::NFOFile::getSaveName | ( | ) | const |
uint32 Aurora::NFOFile::getTimePlayed | ( | ) | const |
|
private |
Definition at line 72 of file nfofile.cpp.
References _areaName, _pcName, _portrait0, _portrait1, _portrait2, _saveName, _timePlayed, Aurora::GFF3Struct::getString(), and Aurora::GFF3Struct::getUint().
Referenced by NFOFile().
|
private |
The current area to load.
Definition at line 61 of file nfofile.h.
Referenced by getAreaName(), and load().
|
private |
The name of the pc (kotor2 only).
Definition at line 62 of file nfofile.h.
Referenced by getPCName(), and load().
|
private |
The portrait of the pc or solo companion.
Definition at line 64 of file nfofile.h.
Referenced by getPortrait0(), and load().
|
private |
The portrait of the first companion.
Definition at line 65 of file nfofile.h.
Referenced by getPortrait1(), and load().
|
private |
The portrait of the second companion.
Definition at line 66 of file nfofile.h.
Referenced by getPortrait2(), and load().
|
private |
|
private |
The time this save was actually played.
Definition at line 58 of file nfofile.h.
Referenced by getTimePlayed(), and load().