Exemplo n.º 1
0
 public Query(UgcType type)
 {
     this = new Query()
     {
         matchingType = type
     };
 }
Exemplo n.º 2
0
 public Query(UgcType type = UgcType.All, UGCQuery allRankedBy = UGCQuery.RankedByVote, string optionalSearchText = null) : this(type)
 {
     queryType = allRankedBy;
     if (!string.IsNullOrEmpty(optionalSearchText))
     {
         searchText = optionalSearchText;
     }
 }
Exemplo n.º 3
0
        public UserQuery(UgcType type, SteamId steamid = default) : this()
        {
            if (steamid == 0)
            {
                steamid = SteamClient.SteamId;
            }

            this.steamid      = steamid;
            this.matchingType = type;
        }
Exemplo n.º 4
0
 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;
     }
 }
Exemplo n.º 5
0
 public QueryType WithType(UgcType type)
 {
     matchingType = type; return(this);
 }
Exemplo n.º 6
0
 public Query(UgcType type) : this()
 {
     matchingType = type;
 }
Exemplo n.º 7
0
 public Query(UgcType type, params PublishedFileId[] files) : this(type)
 {
     Files = files;
 }