Feel 5.9.1
The best way to improve your game's feel and make it extra juicy
Loading...
Searching...
No Matches
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.
object Load (System.Type objectType, FileStream saveFile)
 Loads the specified file, decrypts it and decodes it.

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.
virtual void Decrypt (Stream inputStream, Stream outputStream, string sKey)
 Decrypts the input stream into the output stream using the key passed in parameters.
Protected Attributes inherited from MoreMountains.Tools.MMSaveLoadManagerEncrypter
string _saltText = "SaltTextGoesHere"
Properties inherited from MoreMountains.Tools.MMSaveLoadManagerEncrypter
virtual string Key = "yourDefaultKey" [get, set]
 The Key to use to save and load the file.

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: