tModLoader v2023.01
A mod to make and play Terraria mods
Terraria.IO.ResourcePack Class Reference

Public Types

enum  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]