메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
decryptFile ( string fileNameIn, bool debug = false ) : Stream | ||
encryptFile ( Stream streamIn, string fileNameOut ) : bool |
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 |
리턴 |
public static loadAllGames ( bool encrypt = true ) : List |
||
encrypt | bool | |
리턴 | List |
public static loadGame ( string fileName, bool encrypt = true ) : void | ||
fileName | string | |
encrypt | bool | |
리턴 | 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) |
리턴 | bool |
public static saveGame ( string fileName, bool encrypt = true ) : void | ||
fileName | string | |
encrypt | bool | |
리턴 | void |
public static unpackData ( |
||
data | ||
리턴 | void |