#include <saveload.h>
Public Member Functions | |
AutoHandler (GobEngine *vm, const Common::String &target) | |
int32 | getSize () override |
bool | load (int16 dataVar, int32 size, int32 offset) override |
bool | save (int16 dataVar, int32 size, int32 offset) override |
Public Member Functions inherited from Gob::SaveHandler | |
SaveHandler (GobEngine *vm) | |
virtual bool | loadToRaw (byte *ptr, int32 size, int32 offset) |
virtual bool | saveFromRaw (const byte *ptr, int32 size, int32 offset) |
virtual bool | deleteFile () |
Additional Inherited Members | |
Static Public Member Functions inherited from Gob::SaveHandler | |
static uint32 | getVarSize (GobEngine *vm) |
Protected Attributes inherited from Gob::SaveHandler | |
GobEngine * | _vm |
Handles the autosave.
|
overridevirtual |
Returns the file's (virtual) size.
Implements Gob::SaveHandler.
|
overridevirtual |
Loads (parts of) the file.
Implements Gob::SaveHandler.
|
overridevirtual |
Saves (parts of) the file.
Implements Gob::SaveHandler.