tModLoader v2024.02
A mod to make and play Terraria mods
WorkshopSocialModule Class Referenceabstract

Inherits ISocialModule, and Terraria.Social.Base.WorkshopSocialModule.

Public Member Functions

abstract List< string > GetListOfMods ()
 
override List< string > GetListOfMods ()
 
abstract List< string > GetListOfSubscribedResourcePackPaths ()
 
override List< string > GetListOfSubscribedResourcePackPaths ()
 
abstract List< string > GetListOfSubscribedWorldPaths ()
 
override List< string > GetListOfSubscribedWorldPaths ()
 
List< IssueReportGetReports ()
 
abstract void ImportDownloadedWorldToLocalSaves (WorldFileData world, string newFileName=null, string newDisplayName=null)
 
override void ImportDownloadedWorldToLocalSaves (WorldFileData world, string newFileName=null, string newDisplayName=null)
 
abstract void Initialize ()
 
override void Initialize ()
 
abstract void LoadEarlyContent ()
 
override void LoadEarlyContent ()
 
override bool PublishMod (TmodFile modFile, NameValueCollection buildData, WorkshopItemPublishSettings settings)
 
abstract bool PublishMod (TmodFile modFile, NameValueCollection data, WorkshopItemPublishSettings settings)
 
abstract void PublishResourcePack (ResourcePack resourcePack, WorkshopItemPublishSettings settings)
 
override void PublishResourcePack (ResourcePack resourcePack, WorkshopItemPublishSettings settings)
 
abstract void PublishWorld (WorldFileData world, WorkshopItemPublishSettings settings)
 
override void PublishWorld (WorldFileData world, WorkshopItemPublishSettings settings)
 
abstract void Shutdown ()
 
override void Shutdown ()
 
abstract bool TryGetInfoForMod (TmodFile modFile, out FoundWorkshopEntryInfo info)
 
override bool TryGetInfoForMod (TmodFile modFile, out FoundWorkshopEntryInfo info)
 
abstract bool TryGetInfoForResourcePack (ResourcePack resourcePack, out FoundWorkshopEntryInfo info)
 
override bool TryGetInfoForResourcePack (ResourcePack resourcePack, out FoundWorkshopEntryInfo info)
 
abstract bool TryGetInfoForWorld (WorldFileData world, out FoundWorkshopEntryInfo info)
 
override bool TryGetInfoForWorld (WorldFileData world, out FoundWorkshopEntryInfo info)
 
abstract bool TryGetPath (string pathEnd, out string fullPathFound)
 
override bool TryGetPath (string pathEnd, out string fullPathFound)
 
void Initialize ()
 
void Shutdown ()
 

Static Public Member Functions

static bool CalculateVersionsData (string workshopPath, ref NameValueCollection buildData, out string failureMessage)
 
static void FixErrorsInWorkshopFolder (string workshopFolderPath)
 
static void SteamCMDPublishPreparer (string modFolder)
 

Properties

WorkshopBranding Branding [get, protected set]
 
WorkshopIssueReporter IssueReporter [get, protected set]
 
AWorkshopProgressReporter ProgressReporter [get, protected set]
 
AWorkshopTagsCollection SupportedTags [get, protected set]
 

Member Function Documentation

◆ Initialize() [1/2]

abstract void WorkshopSocialModule.Initialize ( )
pure virtual

Implements ISocialModule.

◆ Initialize() [2/2]

override void WorkshopSocialModule.Initialize ( )

Implements ISocialModule.

◆ Shutdown() [1/2]

abstract void WorkshopSocialModule.Shutdown ( )
pure virtual

Implements ISocialModule.

◆ Shutdown() [2/2]

override void WorkshopSocialModule.Shutdown ( )

Implements ISocialModule.