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 Query WhereUserVotedDown(SteamId user = default) { userType = UserUGCList.VotedDown; LimitUser(user); return(this); }
/// <summary> /// <para> Query UGC associated with a user. Creator app id or consumer app id must be valid and be set to the current running app. unPage should start at 1.</para> /// </summary> public static UGCQueryHandle CreateQueryUserUGCRequest(AccountId accountId, UserUGCList listType, MatchingUGCType eMatchingUGCType, UGCListSortOrder eSortOrder, AppId nCreatorAppID, AppId nConsumerAppID, uint unPage) { InteropHelp.TestIfAvailableGameServer(); return((UGCQueryHandle)NativeMethods.ISteamGameServerUGC_CreateQueryUserUGCRequest(accountId, listType, eMatchingUGCType, eSortOrder, nCreatorAppID, nConsumerAppID, unPage)); }
public UserQuery GetPublished() { userType = UserUGCList.Published; return(this); }
public Query WhereUserFavorited(SteamId user = default) { this.userType = UserUGCList.Favorited; this.LimitUser(user); return(this); }
public Query WhereUserVotedUp(SteamId user = default) { this.userType = UserUGCList.VotedUp; this.LimitUser(user); return(this); }
public UGCQueryHandle CreateQueryUserUGCRequest(AccountID accountId, UserUGCList listType, EUGCMatchingUGCType matchingUGCType, EUserUGCListSortOrder sortOrder, AppID creatorAppID, AppID consumerAppID, uint page) { CheckIfUsable(); return new UGCQueryHandle(NativeMethods.UGC_CreateQueryUserUGCRequest(accountId.AsUInt32, (int)listType, (int)matchingUGCType, (int)sortOrder, creatorAppID.AsUInt32, creatorAppID.AsUInt32, page)); }
public Query WhereUserUsedOrPlayed(SteamId user = default) { userType = UserUGCList.UsedOrPlayed; LimitUser(user); return(this); }
public Query WherePublished() { userType = UserUGCList.Published; return(this); }
public Query WhereUserVotedOn(SteamId user = null) { this.userType = UserUGCList.VotedOn; this.LimitUser(user); return(this); }
public Query WhereUserWillVoteLater(SteamId user = null) { this.userType = UserUGCList.WillVoteLater; this.LimitUser(user); return(this); }
public Query WhereUserUsedOrPlayed(SteamId user = null) { this.userType = UserUGCList.UsedOrPlayed; this.LimitUser(user); return(this); }
public Query WhereUserSubscribed(SteamId user = null) { this.userType = UserUGCList.Subscribed; this.LimitUser(user); return(this); }
public Query WhereUserFollowed(SteamId user = null) { this.userType = UserUGCList.Followed; this.LimitUser(user); return(this); }
public Query WhereUserWillVoteLater(SteamId user = default) { userType = UserUGCList.WillVoteLater; LimitUser(user); return(this); }
public UGCQueryHandle CreateQueryUserUGCRequest(AccountID accountId, UserUGCList listType, EUGCMatchingUGCType matchingUGCType, EUserUGCListSortOrder sortOrder, AppID creatorAppID, AppID consumerAppID, uint page) { CheckIfUsable(); return(new UGCQueryHandle(NativeMethods.UGC_CreateQueryUserUGCRequest(accountId.AsUInt32, (int)listType, (int)matchingUGCType, (int)sortOrder, creatorAppID.AsUInt32, creatorAppID.AsUInt32, page))); }
public Query WhereUserSubscribed(SteamId user = default) { userType = UserUGCList.Subscribed; LimitUser(user); return(this); }
// UGCQueryHandle_t public UGCQueryHandle_t CreateQueryUserUGCRequest(AccountID_t unAccountID /*AccountID_t*/, UserUGCList eListType /*EUserUGCList*/, UGCMatchingUGCType eMatchingUGCType /*EUGCMatchingUGCType*/, UserUGCListSortOrder eSortOrder /*EUserUGCListSortOrder*/, AppId_t nCreatorAppID /*AppId_t*/, AppId_t nConsumerAppID /*AppId_t*/, uint unPage /*uint32*/) { return(platform.ISteamUGC_CreateQueryUserUGCRequest(unAccountID.Value, eListType, eMatchingUGCType, eSortOrder, nCreatorAppID.Value, nConsumerAppID.Value, unPage)); }
public Query WhereUserFollowed(SteamId user = default) { userType = UserUGCList.Followed; LimitUser(user); return(this); }
/// <summary> /// <para> Query UGC associated with a user. Creator app id or consumer app id must be valid and be set to the current running app. unPage should start at 1.</para> /// </summary> public static UGCQueryHandle CreateQueryUserUGCRequest(AccountId accountId, UserUGCList listType, MatchingUGCType matchingUGCType, UGCListSortOrder sortOrder, AppId creatorAppId, AppId consumerAppId, uint unPage) { InteropHelp.TestIfAvailableClient(); return((UGCQueryHandle)NativeMethods.ISteamUGC_CreateQueryUserUGCRequest(accountId, listType, matchingUGCType, sortOrder, creatorAppId, consumerAppId, unPage)); }