Пример #1
0
 public void ExeuctePreparedSearch()
 {
     if (ActiveQuery != null)
     {
         ActiveQuery.Execute(HandleResults);
     }
 }
Пример #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);
 }
Пример #3
0
 public void SearchFollowed(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);
     }
     ActiveQuery.Execute(HandleResults);
 }