public Query(UgcType type) { this = new Query() { matchingType = type }; }
public Query(UgcType type = UgcType.All, UGCQuery allRankedBy = UGCQuery.RankedByVote, string optionalSearchText = null) : this(type) { queryType = allRankedBy; if (!string.IsNullOrEmpty(optionalSearchText)) { searchText = optionalSearchText; } }
public UserQuery(UgcType type, SteamId steamid = default) : this() { if (steamid == 0) { steamid = SteamClient.SteamId; } this.steamid = steamid; this.matchingType = type; }
public Query(UgcType type = UgcType.All, UserUGCList userQueryType = UserUGCList.Published, UserUGCListSortOrder userSortType = UserUGCListSortOrder.CreationOrderDesc, SteamId user = default) : this(type) { userType = userQueryType; userSort = userSortType; steamid = user; if (steamid == 0) { steamid = SteamClient.SteamId; } }
public QueryType WithType(UgcType type) { matchingType = type; return(this); }
public Query(UgcType type) : this() { matchingType = type; }
public Query(UgcType type, params PublishedFileId[] files) : this(type) { Files = files; }