VGDC 2025-2026 Club Game
Loading...
Searching...
No Matches
FileDataHandler Class Reference

Handler class that will take care of storing the data to a file in the streaming assets folder. More...

Public Member Functions

 FileDataHandler (string dataFolderName, string dataFileName, string configFileName)
GameData LoadGameData ()
 Will load the player's game data from file.
ConfigData LoadConfigData ()
 Will load the player's config data from file.
void SaveGameData (GameData data)
 Saves the game data class to a file.
void SaveConfigData (ConfigData data)
 Saves the config data class to a file.

Detailed Description

Handler class that will take care of storing the data to a file in the streaming assets folder.

Constructor & Destructor Documentation

◆ FileDataHandler()

FileDataHandler.FileDataHandler ( string dataFolderName,
string dataFileName,
string configFileName )
inline

Member Function Documentation

◆ LoadConfigData()

ConfigData FileDataHandler.LoadConfigData ( )
inline

Will load the player's config data from file.

◆ LoadGameData()

GameData FileDataHandler.LoadGameData ( )
inline

Will load the player's game data from file.

◆ SaveConfigData()

void FileDataHandler.SaveConfigData ( ConfigData data)
inline

Saves the config data class to a file.

◆ SaveGameData()

void FileDataHandler.SaveGameData ( GameData data)
inline

Saves the game data class to a file.


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