ScummVM API documentation
hpl::iSaveObject Class Referenceabstract

#include <SaveGame.h>

Inheritance diagram for hpl::iSaveObject:
hpl::cAnimationState hpl::iCharacterBody hpl::iEntity hpl::iNode hpl::iPhysicsController hpl::iPhysicsJoint hpl::cCharacterBodyNewton hpl::iEntity2D hpl::iEntity3D hpl::cNode2D hpl::cNode3D hpl::cPhysicsControllerNewton hpl::iPhysicsJointBall hpl::iPhysicsJointHinge hpl::iPhysicsJointScrew hpl::iPhysicsJointSlider

Public Member Functions

int GetSaveObjectId ()
 
virtual void SaveToSaveData (iSaveData *apSaveData)
 
virtual void LoadFromSaveData (iSaveData *apSaveData)
 
virtual iSaveDataCreateSaveData ()=0
 
virtual void SaveDataSetup (cSaveObjectHandler *apSaveObjectHandler, cGame *apGame)
 
void SetIsSaved (bool abX)
 
bool IsSaved ()
 

Protected Attributes

iSaveDatampSaveData
 

Detailed Description

This is class is inherited by object that are to be saved.

Member Function Documentation

◆ GetSaveObjectId()

int hpl::iSaveObject::GetSaveObjectId ( )
inline

Get a unique id for this object.

◆ SaveToSaveData()

◆ LoadFromSaveData()

◆ CreateSaveData()

◆ SaveDataSetup()


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