Handling version V3.2/V3.3 of BioWare's GFFs (generic file format).
const Common::UString & getAreaName() const
Get the area name.
const Common::UString & getPortrait2() const
Get the second companions portrait.
#define MKTAG(a0, a1, a2, a3)
A wrapper macro used around four character constants, like 'DATA', to ensure portability.
const Common::UString & getPortrait1() const
Get the first companions portrait.
uint32 _timePlayed
The time this save was actually played.
A class holding an UTF-8 string.
void load(const GFF3Struct &top)
const GFF3Struct & getTopLevel() const
Returns the top-level struct.
uint64 getUint(const Common::UString &field, uint64 def=0) const
uint32 getTimePlayed() const
Get the time played.
NFOFile(Common::SeekableReadStream *stream)
Basic exceptions to throw.
static const uint32 kNFOID
A GFF (generic file format) V3.2/V3.3 file, found in all Aurora games except Sonic Chronicles: The Da...
const Common::UString & getPortrait0() const
Get the player portrait.
Basic reading stream interfaces.
Common::UString _portrait2
The portrait of the second companion.
Common::UString _portrait0
The portrait of the pc or solo companion.
Common::UString getString(const Common::UString &field, const Common::UString &def="") const
Common::UString _saveName
The save name.
Common::UString _areaName
The current area to load.
Loader for the savenfo.res file, storing savegame metadata for kotor 1 and 2.
const Common::UString & getSaveName() const
Get the area name.
Interface for a seekable & readable data stream.
const Common::UString & getPCName() const
Get the pc name (kotor2 only).
Common::UString _pcName
The name of the pc (kotor2 only).
Common::UString _portrait1
The portrait of the first companion.