Terraria v1.4.4.9
Terraria source code documentation
|
Public Types | |
enum | BrandingType { None , SteamWorkshop } |
Public Member Functions | |
ResourcePack (IServiceProvider services, string path, BrandingType branding=BrandingType.None) | |
void | Refresh () |
IContentSource | GetContentSource () |
Public Attributes | |
readonly string | FullPath |
readonly string | FileName |
readonly bool | IsCompressed |
readonly BrandingType | Branding |
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 | |
readonly IServiceProvider | _services |
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" |
Definition at line 14 of file ResourcePack.cs.