1552 lines
108 KiB
C#
1552 lines
108 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace Steamworks
|
|
{
|
|
// Token: 0x020011FD RID: 4605
|
|
[Token(Token = "0x20011FD")]
|
|
[StructLayout(3)]
|
|
public static class SteamGameServerUGC
|
|
{
|
|
// Token: 0x06006CE4 RID: 27876 RVA: 0x001707EC File Offset: 0x0016E9EC
|
|
[Token(Token = "0x6006CE4")]
|
|
[Address(RVA = "0x2A28CA0", Offset = "0x2A276A0", VA = "0x182A28CA0")]
|
|
public static UGCQueryHandle_t CreateQueryUserUGCRequest(AccountID_t unAccountID, EUserUGCList eListType, EUGCMatchingUGCType eMatchingUGCType, EUserUGCListSortOrder eSortOrder, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint unPage)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006CE4)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.UGCQueryHandle_t Steamworks.SteamGameServerUGC::CreateQueryUserUGCRequest(Steamworks.AccountID_t,Steamworks.EUserUGCList,Steamworks.EUGCMatchingUGCType,Steamworks.EUserUGCListSortOrder,Steamworks.AppId_t,Steamworks.AppId_t,System.UInt32)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:native int(var_3_0E, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamUGC))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006CE5 RID: 27877 RVA: 0x00170808 File Offset: 0x0016EA08
|
|
[Token(Token = "0x6006CE5")]
|
|
[Address(RVA = "0x2A28B20", Offset = "0x2A27520", VA = "0x182A28B20")]
|
|
public static UGCQueryHandle_t CreateQueryAllUGCRequest(EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, uint unPage)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006CE5)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.UGCQueryHandle_t Steamworks.SteamGameServerUGC::CreateQueryAllUGCRequest(Steamworks.EUGCQuery,Steamworks.EUGCMatchingUGCType,Steamworks.AppId_t,Steamworks.AppId_t,System.UInt32)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:uint32(var_0_06, ldfld:uint32(AppId_t::m_AppId, ldloc:AppId_t[exp:valuetype Steamworks.AppId_t&](nConsumerAppID)))
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:native int(var_3_13, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamUGC))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006CE6 RID: 27878 RVA: 0x00170828 File Offset: 0x0016EA28
|
|
[Token(Token = "0x6006CE6")]
|
|
[Address(RVA = "0x2A28990", Offset = "0x2A27390", VA = "0x182A28990")]
|
|
public static UGCQueryHandle_t CreateQueryAllUGCRequest(EUGCQuery eQueryType, EUGCMatchingUGCType eMatchingeMatchingUGCTypeFileType, AppId_t nCreatorAppID, AppId_t nConsumerAppID, [Optional] string pchCursor)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006CE6)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.UGCQueryHandle_t Steamworks.SteamGameServerUGC::CreateQueryAllUGCRequest(Steamworks.EUGCQuery,Steamworks.EUGCMatchingUGCType,Steamworks.AppId_t,Steamworks.AppId_t,System.String)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_1F:
|
|
brtrue(IL_00, cne:bool(ldloc:int32(var_1_08), ldc.i4:int32(0)))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006CE7 RID: 27879 RVA: 0x00170858 File Offset: 0x0016EA58
|
|
[Token(Token = "0x6006CE7")]
|
|
[Address(RVA = "0x2A28BF0", Offset = "0x2A275F0", VA = "0x182A28BF0")]
|
|
public static UGCQueryHandle_t CreateQueryUGCDetailsRequest(PublishedFileId_t[] pvecPublishedFileID, uint unNumPublishedFileIDs)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006CE7)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.UGCQueryHandle_t Steamworks.SteamGameServerUGC::CreateQueryUGCDetailsRequest(Steamworks.PublishedFileId_t[],System.UInt32)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:uint64(var_1_13, call:uint64(NativeMethods::ISteamUGC_CreateQueryUGCDetailsRequest, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamUGC), ldloc:valuetype Steamworks.PublishedFileId_t[](pvecPublishedFileID), ldloc:uint32(unNumPublishedFileIDs)))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006CE8 RID: 27880 RVA: 0x00170878 File Offset: 0x0016EA78
|
|
[Token(Token = "0x6006CE8")]
|
|
[Address(RVA = "0x2A2A140", Offset = "0x2A28B40", VA = "0x182A2A140")]
|
|
public static SteamAPICall_t SendQueryUGCRequest(UGCQueryHandle_t handle)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006CE8)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServerUGC::SendQueryUGCRequest(Steamworks.UGCQueryHandle_t)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:uint64(var_1_12, call:uint64(NativeMethods::ISteamUGC_SendQueryUGCRequest, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamUGC), ldloc:UGCQueryHandle_t(handle)))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006CE9 RID: 27881 RVA: 0x00170898 File Offset: 0x0016EA98
|
|
[Token(Token = "0x6006CE9")]
|
|
[Address(RVA = "0x2A29A80", Offset = "0x2A28480", VA = "0x182A29A80")]
|
|
public static bool GetQueryUGCResult(UGCQueryHandle_t handle, uint index, out SteamUGCDetails_t pDetails)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_GetQueryUGCResult(CSteamGameServerAPIContext.m_pSteamUGC, handle, index, out pDetails);
|
|
}
|
|
|
|
// Token: 0x06006CEA RID: 27882 RVA: 0x001708BC File Offset: 0x0016EABC
|
|
[Token(Token = "0x6006CEA")]
|
|
[Address(RVA = "0x2A29960", Offset = "0x2A28360", VA = "0x182A29960")]
|
|
public static bool GetQueryUGCPreviewURL(UGCQueryHandle_t handle, uint index, out string pchURL, uint cchURLSize)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr intPtr = Marshal.AllocHGlobal((int)cchURLSize);
|
|
IntPtr intPtr2 = CSteamGameServerAPIContext.m_pSteamUGC;
|
|
bool flag = NativeMethods.ISteamUGC_GetQueryUGCPreviewURL(intPtr2, handle, index, intPtr, cchURLSize);
|
|
if (flag)
|
|
{
|
|
intPtr2 = intPtr;
|
|
string text = InteropHelp.PtrToStringUTF8(intPtr2);
|
|
}
|
|
Marshal.FreeHGlobal(intPtr);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006CEB RID: 27883 RVA: 0x00170904 File Offset: 0x0016EB04
|
|
[Token(Token = "0x6006CEB")]
|
|
[Address(RVA = "0x2A29780", Offset = "0x2A28180", VA = "0x182A29780")]
|
|
public static bool GetQueryUGCMetadata(UGCQueryHandle_t handle, uint index, out string pchMetadata, uint cchMetadatasize)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr intPtr = Marshal.AllocHGlobal((int)cchMetadatasize);
|
|
IntPtr intPtr2 = CSteamGameServerAPIContext.m_pSteamUGC;
|
|
bool flag = NativeMethods.ISteamUGC_GetQueryUGCMetadata(intPtr2, handle, index, intPtr, cchMetadatasize);
|
|
if (flag)
|
|
{
|
|
intPtr2 = intPtr;
|
|
string text = InteropHelp.PtrToStringUTF8(intPtr2);
|
|
}
|
|
Marshal.FreeHGlobal(intPtr);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006CEC RID: 27884 RVA: 0x0017094C File Offset: 0x0016EB4C
|
|
[Token(Token = "0x6006CEC")]
|
|
[Address(RVA = "0x2A29380", Offset = "0x2A27D80", VA = "0x182A29380")]
|
|
public static bool GetQueryUGCChildren(UGCQueryHandle_t handle, uint index, PublishedFileId_t[] pvecPublishedFileID, uint cMaxEntries)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_GetQueryUGCChildren(CSteamGameServerAPIContext.m_pSteamUGC, handle, index, pvecPublishedFileID, cMaxEntries);
|
|
}
|
|
|
|
// Token: 0x06006CED RID: 27885 RVA: 0x00170970 File Offset: 0x0016EB70
|
|
[Token(Token = "0x6006CED")]
|
|
[Address(RVA = "0x2A29B00", Offset = "0x2A28500", VA = "0x182A29B00")]
|
|
public static bool GetQueryUGCStatistic(UGCQueryHandle_t handle, uint index, EItemStatistic eStatType, out ulong pStatValue)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamUGC = CSteamGameServerAPIContext.m_pSteamUGC;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006CEE RID: 27886 RVA: 0x0017098C File Offset: 0x0016EB8C
|
|
[Token(Token = "0x6006CEE")]
|
|
[Address(RVA = "0x2A298A0", Offset = "0x2A282A0", VA = "0x182A298A0")]
|
|
public static uint GetQueryUGCNumAdditionalPreviews(UGCQueryHandle_t handle, uint index)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_GetQueryUGCNumAdditionalPreviews(CSteamGameServerAPIContext.m_pSteamUGC, handle, index);
|
|
}
|
|
|
|
// Token: 0x06006CEF RID: 27887 RVA: 0x001709AC File Offset: 0x0016EBAC
|
|
[Token(Token = "0x6006CEF")]
|
|
[Address(RVA = "0x2A291D0", Offset = "0x2A27BD0", VA = "0x182A291D0")]
|
|
public static bool GetQueryUGCAdditionalPreview(UGCQueryHandle_t handle, uint index, uint previewIndex, out string pchURLOrVideoID, uint cchURLSize, out string pchOriginalFileName, uint cchOriginalFileNameSize, out EItemPreviewType pPreviewType)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr intPtr = CSteamGameServerAPIContext.m_pSteamUGC;
|
|
bool flag;
|
|
IntPtr intPtr2;
|
|
if (flag)
|
|
{
|
|
intPtr = intPtr2;
|
|
string text = InteropHelp.PtrToStringUTF8(intPtr);
|
|
}
|
|
Marshal.FreeHGlobal(intPtr2);
|
|
IntPtr intPtr3;
|
|
if (flag)
|
|
{
|
|
intPtr2 = intPtr3;
|
|
string text2 = InteropHelp.PtrToStringUTF8(intPtr2);
|
|
}
|
|
Marshal.FreeHGlobal(intPtr3);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006CF0 RID: 27888 RVA: 0x001709F8 File Offset: 0x0016EBF8
|
|
[Token(Token = "0x6006CF0")]
|
|
[Address(RVA = "0x2A29900", Offset = "0x2A28300", VA = "0x182A29900")]
|
|
public static uint GetQueryUGCNumKeyValueTags(UGCQueryHandle_t handle, uint index)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_GetQueryUGCNumKeyValueTags(CSteamGameServerAPIContext.m_pSteamUGC, handle, index);
|
|
}
|
|
|
|
// Token: 0x06006CF1 RID: 27889 RVA: 0x00170A18 File Offset: 0x0016EC18
|
|
[Token(Token = "0x6006CF1")]
|
|
[Address(RVA = "0x2A29410", Offset = "0x2A27E10", VA = "0x182A29410")]
|
|
public static bool GetQueryUGCKeyValueTag(UGCQueryHandle_t handle, uint index, uint keyValueTagIndex, out string pchKey, uint cchKeySize, out string pchValue, uint cchValueSize)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr intPtr = CSteamGameServerAPIContext.m_pSteamUGC;
|
|
bool flag;
|
|
IntPtr intPtr2;
|
|
if (flag)
|
|
{
|
|
intPtr = intPtr2;
|
|
string text = InteropHelp.PtrToStringUTF8(intPtr);
|
|
}
|
|
Marshal.FreeHGlobal(intPtr2);
|
|
IntPtr intPtr3;
|
|
if (flag)
|
|
{
|
|
intPtr2 = intPtr3;
|
|
string text2 = InteropHelp.PtrToStringUTF8(intPtr2);
|
|
}
|
|
Marshal.FreeHGlobal(intPtr3);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006CF2 RID: 27890 RVA: 0x00170A64 File Offset: 0x0016EC64
|
|
[Token(Token = "0x6006CF2")]
|
|
[Address(RVA = "0x2A295B0", Offset = "0x2A27FB0", VA = "0x182A295B0")]
|
|
public static bool GetQueryUGCKeyValueTag(UGCQueryHandle_t handle, uint index, string pchKey, out string pchValue, uint cchValueSize)
|
|
{
|
|
int num;
|
|
bool flag;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchKey);
|
|
IntPtr intPtr = CSteamGameServerAPIContext.m_pSteamUGC;
|
|
IntPtr intPtr2;
|
|
if (flag)
|
|
{
|
|
intPtr = intPtr2;
|
|
string text = InteropHelp.PtrToStringUTF8(intPtr);
|
|
}
|
|
Marshal.FreeHGlobal(intPtr2);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006CF3 RID: 27891 RVA: 0x00170AB0 File Offset: 0x0016ECB0
|
|
[Token(Token = "0x6006CF3")]
|
|
[Address(RVA = "0x2A29C80", Offset = "0x2A28680", VA = "0x182A29C80")]
|
|
public static bool ReleaseQueryUGCRequest(UGCQueryHandle_t handle)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_ReleaseQueryUGCRequest(CSteamGameServerAPIContext.m_pSteamUGC, handle);
|
|
}
|
|
|
|
// Token: 0x06006CF4 RID: 27892 RVA: 0x00170AD0 File Offset: 0x0016ECD0
|
|
[Token(Token = "0x6006CF4")]
|
|
[Address(RVA = "0x2A28670", Offset = "0x2A27070", VA = "0x182A28670")]
|
|
public static bool AddRequiredTag(UGCQueryHandle_t handle, string pTagName)
|
|
{
|
|
int num;
|
|
bool flag;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pTagName);
|
|
flag = NativeMethods.ISteamUGC_AddRequiredTag(CSteamGameServerAPIContext.m_pSteamUGC, handle, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006CF5 RID: 27893 RVA: 0x00170B08 File Offset: 0x0016ED08
|
|
[Token(Token = "0x6006CF5")]
|
|
[Address(RVA = "0x2A285B0", Offset = "0x2A26FB0", VA = "0x182A285B0")]
|
|
public static bool AddRequiredTagGroup(UGCQueryHandle_t handle, IList<string> pTagGroups)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamUGC = CSteamGameServerAPIContext.m_pSteamUGC;
|
|
IntPtr pSteamParamStringArray = new InteropHelp.SteamParamStringArray(pTagGroups).m_pSteamParamStringArray;
|
|
return NativeMethods.ISteamUGC_AddRequiredTagGroup(pSteamUGC, handle, pSteamParamStringArray);
|
|
}
|
|
|
|
// Token: 0x06006CF6 RID: 27894 RVA: 0x00170B3C File Offset: 0x0016ED3C
|
|
[Token(Token = "0x6006CF6")]
|
|
[Address(RVA = "0x2A27DC0", Offset = "0x2A267C0", VA = "0x182A27DC0")]
|
|
public static bool AddExcludedTag(UGCQueryHandle_t handle, string pTagName)
|
|
{
|
|
int num;
|
|
bool flag;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pTagName);
|
|
flag = NativeMethods.ISteamUGC_AddExcludedTag(CSteamGameServerAPIContext.m_pSteamUGC, handle, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006CF7 RID: 27895 RVA: 0x00170B74 File Offset: 0x0016ED74
|
|
[Token(Token = "0x6006CF7")]
|
|
[Address(RVA = "0x2A2B050", Offset = "0x2A29A50", VA = "0x182A2B050")]
|
|
public static bool SetReturnOnlyIDs(UGCQueryHandle_t handle, bool bReturnOnlyIDs)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_SetReturnOnlyIDs(CSteamGameServerAPIContext.m_pSteamUGC, handle, bReturnOnlyIDs);
|
|
}
|
|
|
|
// Token: 0x06006CF8 RID: 27896 RVA: 0x00170B94 File Offset: 0x0016ED94
|
|
[Token(Token = "0x6006CF8")]
|
|
[Address(RVA = "0x2A2AF30", Offset = "0x2A29930", VA = "0x182A2AF30")]
|
|
public static bool SetReturnKeyValueTags(UGCQueryHandle_t handle, bool bReturnKeyValueTags)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_SetReturnKeyValueTags(CSteamGameServerAPIContext.m_pSteamUGC, handle, bReturnKeyValueTags);
|
|
}
|
|
|
|
// Token: 0x06006CF9 RID: 27897 RVA: 0x00170BB4 File Offset: 0x0016EDB4
|
|
[Token(Token = "0x6006CF9")]
|
|
[Address(RVA = "0x2A2AF90", Offset = "0x2A29990", VA = "0x182A2AF90")]
|
|
public static bool SetReturnLongDescription(UGCQueryHandle_t handle, bool bReturnLongDescription)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_SetReturnLongDescription(CSteamGameServerAPIContext.m_pSteamUGC, handle, bReturnLongDescription);
|
|
}
|
|
|
|
// Token: 0x06006CFA RID: 27898 RVA: 0x00170BD4 File Offset: 0x0016EDD4
|
|
[Token(Token = "0x6006CFA")]
|
|
[Address(RVA = "0x2A2AFF0", Offset = "0x2A299F0", VA = "0x182A2AFF0")]
|
|
public static bool SetReturnMetadata(UGCQueryHandle_t handle, bool bReturnMetadata)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_SetReturnMetadata(CSteamGameServerAPIContext.m_pSteamUGC, handle, bReturnMetadata);
|
|
}
|
|
|
|
// Token: 0x06006CFB RID: 27899 RVA: 0x00170BF4 File Offset: 0x0016EDF4
|
|
[Token(Token = "0x6006CFB")]
|
|
[Address(RVA = "0x2A2AED0", Offset = "0x2A298D0", VA = "0x182A2AED0")]
|
|
public static bool SetReturnChildren(UGCQueryHandle_t handle, bool bReturnChildren)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_SetReturnChildren(CSteamGameServerAPIContext.m_pSteamUGC, handle, bReturnChildren);
|
|
}
|
|
|
|
// Token: 0x06006CFC RID: 27900 RVA: 0x00170C14 File Offset: 0x0016EE14
|
|
[Token(Token = "0x6006CFC")]
|
|
[Address(RVA = "0x2A2AE70", Offset = "0x2A29870", VA = "0x182A2AE70")]
|
|
public static bool SetReturnAdditionalPreviews(UGCQueryHandle_t handle, bool bReturnAdditionalPreviews)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_SetReturnAdditionalPreviews(CSteamGameServerAPIContext.m_pSteamUGC, handle, bReturnAdditionalPreviews);
|
|
}
|
|
|
|
// Token: 0x06006CFD RID: 27901 RVA: 0x00170C34 File Offset: 0x0016EE34
|
|
[Token(Token = "0x6006CFD")]
|
|
[Address(RVA = "0x2A2B110", Offset = "0x2A29B10", VA = "0x182A2B110")]
|
|
public static bool SetReturnTotalOnly(UGCQueryHandle_t handle, bool bReturnTotalOnly)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_SetReturnTotalOnly(CSteamGameServerAPIContext.m_pSteamUGC, handle, bReturnTotalOnly);
|
|
}
|
|
|
|
// Token: 0x06006CFE RID: 27902 RVA: 0x00170C54 File Offset: 0x0016EE54
|
|
[Token(Token = "0x6006CFE")]
|
|
[Address(RVA = "0x2A2B0B0", Offset = "0x2A29AB0", VA = "0x182A2B0B0")]
|
|
public static bool SetReturnPlaytimeStats(UGCQueryHandle_t handle, uint unDays)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_SetReturnPlaytimeStats(CSteamGameServerAPIContext.m_pSteamUGC, handle, unDays);
|
|
}
|
|
|
|
// Token: 0x06006CFF RID: 27903 RVA: 0x00170C74 File Offset: 0x0016EE74
|
|
[Token(Token = "0x6006CFF")]
|
|
[Address(RVA = "0x2A2AC70", Offset = "0x2A29670", VA = "0x182A2AC70")]
|
|
public static bool SetLanguage(UGCQueryHandle_t handle, string pchLanguage)
|
|
{
|
|
int num;
|
|
bool flag;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchLanguage);
|
|
flag = NativeMethods.ISteamUGC_SetLanguage(CSteamGameServerAPIContext.m_pSteamUGC, handle, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006D00 RID: 27904 RVA: 0x00170CAC File Offset: 0x0016EEAC
|
|
[Token(Token = "0x6006D00")]
|
|
[Address(RVA = "0x2A2A1D0", Offset = "0x2A28BD0", VA = "0x182A2A1D0")]
|
|
public static bool SetAllowCachedResponse(UGCQueryHandle_t handle, uint unMaxAgeSeconds)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_SetAllowCachedResponse(CSteamGameServerAPIContext.m_pSteamUGC, handle, unMaxAgeSeconds);
|
|
}
|
|
|
|
// Token: 0x06006D01 RID: 27905 RVA: 0x00170CCC File Offset: 0x0016EECC
|
|
[Token(Token = "0x6006D01")]
|
|
[Address(RVA = "0x2A2A290", Offset = "0x2A28C90", VA = "0x182A2A290")]
|
|
public static bool SetCloudFileNameFilter(UGCQueryHandle_t handle, string pMatchCloudFileName)
|
|
{
|
|
int num;
|
|
bool flag;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pMatchCloudFileName);
|
|
flag = NativeMethods.ISteamUGC_SetCloudFileNameFilter(CSteamGameServerAPIContext.m_pSteamUGC, handle, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006D02 RID: 27906 RVA: 0x00170D04 File Offset: 0x0016EF04
|
|
[Token(Token = "0x6006D02")]
|
|
[Address(RVA = "0x2A2ADB0", Offset = "0x2A297B0", VA = "0x182A2ADB0")]
|
|
public static bool SetMatchAnyTag(UGCQueryHandle_t handle, bool bMatchAnyTag)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_SetMatchAnyTag(CSteamGameServerAPIContext.m_pSteamUGC, handle, bMatchAnyTag);
|
|
}
|
|
|
|
// Token: 0x06006D03 RID: 27907 RVA: 0x00170D24 File Offset: 0x0016EF24
|
|
[Token(Token = "0x6006D03")]
|
|
[Address(RVA = "0x2A2B170", Offset = "0x2A29B70", VA = "0x182A2B170")]
|
|
public static bool SetSearchText(UGCQueryHandle_t handle, string pSearchText)
|
|
{
|
|
int num;
|
|
bool flag;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pSearchText);
|
|
flag = NativeMethods.ISteamUGC_SetSearchText(CSteamGameServerAPIContext.m_pSteamUGC, handle, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006D04 RID: 27908 RVA: 0x00170D5C File Offset: 0x0016EF5C
|
|
[Token(Token = "0x6006D04")]
|
|
[Address(RVA = "0x2A2AE10", Offset = "0x2A29810", VA = "0x182A2AE10")]
|
|
public static bool SetRankedByTrendDays(UGCQueryHandle_t handle, uint unDays)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_SetRankedByTrendDays(CSteamGameServerAPIContext.m_pSteamUGC, handle, unDays);
|
|
}
|
|
|
|
// Token: 0x06006D05 RID: 27909 RVA: 0x00170D7C File Offset: 0x0016EF7C
|
|
[Token(Token = "0x6006D05")]
|
|
[Address(RVA = "0x2A283F0", Offset = "0x2A26DF0", VA = "0x182A283F0")]
|
|
public static bool AddRequiredKeyValueTag(UGCQueryHandle_t handle, string pKey, string pValue)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006D05)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Steamworks.SteamGameServerUGC::AddRequiredKeyValueTag(Steamworks.UGCQueryHandle_t,System.String,System.String)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_3A:
|
|
brtrue(IL_00, cne:bool(ldloc:int32(var_0_01), ldc.i4:int32(0)))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006D06 RID: 27910 RVA: 0x00170DC8 File Offset: 0x0016EFC8
|
|
[Token(Token = "0x6006D06")]
|
|
[Address(RVA = "0x2A2A0A0", Offset = "0x2A28AA0", VA = "0x182A2A0A0")]
|
|
public static SteamAPICall_t RequestUGCDetails(PublishedFileId_t nPublishedFileID, uint unMaxAgeSeconds)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006D06)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServerUGC::RequestUGCDetails(Steamworks.PublishedFileId_t,System.UInt32)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:uint64(var_1_13, call:uint64(NativeMethods::ISteamUGC_RequestUGCDetails, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamUGC), ldloc:PublishedFileId_t(nPublishedFileID), ldloc:uint32(unMaxAgeSeconds)))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006D07 RID: 27911 RVA: 0x00170DE8 File Offset: 0x0016EFE8
|
|
[Token(Token = "0x6006D07")]
|
|
[Address(RVA = "0x2A288F0", Offset = "0x2A272F0", VA = "0x182A288F0")]
|
|
public static SteamAPICall_t CreateItem(AppId_t nConsumerAppId, EWorkshopFileType eFileType)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006D07)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServerUGC::CreateItem(Steamworks.AppId_t,Steamworks.EWorkshopFileType)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:native int(var_1_0C, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamUGC))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006D08 RID: 27912 RVA: 0x00170E04 File Offset: 0x0016F004
|
|
[Token(Token = "0x6006D08")]
|
|
[Address(RVA = "0x2A2B350", Offset = "0x2A29D50", VA = "0x182A2B350")]
|
|
public static UGCUpdateHandle_t StartItemUpdate(AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006D08)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.UGCUpdateHandle_t Steamworks.SteamGameServerUGC::StartItemUpdate(Steamworks.AppId_t,Steamworks.PublishedFileId_t)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:native int(var_1_0C, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamUGC))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006D09 RID: 27913 RVA: 0x00170E20 File Offset: 0x0016F020
|
|
[Token(Token = "0x6006D09")]
|
|
[Address(RVA = "0x2A2A990", Offset = "0x2A29390", VA = "0x182A2A990")]
|
|
public static bool SetItemTitle(UGCUpdateHandle_t handle, string pchTitle)
|
|
{
|
|
int num;
|
|
bool flag;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchTitle);
|
|
flag = NativeMethods.ISteamUGC_SetItemTitle(CSteamGameServerAPIContext.m_pSteamUGC, handle, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006D0A RID: 27914 RVA: 0x00170E58 File Offset: 0x0016F058
|
|
[Token(Token = "0x6006D0A")]
|
|
[Address(RVA = "0x2A2A510", Offset = "0x2A28F10", VA = "0x182A2A510")]
|
|
public static bool SetItemDescription(UGCUpdateHandle_t handle, string pchDescription)
|
|
{
|
|
int num;
|
|
bool flag;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchDescription);
|
|
flag = NativeMethods.ISteamUGC_SetItemDescription(CSteamGameServerAPIContext.m_pSteamUGC, handle, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006D0B RID: 27915 RVA: 0x00170E90 File Offset: 0x0016F090
|
|
[Token(Token = "0x6006D0B")]
|
|
[Address(RVA = "0x2A2AAD0", Offset = "0x2A294D0", VA = "0x182A2AAD0")]
|
|
public static bool SetItemUpdateLanguage(UGCUpdateHandle_t handle, string pchLanguage)
|
|
{
|
|
int num;
|
|
bool flag;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchLanguage);
|
|
flag = NativeMethods.ISteamUGC_SetItemUpdateLanguage(CSteamGameServerAPIContext.m_pSteamUGC, handle, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006D0C RID: 27916 RVA: 0x00170EC8 File Offset: 0x0016F0C8
|
|
[Token(Token = "0x6006D0C")]
|
|
[Address(RVA = "0x2A2A650", Offset = "0x2A29050", VA = "0x182A2A650")]
|
|
public static bool SetItemMetadata(UGCUpdateHandle_t handle, string pchMetaData)
|
|
{
|
|
int num;
|
|
bool flag;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchMetaData);
|
|
flag = NativeMethods.ISteamUGC_SetItemMetadata(CSteamGameServerAPIContext.m_pSteamUGC, handle, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006D0D RID: 27917 RVA: 0x00170F00 File Offset: 0x0016F100
|
|
[Token(Token = "0x6006D0D")]
|
|
[Address(RVA = "0x2A2AC10", Offset = "0x2A29610", VA = "0x182A2AC10")]
|
|
public static bool SetItemVisibility(UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamUGC = CSteamGameServerAPIContext.m_pSteamUGC;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006D0E RID: 27918 RVA: 0x00170F1C File Offset: 0x0016F11C
|
|
[Token(Token = "0x6006D0E")]
|
|
[Address(RVA = "0x2A2A8D0", Offset = "0x2A292D0", VA = "0x182A2A8D0")]
|
|
public static bool SetItemTags(UGCUpdateHandle_t updateHandle, IList<string> pTags)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr pSteamUGC = CSteamGameServerAPIContext.m_pSteamUGC;
|
|
IntPtr pSteamParamStringArray = new InteropHelp.SteamParamStringArray(pTags).m_pSteamParamStringArray;
|
|
return NativeMethods.ISteamUGC_SetItemTags(pSteamUGC, updateHandle, pSteamParamStringArray);
|
|
}
|
|
|
|
// Token: 0x06006D0F RID: 27919 RVA: 0x00170F50 File Offset: 0x0016F150
|
|
[Token(Token = "0x6006D0F")]
|
|
[Address(RVA = "0x2A2A3D0", Offset = "0x2A28DD0", VA = "0x182A2A3D0")]
|
|
public static bool SetItemContent(UGCUpdateHandle_t handle, string pszContentFolder)
|
|
{
|
|
int num;
|
|
bool flag;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pszContentFolder);
|
|
flag = NativeMethods.ISteamUGC_SetItemContent(CSteamGameServerAPIContext.m_pSteamUGC, handle, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006D10 RID: 27920 RVA: 0x00170F88 File Offset: 0x0016F188
|
|
[Token(Token = "0x6006D10")]
|
|
[Address(RVA = "0x2A2A790", Offset = "0x2A29190", VA = "0x182A2A790")]
|
|
public static bool SetItemPreview(UGCUpdateHandle_t handle, string pszPreviewFile)
|
|
{
|
|
int num;
|
|
bool flag;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pszPreviewFile);
|
|
flag = NativeMethods.ISteamUGC_SetItemPreview(CSteamGameServerAPIContext.m_pSteamUGC, handle, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006D11 RID: 27921 RVA: 0x00170FC0 File Offset: 0x0016F1C0
|
|
[Token(Token = "0x6006D11")]
|
|
[Address(RVA = "0x2A2A230", Offset = "0x2A28C30", VA = "0x182A2A230")]
|
|
public static bool SetAllowLegacyUpload(UGCUpdateHandle_t handle, bool bAllowLegacyUpload)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_SetAllowLegacyUpload(CSteamGameServerAPIContext.m_pSteamUGC, handle, bAllowLegacyUpload);
|
|
}
|
|
|
|
// Token: 0x06006D12 RID: 27922 RVA: 0x00170FE0 File Offset: 0x0016F1E0
|
|
[Token(Token = "0x6006D12")]
|
|
[Address(RVA = "0x2A29CD0", Offset = "0x2A286D0", VA = "0x182A29CD0")]
|
|
public static bool RemoveAllItemKeyValueTags(UGCUpdateHandle_t handle)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_RemoveAllItemKeyValueTags(CSteamGameServerAPIContext.m_pSteamUGC, handle);
|
|
}
|
|
|
|
// Token: 0x06006D13 RID: 27923 RVA: 0x00171000 File Offset: 0x0016F200
|
|
[Token(Token = "0x6006D13")]
|
|
[Address(RVA = "0x2A29F00", Offset = "0x2A28900", VA = "0x182A29F00")]
|
|
public static bool RemoveItemKeyValueTags(UGCUpdateHandle_t handle, string pchKey)
|
|
{
|
|
int num;
|
|
bool flag;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchKey);
|
|
flag = NativeMethods.ISteamUGC_RemoveItemKeyValueTags(CSteamGameServerAPIContext.m_pSteamUGC, handle, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006D14 RID: 27924 RVA: 0x00171038 File Offset: 0x0016F238
|
|
[Token(Token = "0x6006D14")]
|
|
[Address(RVA = "0x2A27F00", Offset = "0x2A26900", VA = "0x182A27F00")]
|
|
public static bool AddItemKeyValueTag(UGCUpdateHandle_t handle, string pchKey, string pchValue)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006D14)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Steamworks.SteamGameServerUGC::AddItemKeyValueTag(Steamworks.UGCUpdateHandle_t,System.String,System.String)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_3A:
|
|
brtrue(IL_00, cne:bool(ldloc:int32(var_0_01), ldc.i4:int32(0)))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006D15 RID: 27925 RVA: 0x00171084 File Offset: 0x0016F284
|
|
[Token(Token = "0x6006D15")]
|
|
[Address(RVA = "0x2A280C0", Offset = "0x2A26AC0", VA = "0x182A280C0")]
|
|
public static bool AddItemPreviewFile(UGCUpdateHandle_t handle, string pszPreviewFile, EItemPreviewType type)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pszPreviewFile);
|
|
IntPtr pSteamUGC = CSteamGameServerAPIContext.m_pSteamUGC;
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006D16 RID: 27926 RVA: 0x001710B8 File Offset: 0x0016F2B8
|
|
[Token(Token = "0x6006D16")]
|
|
[Address(RVA = "0x2A28210", Offset = "0x2A26C10", VA = "0x182A28210")]
|
|
public static bool AddItemPreviewVideo(UGCUpdateHandle_t handle, string pszVideoID)
|
|
{
|
|
int num;
|
|
bool flag;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pszVideoID);
|
|
flag = NativeMethods.ISteamUGC_AddItemPreviewVideo(CSteamGameServerAPIContext.m_pSteamUGC, handle, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006D17 RID: 27927 RVA: 0x001710F0 File Offset: 0x0016F2F0
|
|
[Token(Token = "0x6006D17")]
|
|
[Address(RVA = "0x2A2B880", Offset = "0x2A2A280", VA = "0x182A2B880")]
|
|
public static bool UpdateItemPreviewFile(UGCUpdateHandle_t handle, uint index, string pszPreviewFile)
|
|
{
|
|
int num;
|
|
bool flag;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pszPreviewFile);
|
|
flag = NativeMethods.ISteamUGC_UpdateItemPreviewFile(CSteamGameServerAPIContext.m_pSteamUGC, handle, index, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006D18 RID: 27928 RVA: 0x00171128 File Offset: 0x0016F328
|
|
[Token(Token = "0x6006D18")]
|
|
[Address(RVA = "0x2A2B9D0", Offset = "0x2A2A3D0", VA = "0x182A2B9D0")]
|
|
public static bool UpdateItemPreviewVideo(UGCUpdateHandle_t handle, uint index, string pszVideoID)
|
|
{
|
|
int num;
|
|
bool flag;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pszVideoID);
|
|
flag = NativeMethods.ISteamUGC_UpdateItemPreviewVideo(CSteamGameServerAPIContext.m_pSteamUGC, handle, index, utf8StringHandle);
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006D19 RID: 27929 RVA: 0x00171160 File Offset: 0x0016F360
|
|
[Token(Token = "0x6006D19")]
|
|
[Address(RVA = "0x2A2A040", Offset = "0x2A28A40", VA = "0x182A2A040")]
|
|
public static bool RemoveItemPreview(UGCUpdateHandle_t handle, uint index)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_RemoveItemPreview(CSteamGameServerAPIContext.m_pSteamUGC, handle, index);
|
|
}
|
|
|
|
// Token: 0x06006D1A RID: 27930 RVA: 0x00171180 File Offset: 0x0016F380
|
|
[Token(Token = "0x6006D1A")]
|
|
[Address(RVA = "0x2A2B5C0", Offset = "0x2A29FC0", VA = "0x182A2B5C0")]
|
|
public static SteamAPICall_t SubmitItemUpdate(UGCUpdateHandle_t handle, string pchChangeNote)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006D1A)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServerUGC::SubmitItemUpdate(Steamworks.UGCUpdateHandle_t,System.String)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_25:
|
|
brtrue(IL_00, cne:bool(ldloc:int32(var_0_01), ldc.i4:int32(0)))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006D1B RID: 27931 RVA: 0x001711B8 File Offset: 0x0016F3B8
|
|
[Token(Token = "0x6006D1B")]
|
|
[Address(RVA = "0x2A29100", Offset = "0x2A27B00", VA = "0x182A29100")]
|
|
public static EItemUpdateStatus GetItemUpdateProgress(UGCUpdateHandle_t handle, out ulong punBytesProcessed, out ulong punBytesTotal)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_GetItemUpdateProgress(CSteamGameServerAPIContext.m_pSteamUGC, handle, out punBytesProcessed, out punBytesTotal);
|
|
}
|
|
|
|
// Token: 0x06006D1C RID: 27932 RVA: 0x001711DC File Offset: 0x0016F3DC
|
|
[Token(Token = "0x6006D1C")]
|
|
[Address(RVA = "0x2A2B2B0", Offset = "0x2A29CB0", VA = "0x182A2B2B0")]
|
|
public static SteamAPICall_t SetUserItemVote(PublishedFileId_t nPublishedFileID, bool bVoteUp)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006D1C)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServerUGC::SetUserItemVote(Steamworks.PublishedFileId_t,System.Boolean)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:uint64(var_1_13, call:uint64(NativeMethods::ISteamUGC_SetUserItemVote, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamUGC), ldloc:PublishedFileId_t(nPublishedFileID), ldloc:bool(bVoteUp)))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006D1D RID: 27933 RVA: 0x001711FC File Offset: 0x0016F3FC
|
|
[Token(Token = "0x6006D1D")]
|
|
[Address(RVA = "0x2A29BF0", Offset = "0x2A285F0", VA = "0x182A29BF0")]
|
|
public static SteamAPICall_t GetUserItemVote(PublishedFileId_t nPublishedFileID)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006D1D)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServerUGC::GetUserItemVote(Steamworks.PublishedFileId_t)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:uint64(var_1_12, call:uint64(NativeMethods::ISteamUGC_GetUserItemVote, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamUGC), ldloc:PublishedFileId_t(nPublishedFileID)))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006D1E RID: 27934 RVA: 0x0017121C File Offset: 0x0016F41C
|
|
[Token(Token = "0x6006D1E")]
|
|
[Address(RVA = "0x2A28350", Offset = "0x2A26D50", VA = "0x182A28350")]
|
|
public static SteamAPICall_t AddItemToFavorites(AppId_t nAppId, PublishedFileId_t nPublishedFileID)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006D1E)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServerUGC::AddItemToFavorites(Steamworks.AppId_t,Steamworks.PublishedFileId_t)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:native int(var_1_0C, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamUGC))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006D1F RID: 27935 RVA: 0x00171238 File Offset: 0x0016F438
|
|
[Token(Token = "0x6006D1F")]
|
|
[Address(RVA = "0x2A29E60", Offset = "0x2A28860", VA = "0x182A29E60")]
|
|
public static SteamAPICall_t RemoveItemFromFavorites(AppId_t nAppId, PublishedFileId_t nPublishedFileID)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006D1F)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServerUGC::RemoveItemFromFavorites(Steamworks.AppId_t,Steamworks.PublishedFileId_t)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:native int(var_1_0C, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamUGC))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006D20 RID: 27936 RVA: 0x00171254 File Offset: 0x0016F454
|
|
[Token(Token = "0x6006D20")]
|
|
[Address(RVA = "0x2A2B710", Offset = "0x2A2A110", VA = "0x182A2B710")]
|
|
public static SteamAPICall_t SubscribeItem(PublishedFileId_t nPublishedFileID)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006D20)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServerUGC::SubscribeItem(Steamworks.PublishedFileId_t)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:uint64(var_1_12, call:uint64(NativeMethods::ISteamUGC_SubscribeItem, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamUGC), ldloc:PublishedFileId_t(nPublishedFileID)))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006D21 RID: 27937 RVA: 0x00171274 File Offset: 0x0016F474
|
|
[Token(Token = "0x6006D21")]
|
|
[Address(RVA = "0x2A2B7F0", Offset = "0x2A2A1F0", VA = "0x182A2B7F0")]
|
|
public static SteamAPICall_t UnsubscribeItem(PublishedFileId_t nPublishedFileID)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006D21)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServerUGC::UnsubscribeItem(Steamworks.PublishedFileId_t)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:uint64(var_1_12, call:uint64(NativeMethods::ISteamUGC_UnsubscribeItem, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamUGC), ldloc:PublishedFileId_t(nPublishedFileID)))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006D22 RID: 27938 RVA: 0x00171294 File Offset: 0x0016F494
|
|
[Token(Token = "0x6006D22")]
|
|
[Address(RVA = "0x2A29180", Offset = "0x2A27B80", VA = "0x182A29180")]
|
|
public static uint GetNumSubscribedItems()
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_GetNumSubscribedItems(CSteamGameServerAPIContext.m_pSteamUGC);
|
|
}
|
|
|
|
// Token: 0x06006D23 RID: 27939 RVA: 0x001712B4 File Offset: 0x0016F4B4
|
|
[Token(Token = "0x6006D23")]
|
|
[Address(RVA = "0x2A29B90", Offset = "0x2A28590", VA = "0x182A29B90")]
|
|
public static uint GetSubscribedItems(PublishedFileId_t[] pvecPublishedFileID, uint cMaxEntries)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_GetSubscribedItems(CSteamGameServerAPIContext.m_pSteamUGC, pvecPublishedFileID, cMaxEntries);
|
|
}
|
|
|
|
// Token: 0x06006D24 RID: 27940 RVA: 0x001712D4 File Offset: 0x0016F4D4
|
|
[Token(Token = "0x6006D24")]
|
|
[Address(RVA = "0x2A290B0", Offset = "0x2A27AB0", VA = "0x182A290B0")]
|
|
public static uint GetItemState(PublishedFileId_t nPublishedFileID)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_GetItemState(CSteamGameServerAPIContext.m_pSteamUGC, nPublishedFileID);
|
|
}
|
|
|
|
// Token: 0x06006D25 RID: 27941 RVA: 0x001712F4 File Offset: 0x0016F4F4
|
|
[Token(Token = "0x6006D25")]
|
|
[Address(RVA = "0x2A28F90", Offset = "0x2A27990", VA = "0x182A28F90")]
|
|
public static bool GetItemInstallInfo(PublishedFileId_t nPublishedFileID, out ulong punSizeOnDisk, out string pchFolder, uint cchFolderSize, out uint punTimeStamp)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
IntPtr intPtr = Marshal.AllocHGlobal((int)cchFolderSize);
|
|
IntPtr intPtr2 = CSteamGameServerAPIContext.m_pSteamUGC;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
intPtr2 = intPtr;
|
|
string text = InteropHelp.PtrToStringUTF8(intPtr2);
|
|
}
|
|
Marshal.FreeHGlobal(intPtr);
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006D26 RID: 27942 RVA: 0x00171330 File Offset: 0x0016F530
|
|
[Token(Token = "0x6006D26")]
|
|
[Address(RVA = "0x2A28F10", Offset = "0x2A27910", VA = "0x182A28F10")]
|
|
public static bool GetItemDownloadInfo(PublishedFileId_t nPublishedFileID, out ulong punBytesDownloaded, out ulong punBytesTotal)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_GetItemDownloadInfo(CSteamGameServerAPIContext.m_pSteamUGC, nPublishedFileID, out punBytesDownloaded, out punBytesTotal);
|
|
}
|
|
|
|
// Token: 0x06006D27 RID: 27943 RVA: 0x00171354 File Offset: 0x0016F554
|
|
[Token(Token = "0x6006D27")]
|
|
[Address(RVA = "0x2A28E20", Offset = "0x2A27820", VA = "0x182A28E20")]
|
|
public static bool DownloadItem(PublishedFileId_t nPublishedFileID, bool bHighPriority)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
return NativeMethods.ISteamUGC_DownloadItem(CSteamGameServerAPIContext.m_pSteamUGC, nPublishedFileID, bHighPriority);
|
|
}
|
|
|
|
// Token: 0x06006D28 RID: 27944 RVA: 0x00171374 File Offset: 0x0016F574
|
|
[Token(Token = "0x6006D28")]
|
|
[Address(RVA = "0x2A287B0", Offset = "0x2A271B0", VA = "0x182A287B0")]
|
|
public static bool BInitWorkshopForGameServer(DepotId_t unWorkshopDepotID, string pszFolder)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pszFolder);
|
|
IntPtr pSteamUGC = CSteamGameServerAPIContext.m_pSteamUGC;
|
|
if (utf8StringHandle != 0)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006D29 RID: 27945 RVA: 0x001713A8 File Offset: 0x0016F5A8
|
|
[Token(Token = "0x6006D29")]
|
|
[Address(RVA = "0x2A2B7A0", Offset = "0x2A2A1A0", VA = "0x182A2B7A0")]
|
|
public static void SuspendDownloads(bool bSuspend)
|
|
{
|
|
InteropHelp.TestIfAvailableGameServer();
|
|
NativeMethods.ISteamUGC_SuspendDownloads(CSteamGameServerAPIContext.m_pSteamUGC, bSuspend);
|
|
}
|
|
|
|
// Token: 0x06006D2A RID: 27946 RVA: 0x001713C8 File Offset: 0x0016F5C8
|
|
[Token(Token = "0x6006D2A")]
|
|
[Address(RVA = "0x2A2B3F0", Offset = "0x2A29DF0", VA = "0x182A2B3F0")]
|
|
public static SteamAPICall_t StartPlaytimeTracking(PublishedFileId_t[] pvecPublishedFileID, uint unNumPublishedFileIDs)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006D2A)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServerUGC::StartPlaytimeTracking(Steamworks.PublishedFileId_t[],System.UInt32)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:uint64(var_1_13, call:uint64(NativeMethods::ISteamUGC_StartPlaytimeTracking, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamUGC), ldloc:valuetype Steamworks.PublishedFileId_t[](pvecPublishedFileID), ldloc:uint32(unNumPublishedFileIDs)))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006D2B RID: 27947 RVA: 0x001713E8 File Offset: 0x0016F5E8
|
|
[Token(Token = "0x6006D2B")]
|
|
[Address(RVA = "0x2A2B520", Offset = "0x2A29F20", VA = "0x182A2B520")]
|
|
public static SteamAPICall_t StopPlaytimeTracking(PublishedFileId_t[] pvecPublishedFileID, uint unNumPublishedFileIDs)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006D2B)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServerUGC::StopPlaytimeTracking(Steamworks.PublishedFileId_t[],System.UInt32)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:uint64(var_1_13, call:uint64(NativeMethods::ISteamUGC_StopPlaytimeTracking, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamUGC), ldloc:valuetype Steamworks.PublishedFileId_t[](pvecPublishedFileID), ldloc:uint32(unNumPublishedFileIDs)))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006D2C RID: 27948 RVA: 0x00171408 File Offset: 0x0016F608
|
|
[Token(Token = "0x6006D2C")]
|
|
[Address(RVA = "0x2A2B490", Offset = "0x2A29E90", VA = "0x182A2B490")]
|
|
public static SteamAPICall_t StopPlaytimeTrackingForAllItems()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006D2C)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServerUGC::StopPlaytimeTrackingForAllItems()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:uint64(var_1_11, call:uint64(NativeMethods::ISteamUGC_StopPlaytimeTrackingForAllItems, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamUGC)))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006D2D RID: 27949 RVA: 0x00171428 File Offset: 0x0016F628
|
|
[Token(Token = "0x6006D2D")]
|
|
[Address(RVA = "0x2A27D20", Offset = "0x2A26720", VA = "0x182A27D20")]
|
|
public static SteamAPICall_t AddDependency(PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006D2D)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServerUGC::AddDependency(Steamworks.PublishedFileId_t,Steamworks.PublishedFileId_t)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:uint64(var_1_13, call:uint64(NativeMethods::ISteamUGC_AddDependency, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamUGC), ldloc:PublishedFileId_t(nParentPublishedFileID), ldloc:PublishedFileId_t(nChildPublishedFileID)))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006D2E RID: 27950 RVA: 0x00171448 File Offset: 0x0016F648
|
|
[Token(Token = "0x6006D2E")]
|
|
[Address(RVA = "0x2A29DC0", Offset = "0x2A287C0", VA = "0x182A29DC0")]
|
|
public static SteamAPICall_t RemoveDependency(PublishedFileId_t nParentPublishedFileID, PublishedFileId_t nChildPublishedFileID)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006D2E)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServerUGC::RemoveDependency(Steamworks.PublishedFileId_t,Steamworks.PublishedFileId_t)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:uint64(var_1_13, call:uint64(NativeMethods::ISteamUGC_RemoveDependency, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamUGC), ldloc:PublishedFileId_t(nParentPublishedFileID), ldloc:PublishedFileId_t(nChildPublishedFileID)))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006D2F RID: 27951 RVA: 0x00171468 File Offset: 0x0016F668
|
|
[Token(Token = "0x6006D2F")]
|
|
[Address(RVA = "0x2A27C80", Offset = "0x2A26680", VA = "0x182A27C80")]
|
|
public static SteamAPICall_t AddAppDependency(PublishedFileId_t nPublishedFileID, AppId_t nAppID)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006D2F)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServerUGC::AddAppDependency(Steamworks.PublishedFileId_t,Steamworks.AppId_t)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:native int(var_1_0C, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamUGC))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006D30 RID: 27952 RVA: 0x00171484 File Offset: 0x0016F684
|
|
[Token(Token = "0x6006D30")]
|
|
[Address(RVA = "0x2A29D20", Offset = "0x2A28720", VA = "0x182A29D20")]
|
|
public static SteamAPICall_t RemoveAppDependency(PublishedFileId_t nPublishedFileID, AppId_t nAppID)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006D30)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServerUGC::RemoveAppDependency(Steamworks.PublishedFileId_t,Steamworks.AppId_t)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:native int(var_1_0C, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamUGC))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006D31 RID: 27953 RVA: 0x001714A0 File Offset: 0x0016F6A0
|
|
[Token(Token = "0x6006D31")]
|
|
[Address(RVA = "0x2A28E80", Offset = "0x2A27880", VA = "0x182A28E80")]
|
|
public static SteamAPICall_t GetAppDependencies(PublishedFileId_t nPublishedFileID)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006D31)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServerUGC::GetAppDependencies(Steamworks.PublishedFileId_t)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:uint64(var_1_12, call:uint64(NativeMethods::ISteamUGC_GetAppDependencies, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamUGC), ldloc:PublishedFileId_t(nPublishedFileID)))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x06006D32 RID: 27954 RVA: 0x001714C0 File Offset: 0x0016F6C0
|
|
[Token(Token = "0x6006D32")]
|
|
[Address(RVA = "0x2A28D90", Offset = "0x2A27790", VA = "0x182A28D90")]
|
|
public static SteamAPICall_t DeleteItem(PublishedFileId_t nPublishedFileID)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06006D32)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamGameServerUGC::DeleteItem(Steamworks.PublishedFileId_t)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
call:void(InteropHelp::TestIfAvailableGameServer)
|
|
stloc:uint64(var_1_12, call:uint64(NativeMethods::ISteamUGC_DeleteItem, ldsfld:native int(CSteamGameServerAPIContext::m_pSteamUGC), ldloc:PublishedFileId_t(nPublishedFileID)))
|
|
}
|
|
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
|
--- End of inner exception stack trace ---
|
|
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
|
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
|
*/;
|
|
}
|
|
}
|
|
}
|