|
Inventory Engine v4.2
|
An interface classes that want to be saved by the MMPersistencyManager need to implement. More...
Inherited by MoreMountains.Tools.MMPersistentBase.
Public Member Functions | |
| string | GetGuid () |
| Needs to return a unique Guid used to identify this object. | |
| string | OnSave () |
| Returns a savable string containing the object's data. | |
| void | OnLoad (string data) |
| Loads the object's data from the passed string and applies it to its properties. | |
| bool | ShouldBeSaved () |
| Whether or not this object should be saved. | |
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.