C# Class Indiefreaks.Xna.Storage.PlayerSaveDevice

A SaveDevice used for saving player-specific data.
Inheritance: SaveDevice
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Méthodes publiques

Méthode Description
PlayerSaveDevice ( PlayerIndex player ) : System

Creates a new PlayerSaveDevice for a given player.

Méthodes protégées

Méthode Description
GetStorageDevice ( AsyncCallback callback ) : void

Derived classes should implement this method to call the Guide.BeginShowStorageDeviceSelector method with the desired parameters, using the given callback.

PrepareEventArgs ( SaveDeviceEventArgs args ) : void

Prepares the SaveDeviceEventArgs to be used for an event.

Method Details

GetStorageDevice() protected méthode

Derived classes should implement this method to call the Guide.BeginShowStorageDeviceSelector method with the desired parameters, using the given callback.
protected GetStorageDevice ( AsyncCallback callback ) : void
callback AsyncCallback The callback to pass to Guide.BeginShowStorageDeviceSelector.
Résultat void

PlayerSaveDevice() public méthode

Creates a new PlayerSaveDevice for a given player.
public PlayerSaveDevice ( PlayerIndex player ) : System
player PlayerIndex The player for which the data will be saved.
Résultat System

PrepareEventArgs() protected méthode

Prepares the SaveDeviceEventArgs to be used for an event.
protected PrepareEventArgs ( SaveDeviceEventArgs args ) : void
args SaveDeviceEventArgs The event arguments to be configured.
Résultat void