C# Класс Protogame.RawEffectLoadStrategy

Наследование: ILoadStrategy
Показать файл Открыть проект

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

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