C# Class ProtogameAssetTool.BuiltinRawAssetLoader

A raw asset loader that loads from the current directory (used for built-in asset loading).
Inheritance: IRawAssetLoader
Afficher le fichier Open project: RedpointGames/Protogame

Méthodes publiques

Méthode Description
BuiltinRawAssetLoader ( ILoadStrategy strategies ) : System.IO

Initializes a new instance of the BuiltinRawAssetLoader class.

GetPotentialPathsForRawAsset ( string name ) : IEnumerable
LoadRawAssetCandidates ( string name ) : IEnumerable

Loads all potential raw asset candidates for the given asset name. It is up to the caller to determine which representation will be used.

LoadRawAssetCandidatesWithModificationDates ( string name ) : DateTime?>>.IEnumerable

Loads all potential raw asset candidates for the given asset name, including the last modification dates of the candidates. It is up to the caller to determine which representation will be used.

ScanRawAssets ( ) : IEnumerable

Return all available asset names.

Method Details

BuiltinRawAssetLoader() public méthode

Initializes a new instance of the BuiltinRawAssetLoader class.
public BuiltinRawAssetLoader ( ILoadStrategy strategies ) : System.IO
strategies ILoadStrategy /// The strategies. ///
Résultat System.IO

GetPotentialPathsForRawAsset() public méthode

public GetPotentialPathsForRawAsset ( string name ) : IEnumerable
name string
Résultat IEnumerable

LoadRawAssetCandidates() public méthode

Loads all potential raw asset candidates for the given asset name. It is up to the caller to determine which representation will be used.
public LoadRawAssetCandidates ( string name ) : IEnumerable
name string The name of the asset.
Résultat IEnumerable

LoadRawAssetCandidatesWithModificationDates() public méthode

Loads all potential raw asset candidates for the given asset name, including the last modification dates of the candidates. It is up to the caller to determine which representation will be used.
public LoadRawAssetCandidatesWithModificationDates ( string name ) : DateTime?>>.IEnumerable
name string The name of the asset.
Résultat DateTime?>>.IEnumerable

ScanRawAssets() public méthode

Return all available asset names.
public ScanRawAssets ( ) : IEnumerable
Résultat IEnumerable