![]() |
Feel 5.9.1
The best way to improve your game's feel and make it extra juicy
|
A simple class used in the MMSaveLoadTestScene to test the MMSaveLoadManager class. More...
Public Member Functions | |
| virtual void | Save () |
| Saves the contents of the TestObject into a file. | |
| virtual void | Load () |
| Loads the saved data. | |
Public Attributes | |
| MMSaveLoadManagerMethods | SaveLoadMethod = MMSaveLoadManagerMethods.Binary |
| the chosen save method (json, encrypted json, binary, encrypted binary) | |
| string | FileName = "TestObject" |
| the name of the file to save | |
| string | FolderName = "MMTest/" |
| the name of the destination folder | |
| string | SaveFileExtension = ".testObject" |
| the extension to use | |
| string | EncryptionKey = "ThisIsTheKey" |
| the key to use to encrypt the file (if needed) | |
| bool | TestSaveButton |
| Test button. | |
| bool | TestLoadButton |
| Test button. | |
| bool | TestResetButton |
| Test button. | |
Protected Member Functions | |
| virtual void | Reset () |
| Resets all saves by deleting the whole folder. | |
| virtual void | InitializeSaveLoadMethod () |
| Creates a new MMSaveLoadManagerMethod and passes it to the MMSaveLoadManager. | |
Protected Attributes | |
| IMMSaveLoadManagerMethod | _saveLoadManagerMethod |
A simple class used in the MMSaveLoadTestScene to test the MMSaveLoadManager class.
|
protectedvirtual |
Creates a new MMSaveLoadManagerMethod and passes it to the MMSaveLoadManager.
|
virtual |
Loads the saved data.
|
protectedvirtual |
Resets all saves by deleting the whole folder.
|
virtual |
Saves the contents of the TestObject into a file.
|
protected |
| string MoreMountains.Tools.MMSaveLoadTester.EncryptionKey = "ThisIsTheKey" |
the key to use to encrypt the file (if needed)
| string MoreMountains.Tools.MMSaveLoadTester.FileName = "TestObject" |
the name of the file to save
| string MoreMountains.Tools.MMSaveLoadTester.FolderName = "MMTest/" |
the name of the destination folder
| string MoreMountains.Tools.MMSaveLoadTester.SaveFileExtension = ".testObject" |
the extension to use
| MMSaveLoadManagerMethods MoreMountains.Tools.MMSaveLoadTester.SaveLoadMethod = MMSaveLoadManagerMethods.Binary |
the chosen save method (json, encrypted json, binary, encrypted binary)
| bool MoreMountains.Tools.MMSaveLoadTester.TestLoadButton |
Test button.
| bool MoreMountains.Tools.MMSaveLoadTester.TestResetButton |
Test button.
| bool MoreMountains.Tools.MMSaveLoadTester.TestSaveButton |
Test button.