C# Класс ProtogameAssetTool.BuiltinRawAssetLoader

A raw asset loader that loads from the current directory (used for built-in asset loading).
Наследование: IRawAssetLoader
Показать файл Открыть проект

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

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

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

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

Initializes a new instance of the BuiltinRawAssetLoader class.
public BuiltinRawAssetLoader ( ILoadStrategy strategies ) : System.IO
strategies ILoadStrategy /// The strategies. ///
Результат System.IO

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

public GetPotentialPathsForRawAsset ( string name ) : IEnumerable
name string
Результат IEnumerable

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

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

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

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

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

Return all available asset names.
public ScanRawAssets ( ) : IEnumerable
Результат IEnumerable