terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Terraria.IO.ResourcePack Class Reference
+ Collaboration diagram for Terraria.IO.ResourcePack:

Public Member Functions

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

Public Attributes

readonly string FullPath
 
readonly string FileName
 

Properties

Texture2D Icon [get, set]
 
string Name [get, set, private set]
 
string Description [get, set, private set]
 
string Author [get, set, private set]
 
ResourcePackVersion Version [get, set, 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
 

Static Private Attributes

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

Detailed Description

Definition at line 17 of file ResourcePack.cs.


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