Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.IO.ResourcePackList Class Reference

Classes

struct  ResourcePackEntry
 

Public Member Functions

 ResourcePackList ()
 
 ResourcePackList (IEnumerable< ResourcePack > resourcePacks)
 
JArray ToJson ()
 

Static Public Member Functions

static ResourcePackList FromJson (JArray serializedState, IServiceProvider services, string searchPath)
 
static ResourcePackList Publishable (JArray serializedState, IServiceProvider services, string searchPath)
 

Properties

IEnumerable< ResourcePackEnabledPacks [get]
 
IEnumerable< ResourcePack > pack. Name
 
IEnumerable< ResourcePack > pack.pack. Version
 
IEnumerable< ResourcePack > pack.pack.pack.FileName select pack
 
IEnumerable< ResourcePackDisabledPacks [get]
 
IEnumerable< ResourcePack > pack. Version
 
IEnumerable< ResourcePack > pack.pack.FileName select pack
 
IEnumerable< ResourcePackAllPacks [get]
 

Static Private Member Functions

static void CreatePacksFromSavedJson (JArray serializedState, IServiceProvider services, string searchPath, List< ResourcePack > resourcePacks)
 
static void CreatePacksFromDirectories (IServiceProvider services, string searchPath, List< ResourcePack > resourcePacks)
 
static void CreatePacksFromZips (IServiceProvider services, string searchPath, List< ResourcePack > resourcePacks)
 
static void CreatePacksFromWorkshopFolders (IServiceProvider services, List< ResourcePack > resourcePacks)
 
static IEnumerable< ResourcePackEntryCreatePackEntryListFromJson (JArray serializedState)
 

Private Attributes

readonly List< ResourcePack_resourcePacks = new List<ResourcePack>()
 

Detailed Description

Definition at line 12 of file ResourcePackList.cs.


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