C# Class Playtomic.PlayerLevels

Afficher le fichier Open project: playtomic/gameapi-csharp

Méthodes publiques

Méthode Description
List ( Hashtable options, Action callback ) : void
Load ( string levelid, PResponse>.Action callback ) : void
Rate ( string levelid, int rating, Action callback ) : void
Save ( PlayerLevel level, PResponse>.Action callback ) : void

Private Methods

Méthode Description
ProcessLevels ( PResponse response, Hashtable data, List &levels, int &numlevels ) : void
SendListRequest ( string section, string action, Hashtable postdata, Action callback ) : void
SendSaveLoadRequest ( string section, string action, Hashtable postdata, PResponse>.Action callback ) : void

Method Details

List() public static méthode

public static List ( Hashtable options, Action callback ) : void
options System.Collections.Hashtable
callback Action
Résultat void

Load() public static méthode

public static Load ( string levelid, PResponse>.Action callback ) : void
levelid string
callback PResponse>.Action
Résultat void

Rate() public static méthode

public static Rate ( string levelid, int rating, Action callback ) : void
levelid string
rating int
callback Action
Résultat void

Save() public static méthode

public static Save ( PlayerLevel level, PResponse>.Action callback ) : void
level PlayerLevel
callback PResponse>.Action
Résultat void