terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
Terraria.IO.ResourcePack Class Reference

Public Member Functions

 ResourcePack (IServiceProvider services, string path)
 
void Refresh ()
 
IContentSource GetContentSource ()
 

Public Attributes

readonly string FullPath
 
readonly string FileName
 

Properties

Texture2D Icon [get]
 
string Name [get, private set]
 
string Description [get, private set]
 
string Author [get, private set]
 
ResourcePackVersion Version [get, private set]
 
bool IsEnabled [get, set]
 
int SortingOrder [get, set]
 

Private Member Functions

Texture2D CreateIcon ()
 
void LoadManifest ()
 
Stream OpenStream (string fileName)
 
bool HasFile (string fileName)
 

Private Attributes

string< Namek__BackingField
 
string< Descriptionk__BackingField
 
string< Authork__BackingField
 
ResourcePackVersion< Versionk__BackingField
 
bool< IsEnabledk__BackingField
 
int< SortingOrderk__BackingField
 
readonly IServiceProvider _services
 
readonly bool _isCompressed
 
readonly ZipFile _zipFile
 
Texture2D _icon
 
IContentSource _contentSource
 
bool _needsReload = true
 

Static Private Attributes

const string ICON_FILE_NAME = "icon.png"
 
const string PACK_FILE_NAME = "pack.json"
 

Detailed Description

Definition at line 13 of file ResourcePack.cs.


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