Peoplemon  0.1.0
Peoplemon 3 game source documentation
Public Member Functions | Public Attributes | List of all members
core::event::GameSaveInitializing Struct Reference

Fired when the game is saving or loading. Allows systems to hook in their data. More...

#include <GameSave.hpp>

Public Member Functions

 GameSaveInitializing (file::GameSave &sv, bool s)
 Construct a new Game Save Initializing object. More...
 

Public Attributes

file::GameSavegameSave
 Game save being initialized. More...
 
bool saving
 True when saving, false when loading. More...
 

Detailed Description

Fired when the game is saving or loading. Allows systems to hook in their data.

Definition at line 22 of file GameSave.hpp.

Constructor & Destructor Documentation

◆ GameSaveInitializing()

core::event::GameSaveInitializing::GameSaveInitializing ( file::GameSave sv,
bool  s 
)
inline

Construct a new Game Save Initializing object.

Parameters
svThe game save to init
sTrue when saving, false when loading

Definition at line 35 of file GameSave.hpp.

Member Data Documentation

◆ gameSave

file::GameSave& core::event::GameSaveInitializing::gameSave

Game save being initialized.

Definition at line 24 of file GameSave.hpp.

◆ saving

bool core::event::GameSaveInitializing::saving

True when saving, false when loading.

Definition at line 27 of file GameSave.hpp.


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