tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.IO.ResourcePack Class Reference

Public Types

enum class  BrandingType { None , SteamWorkshop }
 

Public Member Functions

 ResourcePack (IServiceProvider services, string path, BrandingType branding=BrandingType.None)
 
IContentSource GetContentSource ()
 
void Refresh ()
 

Public Attributes

readonly BrandingType Branding
 
readonly string FileName
 
readonly string FullPath
 
readonly bool IsCompressed
 

Properties

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