public void ExeuctePreparedSearch() { if (ActiveQuery != null) { ActiveQuery.Execute(HandleResults); } }
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); }
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); }