Example #1
0
 public void PrepareSearchFollowed(string filter)
 {
     lastSearchString = filter;
     ActiveQuery      = HeathenWorkshopItemQuery.Create(SteamUser.GetSteamID().GetAccountID(), EUserUGCList.k_EUserUGCList_Followed, EUGCMatchingUGCType.k_EUGCMatchingUGCType_Items_ReadyToUse, EUserUGCListSortOrder.k_EUserUGCListSortOrder_TitleAsc, CreatorAppId, steamSettings.applicationId);
     if (!string.IsNullOrEmpty(filter))
     {
         SteamworksWorkshop.WorkshopSetSearchText(ActiveQuery.handle, filter);
     }
     QueryPrepared.Invoke(ActiveQuery);
 }
Example #2
0
 public void SearchAll(string filter)
 {
     lastSearchString = filter;
     ActiveQuery      = HeathenWorkshopItemQuery.Create(EUGCQuery.k_EUGCQuery_RankedByTrend, EUGCMatchingUGCType.k_EUGCMatchingUGCType_Items_ReadyToUse, CreatorAppId, steamSettings.applicationId);
     if (!string.IsNullOrEmpty(filter))
     {
         SteamworksWorkshop.WorkshopSetSearchText(ActiveQuery.handle, filter);
     }
     ActiveQuery.Execute(HandleResults);
 }
Example #3
0
 public void SearchFavorites(string filter)
 {
     lastSearchString = filter;
     ActiveQuery      = HeathenWorkshopItemQuery.Create(SteamUser.GetSteamID().GetAccountID(), EUserUGCList.k_EUserUGCList_Favorited, EUGCMatchingUGCType.k_EUGCMatchingUGCType_Items_ReadyToUse, EUserUGCListSortOrder.k_EUserUGCListSortOrder_TitleAsc, CreatorAppId, steamSettings.applicationId);
     if (!string.IsNullOrEmpty(filter))
     {
         SteamworksWorkshop.WorkshopSetSearchText(ActiveQuery.handle, filter);
     }
     ActiveQuery.Execute(HandleResults);
 }