576 lines
34 KiB
C#
576 lines
34 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace Steamworks
|
|
{
|
|
// Token: 0x02001901 RID: 6401
|
|
[Token(Token = "0x2001901")]
|
|
public static class SteamInventory
|
|
{
|
|
// Token: 0x060090FC RID: 37116 RVA: 0x001DCF24 File Offset: 0x001DB124
|
|
[Token(Token = "0x60090FC")]
|
|
[Address(RVA = "0x593F20", Offset = "0x592F20", VA = "0x180593F20")]
|
|
public static EResult GetResultStatus(SteamInventoryResult_t resultHandle)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory;
|
|
EResult eresult;
|
|
return eresult;
|
|
}
|
|
|
|
// Token: 0x060090FD RID: 37117 RVA: 0x001DCF40 File Offset: 0x001DB140
|
|
[Token(Token = "0x60090FD")]
|
|
[Address(RVA = "0x593E50", Offset = "0x592E50", VA = "0x180593E50")]
|
|
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: 0x060090FE RID: 37118 RVA: 0x001DCF74 File Offset: 0x001DB174
|
|
[Token(Token = "0x60090FE")]
|
|
[Address(RVA = "0x593CA0", Offset = "0x592CA0", VA = "0x180593CA0")]
|
|
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: 0x060090FF RID: 37119 RVA: 0x001DCFBC File Offset: 0x001DB1BC
|
|
[Token(Token = "0x60090FF")]
|
|
[Address(RVA = "0x593F70", Offset = "0x592F70", VA = "0x180593F70")]
|
|
public static uint GetResultTimestamp(SteamInventoryResult_t resultHandle)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory;
|
|
uint num;
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06009100 RID: 37120 RVA: 0x001DCFD8 File Offset: 0x001DB1D8
|
|
[Token(Token = "0x6009100")]
|
|
[Address(RVA = "0x593350", Offset = "0x592350", VA = "0x180593350")]
|
|
public static bool CheckResultSteamID(SteamInventoryResult_t resultHandle, CSteamID steamIDExpected)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06009101 RID: 37121 RVA: 0x001DCFF4 File Offset: 0x001DB1F4
|
|
[Token(Token = "0x6009101")]
|
|
[Address(RVA = "0x5934C0", Offset = "0x5924C0", VA = "0x1805934C0")]
|
|
public static void DestroyResult(SteamInventoryResult_t resultHandle)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory;
|
|
}
|
|
|
|
// Token: 0x06009102 RID: 37122 RVA: 0x001DD010 File Offset: 0x001DB210
|
|
[Token(Token = "0x6009102")]
|
|
[Address(RVA = "0x593650", Offset = "0x592650", VA = "0x180593650")]
|
|
public static bool GetAllItems(out SteamInventoryResult_t pResultHandle)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamInventory_GetAllItems(CSteamAPIContext.m_pSteamInventory, out pResultHandle);
|
|
}
|
|
|
|
// Token: 0x06009103 RID: 37123 RVA: 0x001DD030 File Offset: 0x001DB230
|
|
[Token(Token = "0x6009103")]
|
|
[Address(RVA = "0x593A60", Offset = "0x592A60", VA = "0x180593A60")]
|
|
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: 0x06009104 RID: 37124 RVA: 0x001DD054 File Offset: 0x001DB254
|
|
[Token(Token = "0x6009104")]
|
|
[Address(RVA = "0x594310", Offset = "0x593310", VA = "0x180594310")]
|
|
public static bool SerializeResult(SteamInventoryResult_t resultHandle, byte[] pOutBuffer, out uint punOutBufferSize)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06009105 RID: 37125 RVA: 0x001DD070 File Offset: 0x001DB270
|
|
[Token(Token = "0x6009105")]
|
|
[Address(RVA = "0x593430", Offset = "0x592430", VA = "0x180593430")]
|
|
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: 0x06009106 RID: 37126 RVA: 0x001DD094 File Offset: 0x001DB294
|
|
[Token(Token = "0x6009106")]
|
|
[Address(RVA = "0x5935C0", Offset = "0x5925C0", VA = "0x1805935C0")]
|
|
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: 0x06009107 RID: 37127 RVA: 0x001DD0B8 File Offset: 0x001DB2B8
|
|
[Token(Token = "0x6009107")]
|
|
[Address(RVA = "0x593FC0", Offset = "0x592FC0", VA = "0x180593FC0")]
|
|
public static bool GrantPromoItems(out SteamInventoryResult_t pResultHandle)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamInventory_GrantPromoItems(CSteamAPIContext.m_pSteamInventory, out pResultHandle);
|
|
}
|
|
|
|
// Token: 0x06009108 RID: 37128 RVA: 0x001DD0D8 File Offset: 0x001DB2D8
|
|
[Token(Token = "0x6009108")]
|
|
[Address(RVA = "0x593270", Offset = "0x592270", VA = "0x180593270")]
|
|
public static bool AddPromoItem(out SteamInventoryResult_t pResultHandle, SteamItemDef_t itemDef)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06009109 RID: 37129 RVA: 0x001DD0F4 File Offset: 0x001DB2F4
|
|
[Token(Token = "0x6009109")]
|
|
[Address(RVA = "0x5932D0", Offset = "0x5922D0", VA = "0x1805932D0")]
|
|
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: 0x0600910A RID: 37130 RVA: 0x001DD118 File Offset: 0x001DB318
|
|
[Token(Token = "0x600910A")]
|
|
[Address(RVA = "0x5933B0", Offset = "0x5923B0", VA = "0x1805933B0")]
|
|
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: 0x0600910B RID: 37131 RVA: 0x001DD13C File Offset: 0x001DB33C
|
|
[Token(Token = "0x600910B")]
|
|
[Address(RVA = "0x593510", Offset = "0x592510", VA = "0x180593510")]
|
|
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: 0x0600910C RID: 37132 RVA: 0x001DD158 File Offset: 0x001DB358
|
|
[Token(Token = "0x600910C")]
|
|
[Address(RVA = "0x594B80", Offset = "0x593B80", VA = "0x180594B80")]
|
|
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: 0x0600910D RID: 37133 RVA: 0x001DD17C File Offset: 0x001DB37C
|
|
[Token(Token = "0x600910D")]
|
|
[Address(RVA = "0x5942C0", Offset = "0x5932C0", VA = "0x1805942C0")]
|
|
public static void SendItemDropHeartbeat()
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
NativeMethods.ISteamInventory_SendItemDropHeartbeat(CSteamAPIContext.m_pSteamInventory);
|
|
}
|
|
|
|
// Token: 0x0600910E RID: 37134 RVA: 0x001DD19C File Offset: 0x001DB39C
|
|
[Token(Token = "0x600910E")]
|
|
[Address(RVA = "0x594C10", Offset = "0x593C10", VA = "0x180594C10")]
|
|
public static bool TriggerItemDrop(out SteamInventoryResult_t pResultHandle, SteamItemDef_t dropListDefinition)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
IntPtr pSteamInventory = CSteamAPIContext.m_pSteamInventory;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x0600910F RID: 37135 RVA: 0x001DD1B8 File Offset: 0x001DB3B8
|
|
[Token(Token = "0x600910F")]
|
|
[Address(RVA = "0x594AC0", Offset = "0x593AC0", VA = "0x180594AC0")]
|
|
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: 0x06009110 RID: 37136 RVA: 0x001DD1D4 File Offset: 0x001DB3D4
|
|
[Token(Token = "0x6009110")]
|
|
[Address(RVA = "0x594010", Offset = "0x593010", VA = "0x180594010")]
|
|
public static bool LoadItemDefinitions()
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamInventory_LoadItemDefinitions(CSteamAPIContext.m_pSteamInventory);
|
|
}
|
|
|
|
// Token: 0x06009111 RID: 37137 RVA: 0x001DD1F4 File Offset: 0x001DB3F4
|
|
[Token(Token = "0x6009111")]
|
|
[Address(RVA = "0x593780", Offset = "0x592780", VA = "0x180593780")]
|
|
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: 0x06009112 RID: 37138 RVA: 0x001DD22C File Offset: 0x001DB42C
|
|
[Token(Token = "0x6009112")]
|
|
[Address(RVA = "0x593840", Offset = "0x592840", VA = "0x180593840")]
|
|
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: 0x06009113 RID: 37139 RVA: 0x001DD27C File Offset: 0x001DB47C
|
|
[Token(Token = "0x6009113")]
|
|
[Address(RVA = "0x594190", Offset = "0x593190", VA = "0x180594190")]
|
|
public static SteamAPICall_t RequestEligiblePromoItemDefinitionsIDs(CSteamID steamID)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06009113)
|
|
|
|
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: 0x06009114 RID: 37140 RVA: 0x001DD2A0 File Offset: 0x001DB4A0
|
|
[Token(Token = "0x6009114")]
|
|
[Address(RVA = "0x5936A0", Offset = "0x5926A0", VA = "0x1805936A0")]
|
|
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: 0x06009115 RID: 37141 RVA: 0x001DD2D8 File Offset: 0x001DB4D8
|
|
[Token(Token = "0x6009115")]
|
|
[Address(RVA = "0x594910", Offset = "0x593910", VA = "0x180594910")]
|
|
public static SteamAPICall_t StartPurchase(SteamItemDef_t[] pArrayItemDefs, uint[] punArrayQuantity, uint unArrayLength)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06009115)
|
|
|
|
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: 0x06009116 RID: 37142 RVA: 0x001DD2FC File Offset: 0x001DB4FC
|
|
[Token(Token = "0x6009116")]
|
|
[Address(RVA = "0x594230", Offset = "0x593230", VA = "0x180594230")]
|
|
public static SteamAPICall_t RequestPrices()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06009116)
|
|
|
|
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: 0x06009117 RID: 37143 RVA: 0x001DD320 File Offset: 0x001DB520
|
|
[Token(Token = "0x6009117")]
|
|
[Address(RVA = "0x593C50", Offset = "0x592C50", VA = "0x180593C50")]
|
|
public static uint GetNumItemsWithPrices()
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamInventory_GetNumItemsWithPrices(CSteamAPIContext.m_pSteamInventory);
|
|
}
|
|
|
|
// Token: 0x06009118 RID: 37144 RVA: 0x001DD340 File Offset: 0x001DB540
|
|
[Token(Token = "0x6009118")]
|
|
[Address(RVA = "0x593AE0", Offset = "0x592AE0", VA = "0x180593AE0")]
|
|
public static bool GetItemsWithPrices(SteamItemDef_t[] pArrayItemDefs, ulong[] pCurrentPrices, ulong[] pBasePrices, uint unArrayLength)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06009118)
|
|
|
|
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: 0x06009119 RID: 37145 RVA: 0x001DD3AC File Offset: 0x001DB5AC
|
|
[Token(Token = "0x6009119")]
|
|
[Address(RVA = "0x5939E0", Offset = "0x5929E0", VA = "0x1805939E0")]
|
|
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: 0x0600911A RID: 37146 RVA: 0x001DD3C8 File Offset: 0x001DB5C8
|
|
[Token(Token = "0x600911A")]
|
|
[Address(RVA = "0x5949D0", Offset = "0x5939D0", VA = "0x1805949D0")]
|
|
public static SteamInventoryUpdateHandle_t StartUpdateProperties()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600911A)
|
|
|
|
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: 0x0600911B RID: 37147 RVA: 0x001DD3E8 File Offset: 0x001DB5E8
|
|
[Token(Token = "0x600911B")]
|
|
[Address(RVA = "0x594060", Offset = "0x593060", VA = "0x180594060")]
|
|
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: 0x0600911C RID: 37148 RVA: 0x001DD41C File Offset: 0x001DB61C
|
|
[Token(Token = "0x600911C")]
|
|
[Address(RVA = "0x594390", Offset = "0x593390", VA = "0x180594390")]
|
|
public static bool SetProperty(SteamInventoryUpdateHandle_t handle, SteamItemInstanceID_t nItemID, string pchPropertyName, string pchPropertyValue)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600911C)
|
|
|
|
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: 0x0600911D RID: 37149 RVA: 0x001DD464 File Offset: 0x001DB664
|
|
[Token(Token = "0x600911D")]
|
|
[Address(RVA = "0x5947D0", Offset = "0x5937D0", VA = "0x1805947D0")]
|
|
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: 0x0600911E RID: 37150 RVA: 0x001DD49C File Offset: 0x001DB69C
|
|
[Token(Token = "0x600911E")]
|
|
[Address(RVA = "0x594550", Offset = "0x593550", VA = "0x180594550")]
|
|
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: 0x0600911F RID: 37151 RVA: 0x001DD4D4 File Offset: 0x001DB6D4
|
|
[Token(Token = "0x600911F")]
|
|
[Address(RVA = "0x594690", Offset = "0x593690", VA = "0x180594690")]
|
|
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: 0x06009120 RID: 37152 RVA: 0x001DD50C File Offset: 0x001DB70C
|
|
[Token(Token = "0x6009120")]
|
|
[Address(RVA = "0x594A60", Offset = "0x593A60", VA = "0x180594A60")]
|
|
public static bool SubmitUpdateProperties(SteamInventoryUpdateHandle_t handle, out SteamInventoryResult_t pResultHandle)
|
|
{
|
|
InteropHelp.TestIfAvailableClient();
|
|
return NativeMethods.ISteamInventory_SubmitUpdateProperties(CSteamAPIContext.m_pSteamInventory, handle, out pResultHandle);
|
|
}
|
|
}
|
|
}
|