Method | Description | |
---|---|---|
generateNewFileName ( ) : string | ||
getSaveData ( string fileName, bool encrypt = true ) : |
Loads a game with a given file name in the "SaveData" folder. By default the method will attempt to decrypt the file.
|
|
loadAllGames ( bool encrypt = true ) : List |
Loads all save files in the "SaveData" folder. Can be used for previewing save files in the title screen
|
|
loadGame ( string fileName, bool encrypt = true ) : void | ||
packData ( ) : |
||
saveGame ( string fileName, |
Saves a game to an external file in the "SaveData" folder. By default the save file is encrypted.
|
|
saveGame ( string fileName, bool encrypt = true ) : void | ||
unpackData ( |
||
unpackDefaultData ( ) : void |
Method | Description | |
---|---|---|
decryptFile ( string fileNameIn, bool debug = false ) : Stream | ||
encryptFile ( Stream streamIn, string fileNameOut ) : bool |
public static generateNewFileName ( ) : string | ||
return | string |
public static getSaveData ( string fileName, bool encrypt = true ) : |
||
fileName | string | Name of the file to load |
encrypt | bool | Optional, specifies whether to decrypt the file |
return |
public static loadAllGames ( bool encrypt = true ) : List |
||
encrypt | bool | |
return | List |
public static loadGame ( string fileName, bool encrypt = true ) : void | ||
fileName | string | |
encrypt | bool | |
return | void |
public static saveGame ( string fileName, |
||
fileName | string | Name to give saved data file |
saveGame | Data to be saved | |
encrypt | bool | Optional, specifies whether output file should be encrypted (True by default) |
return | bool |
public static saveGame ( string fileName, bool encrypt = true ) : void | ||
fileName | string | |
encrypt | bool | |
return | void |
public static unpackData ( |
||
data | ||
return | void |