public UGCGetQueryUGCResultResult GetQueryUGCResult(UGCQueryHandle handle, uint index)
        {
            UGCGetQueryUGCResultResult result = new UGCGetQueryUGCResultResult();
            result.Result = GetQueryUGCResult(handle, index, out result.Details);

            return result;
        }
        public UGCGetQueryUGCResultResult GetQueryUGCResult(UGCQueryHandle handle, uint index)
        {
            UGCGetQueryUGCResultResult result = new UGCGetQueryUGCResultResult();

            result.Result = GetQueryUGCResult(handle, index, out result.Details);

            return(result);
        }
        public bool GetQueryUGCResult(UGCQueryHandle handle, uint index, out UGCDetails details)
        {
            CheckIfUsable();

            using (NativeBuffer bufferKey = new NativeBuffer(Marshal.SizeOf(typeof(UGCDetails))))
            {
                bool result = NativeMethods.UGC_GetQueryUGCResult(handle.AsUInt64, index, bufferKey.UnmanagedMemory);
                details = NativeHelpers.ConvertStruct <UGCDetails>(bufferKey.UnmanagedMemory, bufferKey.UnmanagedSize);

                return(result);
            }
        }
        public bool GetQueryUGCResult(UGCQueryHandle handle, uint index, out UGCDetails details)
        {
            CheckIfUsable();

            using (NativeBuffer bufferKey = new NativeBuffer(Marshal.SizeOf(typeof(UGCDetails))))
            {
                bool result = NativeMethods.UGC_GetQueryUGCResult(handle.AsUInt64, index, bufferKey.UnmanagedMemory);
                details = NativeHelpers.ConvertStruct<UGCDetails>(bufferKey.UnmanagedMemory, bufferKey.UnmanagedSize);

                return result;
            }
        }
 public bool SetSearchText(UGCQueryHandle handle, string searchText)
 {
     return(NativeMethods.UGC_SetSearchText(handle.AsUInt64, searchText));
 }
 public bool SetMatchAnyTag(UGCQueryHandle handle, bool matchAnyTag)
 {
     return(NativeMethods.UGC_SetMatchAnyTag(handle.AsUInt64, matchAnyTag));
 }
 public bool SetCloudFileNameFilter(UGCQueryHandle handle, string matchCloudFileName)
 {
     return(NativeMethods.UGC_SetCloudFileNameFilter(handle.AsUInt64, matchCloudFileName));
 }
 public bool SetReturnTotalOnly(UGCQueryHandle handle, bool returnTotalOnly)
 {
     return(NativeMethods.UGC_SetReturnTotalOnly(handle.AsUInt64, returnTotalOnly));
 }
 public bool SetReturnTotalOnly(UGCQueryHandle handle, bool returnTotalOnly)
 {
     return NativeMethods.UGC_SetReturnTotalOnly( handle.AsUInt64, returnTotalOnly );
 }
 public bool ReleaseQueryUGCRequest(UGCQueryHandle handle)
 {
     return(NativeMethods.UGC_ReleaseQueryUGCRequest(handle.AsUInt64));
 }
        public void SendQueryUGCRequest(UGCQueryHandle handle)
        {
            CheckIfUsable();

            NativeMethods.UGC_SendQueryUGCRequest( handle.AsUInt64 );
        }
 public bool SetRankedByTrendDays(UGCQueryHandle handle, uint days)
 {
     return NativeMethods.UGC_SetRankedByTrendDays( handle.AsUInt64, days );
 }
 public bool SetSearchText(UGCQueryHandle handle, string searchText)
 {
     return NativeMethods.UGC_SetSearchText( handle.AsUInt64, searchText );
 }
 public bool SetMatchAnyTag(UGCQueryHandle handle, bool matchAnyTag)
 {
     return NativeMethods.UGC_SetMatchAnyTag( handle.AsUInt64, matchAnyTag );
 }
 public bool SetCloudFileNameFilter(UGCQueryHandle handle, string matchCloudFileName)
 {
     return NativeMethods.UGC_SetCloudFileNameFilter( handle.AsUInt64, matchCloudFileName );
 }
 public bool SetRankedByTrendDays(UGCQueryHandle handle, uint days)
 {
     return(NativeMethods.UGC_SetRankedByTrendDays(handle.AsUInt64, days));
 }
        public void SendQueryUGCRequest(UGCQueryHandle handle)
        {
            CheckIfUsable();

            NativeMethods.UGC_SendQueryUGCRequest(handle.AsUInt64);
        }
 public bool ReleaseQueryUGCRequest(UGCQueryHandle handle)
 {
     return NativeMethods.UGC_ReleaseQueryUGCRequest( handle.AsUInt64 );
 }
 public bool AddRequiredTag(UGCQueryHandle handle, string tagName)
 {
     return NativeMethods.UGC_AddRequiredTag( handle.AsUInt64, tagName );
 }
 public bool SetReturnLongDescription(UGCQueryHandle handle, bool returnLongDescription)
 {
     return(NativeMethods.UGC_SetReturnLongDescription(handle.AsUInt64, returnLongDescription));
 }
 public bool AddRequiredTag(UGCQueryHandle handle, string tagName)
 {
     return(NativeMethods.UGC_AddRequiredTag(handle.AsUInt64, tagName));
 }
 public bool SetReturnLongDescription(UGCQueryHandle handle, bool returnLongDescription)
 {
     return NativeMethods.UGC_SetReturnLongDescription( handle.AsUInt64, returnLongDescription );
 }