C# Class Fungus.SavePointData

Afficher le fichier Open project: snozbot/fungus Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
Create ( string _savePointKey, string _savePointDescription, string _sceneName ) : SavePointData

Method Details

Create() protected static méthode

protected static Create ( string _savePointKey, string _savePointDescription, string _sceneName ) : SavePointData
_savePointKey string
_savePointDescription string
_sceneName string
Résultat SavePointData

Decode() public static méthode

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

Encode() public static méthode

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
Résultat string