C# Класс Indiefreaks.Xna.Storage.PlayerSaveDevice

A SaveDevice used for saving player-specific data.
Наследование: SaveDevice
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
PlayerSaveDevice ( PlayerIndex player ) : System

Creates a new PlayerSaveDevice for a given player.

Защищенные методы

Метод Описание
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.

Описание методов

GetStorageDevice() защищенный Метод

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.
Результат void

PlayerSaveDevice() публичный Метод

Creates a new PlayerSaveDevice for a given player.
public PlayerSaveDevice ( PlayerIndex player ) : System
player PlayerIndex The player for which the data will be saved.
Результат System

PrepareEventArgs() защищенный Метод

Prepares the SaveDeviceEventArgs to be used for an event.
protected PrepareEventArgs ( SaveDeviceEventArgs args ) : void
args SaveDeviceEventArgs The event arguments to be configured.
Результат void