Feel  3.16
The best way to improve your game's feel and make it extra juicy
MoreMountains.Tools.MMSaveLoadManagerMethod Class Reference

This component, on Awake or on demand, will force a SaveLoadMethod on the MMSaveLoadManager, changing the way it saves data to file. This will impact all classes that use the MMSaveLoadManager (unless they change that method before saving or loading). If you change the method, your previously existing data files won't be compatible, you'll need to delete them and start with new ones. More...

Inheritance diagram for MoreMountains.Tools.MMSaveLoadManagerMethod:

Public Member Functions

virtual void SetSaveLoadMethod ()
 Creates a new MMSaveLoadManagerMethod and passes it to the MMSaveLoadManager More...
 

Public Attributes

MMSaveLoadManagerMethods SaveLoadMethod = MMSaveLoadManagerMethods.Binary
 the method to use to save to file More...
 
string EncryptionKey = "ThisIsTheKey"
 the key to use to encrypt the file (if using an encryption method) More...
 

Protected Member Functions

virtual void Awake ()
 On Awake, we set the MMSaveLoadManager's method to the chosen one More...
 

Protected Attributes

IMMSaveLoadManagerMethod _saveLoadManagerMethod
 

Detailed Description

This component, on Awake or on demand, will force a SaveLoadMethod on the MMSaveLoadManager, changing the way it saves data to file. This will impact all classes that use the MMSaveLoadManager (unless they change that method before saving or loading). If you change the method, your previously existing data files won't be compatible, you'll need to delete them and start with new ones.

Member Function Documentation

◆ Awake()

virtual void MoreMountains.Tools.MMSaveLoadManagerMethod.Awake ( )
protectedvirtual

On Awake, we set the MMSaveLoadManager's method to the chosen one

◆ SetSaveLoadMethod()

virtual void MoreMountains.Tools.MMSaveLoadManagerMethod.SetSaveLoadMethod ( )
virtual

Creates a new MMSaveLoadManagerMethod and passes it to the MMSaveLoadManager

Member Data Documentation

◆ _saveLoadManagerMethod

IMMSaveLoadManagerMethod MoreMountains.Tools.MMSaveLoadManagerMethod._saveLoadManagerMethod
protected

◆ EncryptionKey

string MoreMountains.Tools.MMSaveLoadManagerMethod.EncryptionKey = "ThisIsTheKey"

the key to use to encrypt the file (if using an encryption method)

◆ SaveLoadMethod

MMSaveLoadManagerMethods MoreMountains.Tools.MMSaveLoadManagerMethod.SaveLoadMethod = MMSaveLoadManagerMethods.Binary

the method to use to save to file


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