C# Class Indiefreaks.Xna.Storage.PlayerSaveDevice

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

Public Methods

Method Description
PlayerSaveDevice ( PlayerIndex player ) : System

Creates a new PlayerSaveDevice for a given player.

Protected Methods

Method 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 method

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.
return void

PlayerSaveDevice() public method

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

PrepareEventArgs() protected method

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