C# Class Fungus.SavePointData

Datei anzeigen Open project: snozbot/fungus Class Usage Examples

Public Methods

Method Description
Decode ( string saveDataJSON ) : void

Decodes a Save Point from JSON text format and loads it.

Encode ( string _savePointKey, string _savePointDescription, string _sceneName ) : string

Encodes a new Save Point to data and converts it to JSON text format.

Protected Methods

Method Description
Create ( string _savePointKey, string _savePointDescription, string _sceneName ) : SavePointData

Method Details

Create() protected static method

protected static Create ( string _savePointKey, string _savePointDescription, string _sceneName ) : SavePointData
_savePointKey string
_savePointDescription string
_sceneName string
return SavePointData

Decode() public static method

Decodes a Save Point from JSON text format and loads it.
public static Decode ( string saveDataJSON ) : void
saveDataJSON string
return void

Encode() public static method

Encodes a new Save Point to data and converts it to JSON text format.
public static Encode ( string _savePointKey, string _savePointDescription, string _sceneName ) : string
_savePointKey string
_savePointDescription string
_sceneName string
return string