Infinite Runner Engine v1.9
Public Member Functions | List of all members
MoreMountains.Tools.MMSaveLoadManagerMethodJsonEncrypted Class Reference
Inheritance diagram for MoreMountains.Tools.MMSaveLoadManagerMethodJsonEncrypted:
MoreMountains.Tools.MMSaveLoadManagerEncrypter MoreMountains.Tools.IMMSaveLoadManagerMethod

Public Member Functions

void Save (object objectToSave, FileStream saveFile)
 Saves the specified object at the specified location to disk, converts it to json and encrypts it More...
 
object Load (System.Type objectType, FileStream saveFile)
 Loads the specified file, decrypts it and decodes it More...
 

Additional Inherited Members

- Protected Member Functions inherited from MoreMountains.Tools.MMSaveLoadManagerEncrypter
virtual void Encrypt (Stream inputStream, Stream outputStream, string sKey)
 Encrypts the specified input stream into the specified output stream using the key passed in parameters More...
 
virtual void Decrypt (Stream inputStream, Stream outputStream, string sKey)
 Decrypts the input stream into the output stream using the key passed in parameters More...
 
- Protected Attributes inherited from MoreMountains.Tools.MMSaveLoadManagerEncrypter
string _saltText = "SaltTextGoesHere"
 
- Properties inherited from MoreMountains.Tools.MMSaveLoadManagerEncrypter
string Key = "yourDefaultKey" [getset]
 The Key to use to save and load the file More...
 

Member Function Documentation

◆ Load()

object MoreMountains.Tools.MMSaveLoadManagerMethodJsonEncrypted.Load ( System.Type  objectType,
FileStream  saveFile 
)

Loads the specified file, decrypts it and decodes it

Parameters
objectType
saveFile
Returns

Implements MoreMountains.Tools.IMMSaveLoadManagerMethod.

◆ Save()

void MoreMountains.Tools.MMSaveLoadManagerMethodJsonEncrypted.Save ( object  objectToSave,
FileStream  saveFile 
)

Saves the specified object at the specified location to disk, converts it to json and encrypts it

Parameters
objectToSave
saveFile

Implements MoreMountains.Tools.IMMSaveLoadManagerMethod.


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