using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace Steamworks { // Token: 0x02001821 RID: 6177 [Token(Token = "0x2001821")] public static class SteamInventory { // Token: 0x06008D2E RID: 36142 RVA: 0x001D3E2C File Offset: 0x001D202C [Token(Token = "0x6008D2E")] [Address(RVA = "0x1A912F0", Offset = "0x1A900F0", VA = "0x181A912F0")] public static EResult GetResultStatus(SteamInventoryResult_t resultHandle) { InteropHelp.TestIfAvailableClient(); IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory; EResult eresult; return eresult; } // Token: 0x06008D2F RID: 36143 RVA: 0x001D3E48 File Offset: 0x001D2048 [Token(Token = "0x6008D2F")] [Address(RVA = "0x1A91220", Offset = "0x1A90020", VA = "0x181A91220")] 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: 0x06008D30 RID: 36144 RVA: 0x001D3E7C File Offset: 0x001D207C [Token(Token = "0x6008D30")] [Address(RVA = "0x1A91070", Offset = "0x1A8FE70", VA = "0x181A91070")] 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); } Marshal.FreeHGlobal(intPtr2); if (utf8StringHandle != 0) { } } while (num != 0); return flag; } // Token: 0x06008D31 RID: 36145 RVA: 0x001D3EC4 File Offset: 0x001D20C4 [Token(Token = "0x6008D31")] [Address(RVA = "0x1A91340", Offset = "0x1A90140", VA = "0x181A91340")] public static uint GetResultTimestamp(SteamInventoryResult_t resultHandle) { InteropHelp.TestIfAvailableClient(); IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory; uint num; return num; } // Token: 0x06008D32 RID: 36146 RVA: 0x001D3EE0 File Offset: 0x001D20E0 [Token(Token = "0x6008D32")] [Address(RVA = "0x1A90720", Offset = "0x1A8F520", VA = "0x181A90720")] public static bool CheckResultSteamID(SteamInventoryResult_t resultHandle, CSteamID steamIDExpected) { InteropHelp.TestIfAvailableClient(); IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory; bool flag; return flag; } // Token: 0x06008D33 RID: 36147 RVA: 0x001D3EFC File Offset: 0x001D20FC [Token(Token = "0x6008D33")] [Address(RVA = "0x1A90890", Offset = "0x1A8F690", VA = "0x181A90890")] public static void DestroyResult(SteamInventoryResult_t resultHandle) { InteropHelp.TestIfAvailableClient(); IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory; } // Token: 0x06008D34 RID: 36148 RVA: 0x001D3F18 File Offset: 0x001D2118 [Token(Token = "0x6008D34")] [Address(RVA = "0x1A90A20", Offset = "0x1A8F820", VA = "0x181A90A20")] public static bool GetAllItems(out SteamInventoryResult_t pResultHandle) { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamInventory_GetAllItems(CSteamAPIContext.m_pSteamInventory, out pResultHandle); } // Token: 0x06008D35 RID: 36149 RVA: 0x001D3F38 File Offset: 0x001D2138 [Token(Token = "0x6008D35")] [Address(RVA = "0x1A90E30", Offset = "0x1A8FC30", VA = "0x181A90E30")] 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: 0x06008D36 RID: 36150 RVA: 0x001D3F5C File Offset: 0x001D215C [Token(Token = "0x6008D36")] [Address(RVA = "0x1A916E0", Offset = "0x1A904E0", VA = "0x181A916E0")] public static bool SerializeResult(SteamInventoryResult_t resultHandle, byte[] pOutBuffer, out uint punOutBufferSize) { InteropHelp.TestIfAvailableClient(); IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory; bool flag; return flag; } // Token: 0x06008D37 RID: 36151 RVA: 0x001D3F78 File Offset: 0x001D2178 [Token(Token = "0x6008D37")] [Address(RVA = "0x1A90800", Offset = "0x1A8F600", VA = "0x181A90800")] 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: 0x06008D38 RID: 36152 RVA: 0x001D3F9C File Offset: 0x001D219C [Token(Token = "0x6008D38")] [Address(RVA = "0x1A90990", Offset = "0x1A8F790", VA = "0x181A90990")] 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: 0x06008D39 RID: 36153 RVA: 0x001D3FC0 File Offset: 0x001D21C0 [Token(Token = "0x6008D39")] [Address(RVA = "0x1A91390", Offset = "0x1A90190", VA = "0x181A91390")] public static bool GrantPromoItems(out SteamInventoryResult_t pResultHandle) { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamInventory_GrantPromoItems(CSteamAPIContext.m_pSteamInventory, out pResultHandle); } // Token: 0x06008D3A RID: 36154 RVA: 0x001D3FE0 File Offset: 0x001D21E0 [Token(Token = "0x6008D3A")] [Address(RVA = "0x1A90640", Offset = "0x1A8F440", VA = "0x181A90640")] public static bool AddPromoItem(out SteamInventoryResult_t pResultHandle, SteamItemDef_t itemDef) { InteropHelp.TestIfAvailableClient(); IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory; bool flag; return flag; } // Token: 0x06008D3B RID: 36155 RVA: 0x001D3FFC File Offset: 0x001D21FC [Token(Token = "0x6008D3B")] [Address(RVA = "0x1A906A0", Offset = "0x1A8F4A0", VA = "0x181A906A0")] 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: 0x06008D3C RID: 36156 RVA: 0x001D4020 File Offset: 0x001D2220 [Token(Token = "0x6008D3C")] [Address(RVA = "0x1A90780", Offset = "0x1A8F580", VA = "0x181A90780")] 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: 0x06008D3D RID: 36157 RVA: 0x001D4044 File Offset: 0x001D2244 [Token(Token = "0x6008D3D")] [Address(RVA = "0x1A908E0", Offset = "0x1A8F6E0", VA = "0x181A908E0")] 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: 0x06008D3E RID: 36158 RVA: 0x001D4060 File Offset: 0x001D2260 [Token(Token = "0x6008D3E")] [Address(RVA = "0x1A91F50", Offset = "0x1A90D50", VA = "0x181A91F50")] 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: 0x06008D3F RID: 36159 RVA: 0x001D4084 File Offset: 0x001D2284 [Token(Token = "0x6008D3F")] [Address(RVA = "0x1A91690", Offset = "0x1A90490", VA = "0x181A91690")] public static void SendItemDropHeartbeat() { InteropHelp.TestIfAvailableClient(); NativeMethods.ISteamInventory_SendItemDropHeartbeat(CSteamAPIContext.m_pSteamInventory); } // Token: 0x06008D40 RID: 36160 RVA: 0x001D40A4 File Offset: 0x001D22A4 [Token(Token = "0x6008D40")] [Address(RVA = "0x1A91FE0", Offset = "0x1A90DE0", VA = "0x181A91FE0")] public static bool TriggerItemDrop(out SteamInventoryResult_t pResultHandle, SteamItemDef_t dropListDefinition) { InteropHelp.TestIfAvailableClient(); IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory; bool flag; return flag; } // Token: 0x06008D41 RID: 36161 RVA: 0x001D40C0 File Offset: 0x001D22C0 [Token(Token = "0x6008D41")] [Address(RVA = "0x1A91E90", Offset = "0x1A90C90", VA = "0x181A91E90")] 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: 0x06008D42 RID: 36162 RVA: 0x001D40DC File Offset: 0x001D22DC [Token(Token = "0x6008D42")] [Address(RVA = "0x1A913E0", Offset = "0x1A901E0", VA = "0x181A913E0")] public static bool LoadItemDefinitions() { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamInventory_LoadItemDefinitions(CSteamAPIContext.m_pSteamInventory); } // Token: 0x06008D43 RID: 36163 RVA: 0x001D40FC File Offset: 0x001D22FC [Token(Token = "0x6008D43")] [Address(RVA = "0x1A90B50", Offset = "0x1A8F950", VA = "0x181A90B50")] 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: 0x06008D44 RID: 36164 RVA: 0x001D4134 File Offset: 0x001D2334 [Token(Token = "0x6008D44")] [Address(RVA = "0x1A90C10", Offset = "0x1A8FA10", VA = "0x181A90C10")] 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) { } } while (num != 0); return flag; } // Token: 0x06008D45 RID: 36165 RVA: 0x001D4184 File Offset: 0x001D2384 [Token(Token = "0x6008D45")] [Address(RVA = "0x1A91560", Offset = "0x1A90360", VA = "0x181A91560")] public static SteamAPICall_t RequestEligiblePromoItemDefinitionsIDs(CSteamID steamID) { /* An exception occurred when decompiling this method (06008D45) 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: 0x06008D46 RID: 36166 RVA: 0x001D41A8 File Offset: 0x001D23A8 [Token(Token = "0x6008D46")] [Address(RVA = "0x1A90A70", Offset = "0x1A8F870", VA = "0x181A90A70")] 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: 0x06008D47 RID: 36167 RVA: 0x001D41E0 File Offset: 0x001D23E0 [Token(Token = "0x6008D47")] [Address(RVA = "0x1A91CE0", Offset = "0x1A90AE0", VA = "0x181A91CE0")] public static SteamAPICall_t StartPurchase(SteamItemDef_t[] pArrayItemDefs, uint[] punArrayQuantity, uint unArrayLength) { /* An exception occurred when decompiling this method (06008D47) 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: 0x06008D48 RID: 36168 RVA: 0x001D4204 File Offset: 0x001D2404 [Token(Token = "0x6008D48")] [Address(RVA = "0x1A91600", Offset = "0x1A90400", VA = "0x181A91600")] public static SteamAPICall_t RequestPrices() { /* An exception occurred when decompiling this method (06008D48) 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: 0x06008D49 RID: 36169 RVA: 0x001D4228 File Offset: 0x001D2428 [Token(Token = "0x6008D49")] [Address(RVA = "0x1A91020", Offset = "0x1A8FE20", VA = "0x181A91020")] public static uint GetNumItemsWithPrices() { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamInventory_GetNumItemsWithPrices(CSteamAPIContext.m_pSteamInventory); } // Token: 0x06008D4A RID: 36170 RVA: 0x001D4248 File Offset: 0x001D2448 [Token(Token = "0x6008D4A")] [Address(RVA = "0x1A90EB0", Offset = "0x1A8FCB0", VA = "0x181A90EB0")] public static bool GetItemsWithPrices(SteamItemDef_t[] pArrayItemDefs, ulong[] pCurrentPrices, ulong[] pBasePrices, uint unArrayLength) { /* An exception occurred when decompiling this method (06008D4A) 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: 0x06008D4B RID: 36171 RVA: 0x001D42B4 File Offset: 0x001D24B4 [Token(Token = "0x6008D4B")] [Address(RVA = "0x1A90DB0", Offset = "0x1A8FBB0", VA = "0x181A90DB0")] 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: 0x06008D4C RID: 36172 RVA: 0x001D42D0 File Offset: 0x001D24D0 [Token(Token = "0x6008D4C")] [Address(RVA = "0x1A91DA0", Offset = "0x1A90BA0", VA = "0x181A91DA0")] public static SteamInventoryUpdateHandle_t StartUpdateProperties() { /* An exception occurred when decompiling this method (06008D4C) 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: 0x06008D4D RID: 36173 RVA: 0x001D42F0 File Offset: 0x001D24F0 [Token(Token = "0x6008D4D")] [Address(RVA = "0x1A91430", Offset = "0x1A90230", VA = "0x181A91430")] 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) { } } while (num != 0); return flag; } // Token: 0x06008D4E RID: 36174 RVA: 0x001D4324 File Offset: 0x001D2524 [Token(Token = "0x6008D4E")] [Address(RVA = "0x1A91760", Offset = "0x1A90560", VA = "0x181A91760")] public static bool SetProperty(SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, string pchPropertyName, string pchPropertyValue) { /* An exception occurred when decompiling this method (06008D4E) 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_37: 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: 0x06008D4F RID: 36175 RVA: 0x001D436C File Offset: 0x001D256C [Token(Token = "0x6008D4F")] [Address(RVA = "0x1A91BA0", Offset = "0x1A909A0", VA = "0x181A91BA0")] 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) { } } while (num != 0); return flag; } // Token: 0x06008D50 RID: 36176 RVA: 0x001D43A4 File Offset: 0x001D25A4 [Token(Token = "0x6008D50")] [Address(RVA = "0x1A91920", Offset = "0x1A90720", VA = "0x181A91920")] 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) { } } while (num != 0); return flag; } // Token: 0x06008D51 RID: 36177 RVA: 0x001D43DC File Offset: 0x001D25DC [Token(Token = "0x6008D51")] [Address(RVA = "0x1A91A60", Offset = "0x1A90860", VA = "0x181A91A60")] 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) { } } while (num != 0); return flag; } // Token: 0x06008D52 RID: 36178 RVA: 0x001D4414 File Offset: 0x001D2614 [Token(Token = "0x6008D52")] [Address(RVA = "0x1A91E30", Offset = "0x1A90C30", VA = "0x181A91E30")] public static bool SubmitUpdateProperties(SteamInventoryUpdateHandle_t handle, out SteamInventoryResult_t pResultHandle) { InteropHelp.TestIfAvailableClient(); return NativeMethods.ISteamInventory_SubmitUpdateProperties(CSteamAPIContext.m_pSteamInventory, handle, out pResultHandle); } } }