Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
FileSystemContentSource (string basePath) | |
override Stream | OpenStream (string assetName) |
Must be threadsafe! | |
IEnumerable< string > | EnumerateAssets () |
string | GetExtension (string assetName) |
Must be threadsafe! | |
bool | HasAsset (string assetName) |
Checks Rejections and GetExtension to determine if an asset exists. | |
IEnumerable< string > | GetAllAssetsStartingWith (string assetNameStart) |
Protected Member Functions | |
void | SetAssetNames (IEnumerable< string > paths) |
Protected Attributes | |
string[] | assetPaths |
Dictionary< string, string > | assetExtensions = new Dictionary<string, string>() |
Properties | |
int | FileCount [get] |
IContentValidator | ContentValidator [get, set] |
RejectedAssetCollection | Rejections = new RejectedAssetCollection() [get] |
Private Member Functions | |
void | BuildNameToAbsolutePathDictionary () |
Private Attributes | |
readonly string | _basePath |
readonly Dictionary< string, string > | _nameToAbsolutePath = new Dictionary<string, string>() |
Definition at line 7 of file FileSystemContentSource.cs.