C# 클래스 ProtogameAssetTool.BuiltinRawAssetLoader

A raw asset loader that loads from the current directory (used for built-in asset loading).
상속: IRawAssetLoader
파일 보기 프로젝트 열기: RedpointGames/Protogame

공개 메소드들

메소드 설명
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