Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
ZipContentSource (string path) | |
ZipContentSource (string path, string contentDir) | |
ZipContentSource (ZipFile zip, string contentDir) | |
override Stream | OpenStream (string assetName) |
Must be threadsafe! | |
void | Dispose () |
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 | |
virtual void | Dispose (bool disposing) |
void | SetAssetNames (IEnumerable< string > paths) |
Protected Attributes | |
string[] | assetPaths |
Dictionary< string, string > | assetExtensions = new Dictionary<string, string>() |
Properties | |
int | EntryCount [get] |
IContentValidator | ContentValidator [get, set] |
RejectedAssetCollection | Rejections = new RejectedAssetCollection() [get] |
Private Member Functions | |
void | BuildEntryList () |
Static Private Member Functions | |
static bool | ZipPathContainsInvalidCharacters (string path) |
static string | CleanZipPath (string path) |
Private Attributes | |
readonly ZipFile | _zipFile |
readonly Dictionary< string, ZipEntry > | _entries = new Dictionary<string, ZipEntry>() |
readonly string | _basePath |
bool | _isDisposed |
Definition at line 10 of file ZipContentSource.cs.