Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
WorkshopSocialModule.cs
Go to the documentation of this file.
2using Terraria.IO;
3
5
6public abstract class WorkshopSocialModule : ISocialModule
7{
8 public WorkshopBranding Branding { get; protected set; }
9
10 public AWorkshopProgressReporter ProgressReporter { get; protected set; }
11
12 public AWorkshopTagsCollection SupportedTags { get; protected set; }
13
14 public WorkshopIssueReporter IssueReporter { get; protected set; }
15
16 public abstract void Initialize();
17
18 public abstract void Shutdown();
19
20 public abstract void PublishWorld(WorldFileData world, WorkshopItemPublishSettings settings);
21
23
25
27
28 public abstract void LoadEarlyContent();
29
31
33
34 public abstract bool TryGetPath(string pathEnd, out string fullPathFound);
35
36 public abstract void ImportDownloadedWorldToLocalSaves(WorldFileData world, string newFileName = null, string newDisplayName = null);
37}
bool TryGetInfoForResourcePack(ResourcePack resourcePack, out FoundWorkshopEntryInfo info)
bool TryGetInfoForWorld(WorldFileData world, out FoundWorkshopEntryInfo info)
void ImportDownloadedWorldToLocalSaves(WorldFileData world, string newFileName=null, string newDisplayName=null)
List< string > GetListOfSubscribedResourcePackPaths()
bool TryGetPath(string pathEnd, out string fullPathFound)
void PublishWorld(WorldFileData world, WorkshopItemPublishSettings settings)
void PublishResourcePack(ResourcePack resourcePack, WorkshopItemPublishSettings settings)