TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ TryGetPublishIdByInternalName()

static bool Terraria.Social.Steam.WorkshopHelper.TryGetPublishIdByInternalName ( QueryParameters query,
out List< string > modIds )
inlinestaticpackage

Definition at line 1091 of file WorkshopHelper.cs.

1092 {
1093 modIds = new List<string>();
1095 {
1096 return false;
1097 }
1098 for (int i = 0; i < query.searchModSlugs.Length; i++)
1099 {
1100 if (items[i] == null)
1101 {
1102 Logging.tML.Info((object)("Unable to find the PublishID for " + query.searchModSlugs[i]));
1103 modIds.Add("0");
1104 }
1105 else
1106 {
1107 modIds.Add(items[i].PublishId.m_ModPubId);
1108 }
1109 }
1110 return true;
1111 }
static bool TryGetModDownloadItemsByInternalName(QueryParameters query, out List< ModDownloadItem > mods)

References Terraria.ModLoader.Logging.tML, and Terraria.Social.Steam.WorkshopHelper.TryGetModDownloadItemsByInternalName().

Referenced by Terraria.ModLoader.UI.UIModPackItem.GetModPackBrowserIds(), and Terraria.Social.Steam.WorkshopSocialModule.TryCalculateWorkshopDeps().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: