Mad Level Manager
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Protected Member Functions | Protected Attributes | Properties | List of all members
MadLevelManager.MadLevelProfileBufferedBackend Class Referenceabstract
Inheritance diagram for MadLevelManager.MadLevelProfileBufferedBackend:
MadLevelManager.IMadLevelProfileBackend

Public Member Functions

IEnumerator Run ()
 
abstract void Start ()
 Executed at the start of lifetime. At this point all properties are set. More...
 
abstract string LoadProfile (string profileName)
 Loads the profile string. It should be the same string from SaveProfile() or null if it is not available. More...
 
void SaveProfile (string profileName, string value)
 Requests the current profile value to be saved. This method will be called on each change, so it may be a good idea to buffer these calls. More...
 
void Flush ()
 Forces all the data to be saved immediately. More...
 
abstract bool CanWorkInEditMode ()
 Should return true if this backend can be used in the edit mode (editor). More...
 

Protected Member Functions

abstract void Flush (string profileName, string value)
 

Protected Attributes

MadLevelProfileWatcher profileWatcher
 

Properties

float maxTimePause [get, set]
 

Member Function Documentation

abstract bool MadLevelManager.MadLevelProfileBufferedBackend.CanWorkInEditMode ( )
pure virtual

Should return true if this backend can be used in the edit mode (editor).

Implements MadLevelManager.IMadLevelProfileBackend.

void MadLevelManager.MadLevelProfileBufferedBackend.Flush ( )

Forces all the data to be saved immediately.

Implements MadLevelManager.IMadLevelProfileBackend.

abstract string MadLevelManager.MadLevelProfileBufferedBackend.LoadProfile ( string  profileName)
pure virtual

Loads the profile string. It should be the same string from SaveProfile() or null if it is not available.

Parameters
profileNameThe profile name.
Returns
Profile string.

Implements MadLevelManager.IMadLevelProfileBackend.

void MadLevelManager.MadLevelProfileBufferedBackend.SaveProfile ( string  profileName,
string  value 
)

Requests the current profile value to be saved. This method will be called on each change, so it may be a good idea to buffer these calls.

Parameters
profileNameThe profile name
valueProfile string.

Implements MadLevelManager.IMadLevelProfileBackend.

abstract void MadLevelManager.MadLevelProfileBufferedBackend.Start ( )
pure virtual

Executed at the start of lifetime. At this point all properties are set.

Implements MadLevelManager.IMadLevelProfileBackend.


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