C# 클래스 Protogame.RawEffectLoadStrategy

상속: ILoadStrategy
파일 보기 프로젝트 열기: RedpointGames/Protogame

공개 메소드들

메소드 설명
AttemptLoad ( string path, string name, System.DateTime &lastModified, bool noTranslate = false ) : IRawAsset
GetPotentialPaths ( string path, string name, bool noTranslate = false ) : System.Collections.Generic.IEnumerable

비공개 메소드들

메소드 설명
ResolveIncludes ( DirectoryInfo directory, string code ) : string

Resolves #include declarations in the file before the code is evaluated internally by MonoGame.

This resolves the #include declarations before the code is processed by MonoGame. This is required because the code is stored as a temporary file before being processed, instead of being processed at the source (because once we get the code, we are not processing per-file but per-asset).

메소드 상세

AttemptLoad() 공개 메소드

public AttemptLoad ( string path, string name, System.DateTime &lastModified, bool noTranslate = false ) : IRawAsset
path string
name string
lastModified System.DateTime
noTranslate bool
리턴 IRawAsset

GetPotentialPaths() 공개 메소드

public GetPotentialPaths ( string path, string name, bool noTranslate = false ) : System.Collections.Generic.IEnumerable
path string
name string
noTranslate bool
리턴 System.Collections.Generic.IEnumerable