Infinite Runner Engine v1.9
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
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

InputField TargetInputField
 the text to save More...
 
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)

◆ TargetInputField

InputField MoreMountains.Tools.MMSaveLoadTester.TargetInputField

the text to save

◆ 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: