TopDown Engine  v4.1
MoreMountains.Tools.IMMPersistent Interface Reference

An interface classes that want to be saved by the MMPersistencyManager need to implement More...

Inheritance diagram for MoreMountains.Tools.IMMPersistent:
MoreMountains.Tools.MMPersistentBase MoreMountains.Tools.MMPersistent

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...
 

Detailed Description

An interface classes that want to be saved by the MMPersistencyManager need to implement

Member Function Documentation

◆ GetGuid()

string MoreMountains.Tools.IMMPersistent.GetGuid ( )

Needs to return a unique Guid used to identify this object

Returns

Implemented in MoreMountains.Tools.MMPersistentBase.

◆ OnLoad()

void MoreMountains.Tools.IMMPersistent.OnLoad ( string  data)

Loads the object's data from the passed string and applies it to its properties

Parameters
data

Implemented in MoreMountains.Tools.MMPersistent, and MoreMountains.Tools.MMPersistentBase.

◆ OnSave()

string MoreMountains.Tools.IMMPersistent.OnSave ( )

Returns a savable string containing the object's data

Returns

Implemented in MoreMountains.Tools.MMPersistent, and MoreMountains.Tools.MMPersistentBase.

◆ ShouldBeSaved()

bool MoreMountains.Tools.IMMPersistent.ShouldBeSaved ( )

Whether or not this object should be saved

Returns

Implemented in MoreMountains.Tools.MMPersistentBase.


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