Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ReLogic.Content.Sources.XnaDirectContentSource Class Reference

Public Member Functions

 XnaDirectContentSource (IEnumerable< string > rootDirectories)
 
override Stream OpenStream (string assetName)
 Must be threadsafe!
 
IEnumerable< stringEnumerateAssets ()
 
string GetExtension (string assetName)
 Must be threadsafe!
 
bool HasAsset (string assetName)
 Checks Rejections and GetExtension to determine if an asset exists.
 
IEnumerable< stringGetAllAssetsStartingWith (string assetNameStart)
 

Protected Member Functions

void SetAssetNames (IEnumerable< string > paths)
 

Protected Attributes

string[] assetPaths
 
Dictionary< string, stringassetExtensions = new Dictionary<string, string>()
 

Properties

IContentValidator ContentValidator [get, set]
 
RejectedAssetCollection Rejections = new RejectedAssetCollection() [get]
 

Private Attributes

readonly string[] _rootDirectories
 

Detailed Description

Definition at line 8 of file XnaDirectContentSource.cs.


The documentation for this class was generated from the following file: