ScummVM API documentation
Gob::SaveLoad_Inca2::GameHandler::File Class Reference

#include <saveload.h>

Inheritance diagram for Gob::SaveLoad_Inca2::GameHandler::File:
Gob::SlotFileIndexed Gob::SlotFile

Public Member Functions

 File (GobEngine *vm, const char *base)
 
 File (const File &file)
 
int getSlot (int32 offset) const override
 
int getSlotRemainder (int32 offset) const override
 
- Public Member Functions inherited from Gob::SlotFileIndexed
 SlotFileIndexed (GobEngine *vm, uint32 slotCount, const Common::String &base, const Common::String &extStub)
 
Common::String build (int slot) const
 
virtual uint32 getSlotMax () const
 
virtual int32 tallyUpFiles (uint32 slotSize, uint32 indexSize) const
 
virtual void buildIndex (byte *buffer, SavePartInfo &info, SaveConverter *converter=0, bool setLongest=false) const
 
virtual bool exists (int slot) const
 
virtual Common::InSaveFileopenRead (int slot) const
 
virtual Common::OutSaveFileopenWrite (int slot) const
 
- Public Member Functions inherited from Gob::SlotFile
 SlotFile (GobEngine *vm, uint32 slotCount, const Common::String &base)
 

Additional Inherited Members

- Protected Attributes inherited from Gob::SlotFileIndexed
Common::String _ext
 
- Protected Attributes inherited from Gob::SlotFile
GobEngine_vm
 
Common::String _base
 
uint32 _slotCount
 

Detailed Description

Slot file construction.

Member Function Documentation

◆ getSlot()

int Gob::SaveLoad_Inca2::GameHandler::File::getSlot ( int32  offset) const
overridevirtual

Calculates which slot to use.

Implements Gob::SlotFile.

◆ getSlotRemainder()

int Gob::SaveLoad_Inca2::GameHandler::File::getSlotRemainder ( int32  offset) const
overridevirtual

Calculates the slot remainder, for error checking.

Implements Gob::SlotFile.


The documentation for this class was generated from the following file: