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

A simple class used in the MMSaveLoadTestScene to test the MMSaveLoadManager class More...

Inheritance diagram for MoreMountains.Tools.MMSaveLoadTester:

Public Member Functions

virtual void Save ()
 Saves the contents of the TestObject into a file More...
 
virtual void Load ()
 Loads the saved data More...
 

Public Attributes

MMSaveLoadManagerMethods SaveLoadMethod = MMSaveLoadManagerMethods.Binary
 the chosen save method (json, encrypted json, binary, encrypted binary) More...
 
string FileName = "TestObject"
 the name of the file to save More...
 
string FolderName = "MMTest/"
 the name of the destination folder More...
 
string SaveFileExtension = ".testObject"
 the extension to use More...
 
string EncryptionKey = "ThisIsTheKey"
 the key to use to encrypt the file (if needed) More...
 
bool TestSaveButton
 Test button. More...
 
bool TestLoadButton
 Test button. More...
 
bool TestResetButton
 Test button. More...
 

Protected Member Functions

virtual void Reset ()
 Resets all saves by deleting the whole folder More...
 
virtual void InitializeSaveLoadMethod ()
 Creates a new MMSaveLoadManagerMethod and passes it to the MMSaveLoadManager More...
 

Protected Attributes

IMMSaveLoadManagerMethod _saveLoadManagerMethod
 

Detailed Description

A simple class used in the MMSaveLoadTestScene to test the MMSaveLoadManager class

Member Function Documentation

◆ InitializeSaveLoadMethod()

virtual void MoreMountains.Tools.MMSaveLoadTester.InitializeSaveLoadMethod ( )
protectedvirtual

Creates a new MMSaveLoadManagerMethod and passes it to the MMSaveLoadManager

◆ Load()

virtual void MoreMountains.Tools.MMSaveLoadTester.Load ( )
virtual

Loads the saved data

◆ Reset()

virtual void MoreMountains.Tools.MMSaveLoadTester.Reset ( )
protectedvirtual

Resets all saves by deleting the whole folder

◆ Save()

virtual void MoreMountains.Tools.MMSaveLoadTester.Save ( )
virtual

Saves the contents of the TestObject into a file

Member Data Documentation

◆ _saveLoadManagerMethod

IMMSaveLoadManagerMethod MoreMountains.Tools.MMSaveLoadTester._saveLoadManagerMethod
protected

◆ EncryptionKey

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

the key to use to encrypt the file (if needed)

◆ FileName

string MoreMountains.Tools.MMSaveLoadTester.FileName = "TestObject"

the name of the file to save

◆ FolderName

string MoreMountains.Tools.MMSaveLoadTester.FolderName = "MMTest/"

the name of the destination folder

◆ SaveFileExtension

string MoreMountains.Tools.MMSaveLoadTester.SaveFileExtension = ".testObject"

the extension to use

◆ SaveLoadMethod

MMSaveLoadManagerMethods MoreMountains.Tools.MMSaveLoadTester.SaveLoadMethod = MMSaveLoadManagerMethods.Binary

the chosen save method (json, encrypted json, binary, encrypted binary)

◆ TestLoadButton

bool MoreMountains.Tools.MMSaveLoadTester.TestLoadButton

Test button.

◆ TestResetButton

bool MoreMountains.Tools.MMSaveLoadTester.TestResetButton

Test button.

◆ TestSaveButton

bool MoreMountains.Tools.MMSaveLoadTester.TestSaveButton

Test button.


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