using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace Steamworks { // Token: 0x02001202 RID: 4610 [Token(Token = "0x2001202")] [StructLayout(3)] public static class SteamInventory { // Token: 0x06006DB5 RID: 28085 RVA: 0x001727A4 File Offset: 0x001709A4 [Token(Token = "0x6006DB5")] [Address(RVA = "0x2A915B0", Offset = "0x2A8FFB0", VA = "0x182A915B0")] public static EResult GetResultStatus(SteamInventoryResult_t resultHandle) { InteropHelp.TestIfAvailableClient(); IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory; EResult eresult; return eresult; } // Token: 0x06006DB6 RID: 28086 RVA: 0x001727C0 File Offset: 0x001709C0 [Token(Token = "0x6006DB6")] [Address(RVA = "0x2A914E0", Offset = "0x2A8FEE0", VA = "0x182A914E0")] public static bool GetResultItems(SteamInventoryResult_t resultHandle, SteamItemDetails_t[] pOutItemsArray, ref uint punOutItemsArraySize) { InteropHelp.TestIfAvailableClient(); if (pOutItemsArray != 0) { int length = pOutItemsArray.Length; } IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory; bool flag; return flag; } // Token: 0x06006DB7 RID: 28087 RVA: 0x001727F4 File Offset: 0x001709F4 [Token(Token = "0x6006DB7")] [Address(RVA = "0x2A91300", Offset = "0x2A8FD00", VA = "0x182A91300")] public static bool GetResultItemProperty(SteamInventoryResult_t resultHandle, uint unItemIndex, string pchPropertyName, out string pchValueBuffer, ref uint punValueBufferSizeOut) { int num; bool flag; do { num = 0; InteropHelp.TestIfAvailableClient(); InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchPropertyName); IntPtr intPtr = CSteamAPIContext.m_pSteamInventory; IntPtr intPtr2; if (flag) { intPtr = intPtr2; string text = InteropHelp.PtrToStringUTF8(intPtr); } intPtr.m_value = num; Marshal.FreeHGlobal(intPtr2); if (utf8StringHandle != 0) { } if (num != -1) { } } while (num != 0); return flag; } // Token: 0x06006DB8 RID: 28088 RVA: 0x00172848 File Offset: 0x00170A48 [Token(Token = "0x6006DB8")] [Address(RVA = "0x2A91600", Offset = "0x2A90000", VA = "0x182A91600")] public static uint GetResultTimestamp(SteamInventoryResult_t resultHandle) { InteropHelp.TestIfAvailableClient(); IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory; uint num; return num; } // Token: 0x06006DB9 RID: 28089 RVA: 0x00172864 File Offset: 0x00170A64 [Token(Token = "0x6006DB9")] [Address(RVA = "0x2A90980", Offset = "0x2A8F380", VA = "0x182A90980")] public static bool CheckResultSteamID(SteamInventoryResult_t resultHandle, CSteamID steamIDExpected) { InteropHelp.TestIfAvailableClient(); IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory; bool flag; return flag; } // Token: 0x06006DBA RID: 28090 RVA: 0x00172880 File Offset: 0x00170A80 [Token(Token = "0x6006DBA")] [Address(RVA = "0x2A90AF0", Offset = "0x2A8F4F0", VA = "0x182A90AF0")] public static void DestroyResult(SteamInventoryResult_t resultHandle) { InteropHelp.TestIfAvailableClient(); IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory; } // Token: 0x06006DBB RID: 28091 RVA: 0x0017289C File Offset: 0x00170A9C [Token(Token = "0x6006DBB")] [Address(RVA = "0x2A90C80", Offset = "0x2A8F680", VA = "0x182A90C80")] public static bool GetAllItems(out SteamInventoryResult_t pResultHandle) { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamInventory_GetAllItems(CSteamAPIContext.m_pSteamInventory, out pResultHandle); } // Token: 0x06006DBC RID: 28092 RVA: 0x001728BC File Offset: 0x00170ABC [Token(Token = "0x6006DBC")] [Address(RVA = "0x2A910C0", Offset = "0x2A8FAC0", VA = "0x182A910C0")] public static bool GetItemsByID(out SteamInventoryResult_t pResultHandle, SteamItemInstanceID_t[] pInstanceIDs, uint unCountInstanceIDs) { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamInventory_GetItemsByID(CSteamAPIContext.m_pSteamInventory, out pResultHandle, pInstanceIDs, unCountInstanceIDs); } // Token: 0x06006DBD RID: 28093 RVA: 0x001728E0 File Offset: 0x00170AE0 [Token(Token = "0x6006DBD")] [Address(RVA = "0x2A919C0", Offset = "0x2A903C0", VA = "0x182A919C0")] public static bool SerializeResult(SteamInventoryResult_t resultHandle, byte[] pOutBuffer, out uint punOutBufferSize) { InteropHelp.TestIfAvailableClient(); IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory; bool flag; return flag; } // Token: 0x06006DBE RID: 28094 RVA: 0x001728FC File Offset: 0x00170AFC [Token(Token = "0x6006DBE")] [Address(RVA = "0x2A90A60", Offset = "0x2A8F460", VA = "0x182A90A60")] public static bool DeserializeResult(out SteamInventoryResult_t pOutResultHandle, byte[] pBuffer, uint unBufferSize, bool bRESERVED_MUST_BE_FALSE = false) { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamInventory_DeserializeResult(CSteamAPIContext.m_pSteamInventory, out pOutResultHandle, pBuffer, unBufferSize, bRESERVED_MUST_BE_FALSE); } // Token: 0x06006DBF RID: 28095 RVA: 0x00172920 File Offset: 0x00170B20 [Token(Token = "0x6006DBF")] [Address(RVA = "0x2A90BF0", Offset = "0x2A8F5F0", VA = "0x182A90BF0")] public static bool GenerateItems(out SteamInventoryResult_t pResultHandle, SteamItemDef_t[] pArrayItemDefs, uint[] punArrayQuantity, uint unArrayLength) { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamInventory_GenerateItems(CSteamAPIContext.m_pSteamInventory, out pResultHandle, pArrayItemDefs, punArrayQuantity, unArrayLength); } // Token: 0x06006DC0 RID: 28096 RVA: 0x00172944 File Offset: 0x00170B44 [Token(Token = "0x6006DC0")] [Address(RVA = "0x2A91650", Offset = "0x2A90050", VA = "0x182A91650")] public static bool GrantPromoItems(out SteamInventoryResult_t pResultHandle) { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamInventory_GrantPromoItems(CSteamAPIContext.m_pSteamInventory, out pResultHandle); } // Token: 0x06006DC1 RID: 28097 RVA: 0x00172964 File Offset: 0x00170B64 [Token(Token = "0x6006DC1")] [Address(RVA = "0x2A908A0", Offset = "0x2A8F2A0", VA = "0x182A908A0")] public static bool AddPromoItem(out SteamInventoryResult_t pResultHandle, SteamItemDef_t itemDef) { InteropHelp.TestIfAvailableClient(); IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory; bool flag; return flag; } // Token: 0x06006DC2 RID: 28098 RVA: 0x00172980 File Offset: 0x00170B80 [Token(Token = "0x6006DC2")] [Address(RVA = "0x2A90900", Offset = "0x2A8F300", VA = "0x182A90900")] public static bool AddPromoItems(out SteamInventoryResult_t pResultHandle, SteamItemDef_t[] pArrayItemDefs, uint unArrayLength) { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamInventory_AddPromoItems(CSteamAPIContext.m_pSteamInventory, out pResultHandle, pArrayItemDefs, unArrayLength); } // Token: 0x06006DC3 RID: 28099 RVA: 0x001729A4 File Offset: 0x00170BA4 [Token(Token = "0x6006DC3")] [Address(RVA = "0x2A909E0", Offset = "0x2A8F3E0", VA = "0x182A909E0")] public static bool ConsumeItem(out SteamInventoryResult_t pResultHandle, SteamItemInstanceID_t itemConsume, uint unQuantity) { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamInventory_ConsumeItem(CSteamAPIContext.m_pSteamInventory, out pResultHandle, itemConsume, unQuantity); } // Token: 0x06006DC4 RID: 28100 RVA: 0x001729C8 File Offset: 0x00170BC8 [Token(Token = "0x6006DC4")] [Address(RVA = "0x2A90B40", Offset = "0x2A8F540", VA = "0x182A90B40")] public static bool ExchangeItems(out SteamInventoryResult_t pResultHandle, SteamItemDef_t[] pArrayGenerate, uint[] punArrayGenerateQuantity, uint unArrayGenerateLength, SteamItemInstanceID_t[] pArrayDestroy, uint[] punArrayDestroyQuantity, uint unArrayDestroyLength) { InteropHelp.TestIfAvailableClient(); IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory; bool flag; return flag; } // Token: 0x06006DC5 RID: 28101 RVA: 0x001729E4 File Offset: 0x00170BE4 [Token(Token = "0x6006DC5")] [Address(RVA = "0x2A922B0", Offset = "0x2A90CB0", VA = "0x182A922B0")] public static bool TransferItemQuantity(out SteamInventoryResult_t pResultHandle, SteamItemInstanceID_t itemIdSource, uint unQuantity, SteamItemInstanceID_t itemIdDest) { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamInventory_TransferItemQuantity(CSteamAPIContext.m_pSteamInventory, out pResultHandle, itemIdSource, unQuantity, itemIdDest); } // Token: 0x06006DC6 RID: 28102 RVA: 0x00172A08 File Offset: 0x00170C08 [Token(Token = "0x6006DC6")] [Address(RVA = "0x2A91970", Offset = "0x2A90370", VA = "0x182A91970")] public static void SendItemDropHeartbeat() { InteropHelp.TestIfAvailableClient(); NativeMethods.ISteamInventory_SendItemDropHeartbeat(CSteamAPIContext.m_pSteamInventory); } // Token: 0x06006DC7 RID: 28103 RVA: 0x00172A28 File Offset: 0x00170C28 [Token(Token = "0x6006DC7")] [Address(RVA = "0x2A92340", Offset = "0x2A90D40", VA = "0x182A92340")] public static bool TriggerItemDrop(out SteamInventoryResult_t pResultHandle, SteamItemDef_t dropListDefinition) { InteropHelp.TestIfAvailableClient(); IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory; bool flag; return flag; } // Token: 0x06006DC8 RID: 28104 RVA: 0x00172A44 File Offset: 0x00170C44 [Token(Token = "0x6006DC8")] [Address(RVA = "0x2A921F0", Offset = "0x2A90BF0", VA = "0x182A921F0")] public static bool TradeItems(out SteamInventoryResult_t pResultHandle, CSteamID steamIDTradePartner, SteamItemInstanceID_t[] pArrayGive, uint[] pArrayGiveQuantity, uint nArrayGiveLength, SteamItemInstanceID_t[] pArrayGet, uint[] pArrayGetQuantity, uint nArrayGetLength) { InteropHelp.TestIfAvailableClient(); IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory; bool flag; return flag; } // Token: 0x06006DC9 RID: 28105 RVA: 0x00172A60 File Offset: 0x00170C60 [Token(Token = "0x6006DC9")] [Address(RVA = "0x2A916A0", Offset = "0x2A900A0", VA = "0x182A916A0")] public static bool LoadItemDefinitions() { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamInventory_LoadItemDefinitions(CSteamAPIContext.m_pSteamInventory); } // Token: 0x06006DCA RID: 28106 RVA: 0x00172A80 File Offset: 0x00170C80 [Token(Token = "0x6006DCA")] [Address(RVA = "0x2A90DB0", Offset = "0x2A8F7B0", VA = "0x182A90DB0")] public static bool GetItemDefinitionIDs(SteamItemDef_t[] pItemDefIDs, ref uint punItemDefIDsArraySize) { InteropHelp.TestIfAvailableClient(); if (pItemDefIDs != 0) { int length = pItemDefIDs.Length; } return NativeMethods.ISteamInventory_GetItemDefinitionIDs(CSteamAPIContext.m_pSteamInventory, pItemDefIDs, ref punItemDefIDsArraySize); } // Token: 0x06006DCB RID: 28107 RVA: 0x00172AB8 File Offset: 0x00170CB8 [Token(Token = "0x6006DCB")] [Address(RVA = "0x2A90E70", Offset = "0x2A8F870", VA = "0x182A90E70")] public static bool GetItemDefinitionProperty(SteamItemDef_t iDefinition, string pchPropertyName, out string pchValueBuffer, ref uint punValueBufferSizeOut) { int num; bool flag; do { num = 0; InteropHelp.TestIfAvailableClient(); InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchPropertyName); IntPtr intPtr = CSteamAPIContext.m_pSteamInventory; IntPtr intPtr2; if (flag) { intPtr = intPtr2; string text = InteropHelp.PtrToStringUTF8(intPtr); } intPtr.m_value = num; Marshal.FreeHGlobal(intPtr2); if (utf8StringHandle != 0) { } if (num != -1) { } } while (num != 0); return flag; } // Token: 0x06006DCC RID: 28108 RVA: 0x00172B0C File Offset: 0x00170D0C [Token(Token = "0x6006DCC")] [Address(RVA = "0x2A91840", Offset = "0x2A90240", VA = "0x182A91840")] public static SteamAPICall_t RequestEligiblePromoItemDefinitionsIDs(CSteamID steamID) { /* An exception occurred when decompiling this method (06006DCC) ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamInventory::RequestEligiblePromoItemDefinitionsIDs(Steamworks.CSteamID) ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: call:void(InteropHelp::TestIfAvailableClient) stloc:TimeSpan(var_1_17, call:TimeSpan(TimeSpan::FromTicks, call:uint64[exp:int64](NativeMethods::ISteamInventory_RequestEligiblePromoItemDefinitionsIDs, ldsfld:native int(CSteamAPIContext::m_pSteamInventory), ldloc:CSteamID(steamID)))) } 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: 0x06006DCD RID: 28109 RVA: 0x00172B30 File Offset: 0x00170D30 [Token(Token = "0x6006DCD")] [Address(RVA = "0x2A90CD0", Offset = "0x2A8F6D0", VA = "0x182A90CD0")] public static bool GetEligiblePromoItemDefinitionIDs(CSteamID steamID, SteamItemDef_t[] pItemDefIDs, ref uint punItemDefIDsArraySize) { InteropHelp.TestIfAvailableClient(); if (pItemDefIDs != 0) { int length = pItemDefIDs.Length; } return NativeMethods.ISteamInventory_GetEligiblePromoItemDefinitionIDs(CSteamAPIContext.m_pSteamInventory, steamID, pItemDefIDs, ref punItemDefIDsArraySize); } // Token: 0x06006DCE RID: 28110 RVA: 0x00172B68 File Offset: 0x00170D68 [Token(Token = "0x6006DCE")] [Address(RVA = "0x2A92040", Offset = "0x2A90A40", VA = "0x182A92040")] public static SteamAPICall_t StartPurchase(SteamItemDef_t[] pArrayItemDefs, uint[] punArrayQuantity, uint unArrayLength) { /* An exception occurred when decompiling this method (06006DCE) ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamInventory::StartPurchase(Steamworks.SteamItemDef_t[],System.UInt32[],System.UInt32) ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: call:void(InteropHelp::TestIfAvailableClient) stloc:uint64(var_2_14, call:uint64(NativeMethods::ISteamInventory_StartPurchase, ldsfld:native int(CSteamAPIContext::m_pSteamInventory), ldloc:valuetype Steamworks.SteamItemDef_t[](pArrayItemDefs), ldloc:uint32[](punArrayQuantity), ldloc:uint32(unArrayLength))) } 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: 0x06006DCF RID: 28111 RVA: 0x00172B8C File Offset: 0x00170D8C [Token(Token = "0x6006DCF")] [Address(RVA = "0x2A918E0", Offset = "0x2A902E0", VA = "0x182A918E0")] public static SteamAPICall_t RequestPrices() { /* An exception occurred when decompiling this method (06006DCF) ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamAPICall_t Steamworks.SteamInventory::RequestPrices() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: call:void(InteropHelp::TestIfAvailableClient) stloc:TimeSpan(var_1_16, call:TimeSpan(TimeSpan::FromTicks, call:uint64[exp:int64](NativeMethods::ISteamInventory_RequestPrices, ldsfld:native int(CSteamAPIContext::m_pSteamInventory)))) } 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: 0x06006DD0 RID: 28112 RVA: 0x00172BB0 File Offset: 0x00170DB0 [Token(Token = "0x6006DD0")] [Address(RVA = "0x2A912B0", Offset = "0x2A8FCB0", VA = "0x182A912B0")] public static uint GetNumItemsWithPrices() { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamInventory_GetNumItemsWithPrices(CSteamAPIContext.m_pSteamInventory); } // Token: 0x06006DD1 RID: 28113 RVA: 0x00172BD0 File Offset: 0x00170DD0 [Token(Token = "0x6006DD1")] [Address(RVA = "0x2A91140", Offset = "0x2A8FB40", VA = "0x182A91140")] public static bool GetItemsWithPrices(SteamItemDef_t[] pArrayItemDefs, ulong[] pCurrentPrices, ulong[] pBasePrices, uint unArrayLength) { /* An exception occurred when decompiling this method (06006DD1) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Steamworks.SteamInventory::GetItemsWithPrices(Steamworks.SteamItemDef_t[],System.UInt64[],System.UInt64[],System.UInt32) ---> System.Exception: Basic block has to end with unconditional control flow. { IL_53: stloc:ArgumentException(var_4_5D, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("pBasePrices must be the same size as unArrayLength!"))) } 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: 0x06006DD2 RID: 28114 RVA: 0x00172C3C File Offset: 0x00170E3C [Token(Token = "0x6006DD2")] [Address(RVA = "0x2A91040", Offset = "0x2A8FA40", VA = "0x182A91040")] public static bool GetItemPrice(SteamItemDef_t iDefinition, out ulong pCurrentPrice, out ulong pBasePrice) { InteropHelp.TestIfAvailableClient(); IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory; bool flag; return flag; } // Token: 0x06006DD3 RID: 28115 RVA: 0x00172C58 File Offset: 0x00170E58 [Token(Token = "0x6006DD3")] [Address(RVA = "0x2A92100", Offset = "0x2A90B00", VA = "0x182A92100")] public static SteamInventoryUpdateHandle_t StartUpdateProperties() { /* An exception occurred when decompiling this method (06006DD3) ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.SteamInventoryUpdateHandle_t Steamworks.SteamInventory::StartUpdateProperties() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: call:void(InteropHelp::TestIfAvailableClient) stloc:uint64(var_1_11, call:uint64(NativeMethods::ISteamInventory_StartUpdateProperties, ldsfld:native int(CSteamAPIContext::m_pSteamInventory))) } 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: 0x06006DD4 RID: 28116 RVA: 0x00172C78 File Offset: 0x00170E78 [Token(Token = "0x6006DD4")] [Address(RVA = "0x2A916F0", Offset = "0x2A900F0", VA = "0x182A916F0")] public static bool RemoveProperty(SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, string pchPropertyName) { int num; bool flag; do { num = 0; InteropHelp.TestIfAvailableClient(); InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchPropertyName); flag = NativeMethods.ISteamInventory_RemoveProperty(CSteamAPIContext.m_pSteamInventory, handle, nItemID, utf8StringHandle); if (utf8StringHandle != 0) { } if (num != -1) { } } while (num != 0); return flag; } // Token: 0x06006DD5 RID: 28117 RVA: 0x00172CB0 File Offset: 0x00170EB0 [Token(Token = "0x6006DD5")] [Address(RVA = "0x2A91A40", Offset = "0x2A90440", VA = "0x182A91A40")] public static bool SetProperty(SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, string pchPropertyName, string pchPropertyValue) { /* An exception occurred when decompiling this method (06006DD5) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Steamworks.SteamInventory::SetProperty(Steamworks.SteamInventoryUpdateHandle_t,Steamworks.SteamItemInstanceID_t,System.String,System.String) ---> System.Exception: Basic block has to end with unconditional control flow. { IL_3B: 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: 0x06006DD6 RID: 28118 RVA: 0x00172CFC File Offset: 0x00170EFC [Token(Token = "0x6006DD6")] [Address(RVA = "0x2A91EE0", Offset = "0x2A908E0", VA = "0x182A91EE0")] public static bool SetProperty(SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, string pchPropertyName, bool bValue) { int num; bool flag; do { num = 0; InteropHelp.TestIfAvailableClient(); InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchPropertyName); flag = NativeMethods.ISteamInventory_SetPropertyBool(CSteamAPIContext.m_pSteamInventory, handle, nItemID, utf8StringHandle, bValue); if (utf8StringHandle != 0) { } if (num != -1) { } } while (num != 0); return flag; } // Token: 0x06006DD7 RID: 28119 RVA: 0x00172D38 File Offset: 0x00170F38 [Token(Token = "0x6006DD7")] [Address(RVA = "0x2A91C10", Offset = "0x2A90610", VA = "0x182A91C10")] public static bool SetProperty(SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, string pchPropertyName, long nValue) { int num; bool flag; do { num = 0; InteropHelp.TestIfAvailableClient(); InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchPropertyName); flag = NativeMethods.ISteamInventory_SetPropertyInt64(CSteamAPIContext.m_pSteamInventory, handle, nItemID, utf8StringHandle, nValue); if (utf8StringHandle != 0) { } if (num != -1) { } } while (num != 0); return flag; } // Token: 0x06006DD8 RID: 28120 RVA: 0x00172D74 File Offset: 0x00170F74 [Token(Token = "0x6006DD8")] [Address(RVA = "0x2A91D70", Offset = "0x2A90770", VA = "0x182A91D70")] public static bool SetProperty(SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, string pchPropertyName, float flValue) { int num; bool flag; do { num = 0; InteropHelp.TestIfAvailableClient(); InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchPropertyName); flag = NativeMethods.ISteamInventory_SetPropertyFloat(CSteamAPIContext.m_pSteamInventory, handle, nItemID, utf8StringHandle, flValue); if (utf8StringHandle != 0) { } if (num != -1) { } } while (num != 0); return flag; } // Token: 0x06006DD9 RID: 28121 RVA: 0x00172DB0 File Offset: 0x00170FB0 [Token(Token = "0x6006DD9")] [Address(RVA = "0x2A92190", Offset = "0x2A90B90", VA = "0x182A92190")] public static bool SubmitUpdateProperties(SteamInventoryUpdateHandle_t handle, out SteamInventoryResult_t pResultHandle) { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamInventory_SubmitUpdateProperties(CSteamAPIContext.m_pSteamInventory, handle, out pResultHandle); } } }