Ejemplo n.º 1
0
 /// <summary>
 /// <para> Query for all matching UGC using the new deep paging interface. Creator app id or consumer app id must be valid and be set to the current running app. pchCursor should be set to NULL or "*" to get the first result set.</para>
 /// </summary>
 public static UGCQueryHandle_t CreateQueryAllUGCRequest(EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, string pchCursor = null)
 {
     InteropHelp.TestIfAvailableGameServer();
     using (var pchCursor2 = new InteropHelp.UTF8StringHandle(pchCursor)) {
         return((UGCQueryHandle_t)NativeMethods.ISteamUGC_CreateQueryAllUGCRequest0(CSteamGameServerAPIContext.GetSteamUGC(), eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, pchCursor2));
     }
 }
Ejemplo n.º 2
0
    internal WorkshopQueryAll(EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingUGCTypeFileType)
    {
        matchAnyTag   = false;
        searchText    = null;
        trendRankDays = 0;

        _queryType = eQueryType;
        _fileType  = eMatchingUGCTypeFileType;
    }
Ejemplo n.º 3
0
        public static HeathenWorkshopItemQuery Create(EUGCQuery queryType, EUGCMatchingUGCType matchingType, AppId_t creatorApp, AppId_t consumerApp)
        {
            HeathenWorkshopItemQuery nQuery = new HeathenWorkshopItemQuery
            {
                matchedRecordCount = 0,
                PageCount          = 1,
                isAllQuery         = true,
                isUserQuery        = false,
                queryType          = queryType,
                matchingType       = matchingType,
                creatorApp         = creatorApp,
                consumerApp        = consumerApp,
                Page   = 1,
                handle = SteamUGC.CreateQueryAllUGCRequest(queryType, matchingType, creatorApp, consumerApp, 1)
            };

            return(nQuery);
        }
Ejemplo n.º 4
0
 /// <summary>
 /// <para> Query for all matching UGC. 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_t CreateQueryAllUGCRequest(EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint unPage)
 {
     InteropHelp.TestIfAvailableGameServer();
     return((UGCQueryHandle_t)NativeMethods.ISteamUGC_CreateQueryAllUGCRequest(CSteamGameServerAPIContext.GetSteamUGC(), eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage));
 }
		/// <summary>
		/// <para> Query for all matching UGC. 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_t CreateQueryAllUGCRequest(EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint unPage) {
			InteropHelp.TestIfAvailableGameServer();
			return (UGCQueryHandle_t)NativeMethods.ISteamGameServerUGC_CreateQueryAllUGCRequest(eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage);
		}
Ejemplo n.º 6
0
 public UInt64 CreateQueryAllUGCRequest(EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, UInt32 nCreatorAppID, UInt32 nConsumerAppID, UInt32 unPage)
 {
     return(this.GetFunction <NativeCreateQueryAllUGCRequestEEUUU>(this.Functions.CreateQueryAllUGCRequest1)(this.ObjectAddress, eQueryType, eMatchingeMatchingUGCTypeFileType, nCreatorAppID, nConsumerAppID, unPage));
 }
Ejemplo n.º 7
0
		public static extern ulong ISteamGameServerUGC_CreateQueryAllUGCRequest(EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint unPage);
Ejemplo n.º 8
0
 /// Query for all matching UGC using the new deep paging interface. Creator app id or consumer app id must be valid and be set to the current running app. pchCursor should be set to NULL or "*" to get the first result set.
 public static UGCQueryHandle_t CreateQueryAllUGCRequest(EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, string pchCursor = null)
 {
     return((UGCQueryHandle_t)0);
 }
Ejemplo n.º 9
0
 /// Query for all matching UGC. Creator app id or consumer app id must be valid and be set to the current running app. unPage should start at 1.
 public static UGCQueryHandle_t CreateQueryAllUGCRequest(EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint unPage)
 {
     return((UGCQueryHandle_t)0);
 }
Ejemplo n.º 10
0
 public WorkshopSortMode(EUGCQuery p_mode, EWorkshopSource p_source)
 {
     MODE   = p_mode;
     SOURCE = p_source;
 }
Ejemplo n.º 11
0
 public WorkshopSortMode(EUGCQuery p_mode)
 {
     MODE = p_mode;
 }
Ejemplo n.º 12
0
        public UGCQueryHandle CreateQueryAllUGCRequest(EUGCQuery queryType, EUGCMatchingUGCType matchingeMatchingUGCTypeFileType, AppID creatorAppID, AppID consumerAppID, uint page)
        {
            CheckIfUsable();

            return(new UGCQueryHandle(NativeMethods.UGC_CreateQueryAllUGCRequest((int)queryType, (int)matchingeMatchingUGCTypeFileType, creatorAppID.AsUInt32, consumerAppID.AsUInt32, page)));
        }
Ejemplo n.º 13
0
        public UGCQueryHandle CreateQueryAllUGCRequest(EUGCQuery queryType, EUGCMatchingUGCType matchingeMatchingUGCTypeFileType, AppID creatorAppID, AppID consumerAppID, uint page)
        {
            CheckIfUsable();

            return new UGCQueryHandle(NativeMethods.UGC_CreateQueryAllUGCRequest((int)queryType, (int)matchingeMatchingUGCTypeFileType, creatorAppID.AsUInt32, consumerAppID.AsUInt32, page));
        }
 public static UGCQueryHandle_t CreateQueryAllUGCRequest(EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint unPage) => default;                                              // 0x000000018079A0A0-0x000000018079A170
 public static UGCQueryHandle_t CreateQueryAllUGCRequest(EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, string pchCursor = null) => default;                                  // 0x0000000180799F10-0x000000018079A0A0
 public static UGCQueryHandle_t CreateQueryUserUGCRequest(AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint unPage) => default; // 0x000000018079A220-0x000000018079A310
 public static UGCQueryHandle_t CreateQueryAllUGCRequest(EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint unPage) => default;                                              // 0x000000018079A0A0-0x000000018079A170