![]() |
Eye of the Nile Docs
Everything you need to know to get started!
|
Reads and writes the DataManager's data, using SerializedData to format it.
Documentation updated 2/3/2025
Public Member Functions | |
FileReadWrite (string saveFileName) | |
Constructor. To create a FileReadWrite object, you have to give it a file name. | |
void | WriteData (DataManager dataManager) |
Writes data from the DataManager to a file. | |
SerializedData | ReadData () |
Reads data for the DataManager from a file. | |
Private Attributes | |
string | fileName |
Name of the file to read and write from. | |
FileReadWrite.FileReadWrite | ( | string | saveFileName | ) |
Constructor. To create a FileReadWrite object, you have to give it a file name.
SerializedData FileReadWrite.ReadData | ( | ) |
Reads data for the DataManager from a file.
void FileReadWrite.WriteData | ( | DataManager | dataManager | ) |
Writes data from the DataManager to a file.
|
private |
Name of the file to read and write from.