Backbone - Persistence
 
Loading...
Searching...
No Matches
Backbone::GameSaveData Class Reference

Container class that holds both global and scene-specific game data. Used as the root object for serialization and saving. More...

Public Member Functions

 GameSaveData (GameData gameData, SceneData sceneData)
 Constructor that creates a new GameSaveData instance.
 

Public Attributes

GameData gameData
 Global game data that persists across scenes.
 
SceneData sceneData
 Scene-specific data mapped by scene name.
 

Detailed Description

Container class that holds both global and scene-specific game data. Used as the root object for serialization and saving.

Constructor & Destructor Documentation

◆ GameSaveData()

Backbone::GameSaveData::GameSaveData ( GameData gameData,
SceneData sceneData )

Constructor that creates a new GameSaveData instance.

Parameters
gameDataThe global game data.
sceneDataThe scene-specific data.

Member Data Documentation

◆ gameData

GameData Backbone::GameSaveData::gameData

Global game data that persists across scenes.

◆ sceneData

SceneData Backbone::GameSaveData::sceneData

Scene-specific data mapped by scene name.


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