C# Class MemoryManager, Hero.Coli

Inheritance: MonoBehaviour
Exibir arquivo Open project: CyberCRI/Hero.Coli Class Usage Examples

Public Properties

Property Type Description
gameObjectName string
hero Hero,
inputFiles string[]
playerDataKey string

Public Methods

Method Description
addData ( string key, string value ) : bool
addOrUpdateData ( string key, string value ) : bool
get ( ) : MemoryManager,
sendCompletionEvent ( ) : void
tryGetCurrentLevelInfo ( LevelInfo, &levelInfo ) : bool
tryGetData ( string key, string &value ) : bool

Private Methods

Method Description
Awake ( ) : void
OnDestroy ( ) : void
Start ( ) : void
antiDuplicateInitialization ( ) : void
initializeIfNecessary ( bool onlyIfEmpty = true ) : void
loadLevelData ( string inputFiles, LevelInfo>.Dictionary dico ) : void
retrieveFromDico ( string code ) : LevelInfo,

Method Details

addData() public method

public addData ( string key, string value ) : bool
key string
value string
return bool

addOrUpdateData() public method

public addOrUpdateData ( string key, string value ) : bool
key string
value string
return bool

get() public static method

public static get ( ) : MemoryManager,
return MemoryManager,

sendCompletionEvent() public method

public sendCompletionEvent ( ) : void
return void

tryGetCurrentLevelInfo() public method

public tryGetCurrentLevelInfo ( LevelInfo, &levelInfo ) : bool
levelInfo LevelInfo,
return bool

tryGetData() public method

public tryGetData ( string key, string &value ) : bool
key string
value string
return bool

Property Details

gameObjectName public_oe static_oe property

public static string gameObjectName
return string

hero public_oe property

public Hero, hero
return Hero,

inputFiles public_oe property

public string[] inputFiles
return string[]

playerDataKey public_oe property

public string playerDataKey
return string