|
Adventure Creator 1.85.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2025
|
Public Member Functions | |
| SaveFile (int _saveID, int _profileID, string _label, string _fileName, Texture2D _screenShot, string _screenshotFilename, int _updatedTime=0) | |
| SaveFile (SaveFile _saveFile) | |
| void | SetLabel (string _label) |
| Sets the save file's label in a safe format. Pipe's and colons are converted so that they can be stored. | |
| string | GetSafeLabel () |
| Gets the save file's label. Pipes and colons are converted back so that they can be read as expected. | |
| DateTime | GetUpdatedTime () |
| Gets the time the save file was last updated, as a DateTime variable. | |
Public Attributes | |
| int | saveID |
| int | profileID |
| string | label |
| Texture2D | screenShot |
| string | fileName |
| string | screenshotFilename |
| int | updatedTime |
Properties | |
| bool | IsAutoSave [get] |
A data container for save game files found in the file system. Instances of this struct are listed in the foundSaveFiles List in SaveSystem.
| AC.SaveFile.SaveFile | ( | int | _saveID, |
| int | _profileID, | ||
| string | _label, | ||
| string | _fileName, | ||
| Texture2D | _screenShot, | ||
| string | _screenshotFilename, | ||
| int | _updatedTime = 0 ) |
The default Constructor.
| AC.SaveFile.SaveFile | ( | SaveFile | _saveFile | ) |
A Constructor that copies the values of another SaveFile.
| string AC.SaveFile.GetSafeLabel | ( | ) |
Gets the save file's label. Pipes and colons are converted back so that they can be read as expected.
| DateTime AC.SaveFile.GetUpdatedTime | ( | ) |
Gets the time the save file was last updated, as a DateTime variable.
| void AC.SaveFile.SetLabel | ( | string | _label | ) |
Sets the save file's label in a safe format. Pipe's and colons are converted so that they can be stored.
| _label | The new label for the file. |
| string AC.SaveFile.fileName |
The complete filename of the file, including the filepath
| string AC.SaveFile.label |
The save's label, as displayed in a MenuSavesList element
| int AC.SaveFile.profileID |
The associated profile for the save
| int AC.SaveFile.saveID |
A unique identifier for the save file
| Texture2D AC.SaveFile.screenShot |
The save's screenshot, if save game screenshots are enabled
| string AC.SaveFile.screenshotFilename |
The complete filename of the associated screenshot, including the filepath (if available)
| int AC.SaveFile.updatedTime |
The timestamp of the file's last-updated time
|
get |
If True, then the file is considered to be an AutoSave