Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ReLogic.Content.Sources.ContentSource Class Referenceabstract

Public Member Functions

IEnumerable< stringEnumerateAssets ()
 
string GetExtension (string assetName)
 Must be threadsafe!
 
Stream OpenStream (string fullAssetName)
 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]
 

Detailed Description

Definition at line 8 of file ContentSource.cs.


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