|
Infinite Runner Engine
v2.1
|
An interface classes that want to be saved by the MMPersistencyManager need to implement More...
Public Member Functions | |
| string | GetGuid () |
| Needs to return a unique Guid used to identify this object More... | |
| string | OnSave () |
| Returns a savable string containing the object's data More... | |
| void | OnLoad (string data) |
| Loads the object's data from the passed string and applies it to its properties More... | |
| bool | ShouldBeSaved () |
| Whether or not this object should be saved More... | |
An interface classes that want to be saved by the MMPersistencyManager need to implement
| string MoreMountains.Tools.IMMPersistent.GetGuid | ( | ) |
Needs to return a unique Guid used to identify this object
Implemented in MoreMountains.Tools.MMPersistentBase.
| void MoreMountains.Tools.IMMPersistent.OnLoad | ( | string | data | ) |
Loads the object's data from the passed string and applies it to its properties
| data |
Implemented in MoreMountains.Tools.MMPersistent, and MoreMountains.Tools.MMPersistentBase.
| string MoreMountains.Tools.IMMPersistent.OnSave | ( | ) |
Returns a savable string containing the object's data
Implemented in MoreMountains.Tools.MMPersistent, and MoreMountains.Tools.MMPersistentBase.
| bool MoreMountains.Tools.IMMPersistent.ShouldBeSaved | ( | ) |
Whether or not this object should be saved
Implemented in MoreMountains.Tools.MMPersistentBase.