tModLoader v2024.10
A mod to make and play Terraria mods
WorldWorkshopEntry Class Reference

Inherits AWorkshopEntry.

Static Public Member Functions

static string GetHeaderTextFor (WorldFileData world, ulong workshopEntryId, string[] tags, WorkshopItemPublicSettingId publicity, string previewImagePath)
 
- Static Public Member Functions inherited from AWorkshopEntry
static string ReadHeader (string jsonText)
 
static bool TryReadingManifest (string filePath, out FoundWorkshopEntryInfo info)
 

Additional Inherited Members

- Static Public Attributes inherited from AWorkshopEntry
const string ContentTypeName_ResourcePack = "ResourcePack"
 
const string ContentTypeName_World = "World"
 
const int CurrentWorkshopPublishVersion = 1
 
- Static Protected Member Functions inherited from AWorkshopEntry
static string CreateHeaderJson (string contentTypeName, ulong workshopEntryId, string[] tags, WorkshopItemPublicSettingId publicity, string previewImagePath)
 
static bool TryGet< T > (Dictionary< string, object > dict, string name, out T outputValue)
 
- Static Protected Attributes inherited from AWorkshopEntry
const string ContentTypeJsonCategoryField = "ContentType"
 
const string HeaderFileName = "Workshop.json"
 
const string PreviewImageField = "PreviewImagePath"
 
const string PublictyField = "Publicity"
 
static readonly JsonSerializerSettings SerializerSettings
 
const string TagsField = "Tags"
 
const string WorkshopEntryField = "SteamEntryId"
 
const string WorkshopPublishedVersionField = "WorkshopPublishedVersion"