Files
Jan2021-Cpp2Il-Dump/Assembly-CSharp/Steamworks/SteamHTTP.cs
T
2026-04-08 23:40:05 +02:00

440 lines
28 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace Steamworks
{
// Token: 0x02001200 RID: 4608
[Token(Token = "0x2001200")]
[StructLayout(3)]
public static class SteamHTTP
{
// Token: 0x06006D79 RID: 28025 RVA: 0x00171EB4 File Offset: 0x001700B4
[Token(Token = "0x6006D79")]
[Address(RVA = "0x2A8DD70", Offset = "0x2A8C770", VA = "0x182A8DD70")]
public static HTTPRequestHandle CreateHTTPRequest(EHTTPMethod eHTTPRequestMethod, string pchAbsoluteURL)
{
/*
An exception occurred when decompiling this method (06006D79)
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.HTTPRequestHandle Steamworks.SteamHTTP::CreateHTTPRequest(Steamworks.EHTTPMethod,System.String)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_1E:
brtrue(IL_00, cne:bool(ldloc:int32(var_0_01), ldc.i4:int32(0)))
}
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
--- End of inner exception stack trace ---
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
*/;
}
// Token: 0x06006D7A RID: 28026 RVA: 0x00171EE4 File Offset: 0x001700E4
[Token(Token = "0x6006D7A")]
[Address(RVA = "0x2A8E860", Offset = "0x2A8D260", VA = "0x182A8E860")]
public static bool SetHTTPRequestContextValue(HTTPRequestHandle hRequest, ulong ulContextValue)
{
InteropHelp.TestIfAvailableClient();
IntPtr pSteamHTTP = CSteamAPIContext.m_pSteamHTTP;
bool flag;
return flag;
}
// Token: 0x06006D7B RID: 28027 RVA: 0x00171F00 File Offset: 0x00170100
[Token(Token = "0x6006D7B")]
[Address(RVA = "0x2A8ECA0", Offset = "0x2A8D6A0", VA = "0x182A8ECA0")]
public static bool SetHTTPRequestNetworkActivityTimeout(HTTPRequestHandle hRequest, uint unTimeoutSeconds)
{
InteropHelp.TestIfAvailableClient();
IntPtr pSteamHTTP = CSteamAPIContext.m_pSteamHTTP;
bool flag;
return flag;
}
// Token: 0x06006D7C RID: 28028 RVA: 0x00171F1C File Offset: 0x0017011C
[Token(Token = "0x6006D7C")]
[Address(RVA = "0x2A8EAE0", Offset = "0x2A8D4E0", VA = "0x182A8EAE0")]
public static bool SetHTTPRequestHeaderValue(HTTPRequestHandle hRequest, string pchHeaderName, string pchHeaderValue)
{
/*
An exception occurred when decompiling this method (06006D7C)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Steamworks.SteamHTTP::SetHTTPRequestHeaderValue(Steamworks.HTTPRequestHandle,System.String,System.String)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_32:
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: 0x06006D7D RID: 28029 RVA: 0x00171F60 File Offset: 0x00170160
[Token(Token = "0x6006D7D")]
[Address(RVA = "0x2A8E920", Offset = "0x2A8D320", VA = "0x182A8E920")]
public static bool SetHTTPRequestGetOrPostParameter(HTTPRequestHandle hRequest, string pchParamName, string pchParamValue)
{
/*
An exception occurred when decompiling this method (06006D7D)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Steamworks.SteamHTTP::SetHTTPRequestGetOrPostParameter(Steamworks.HTTPRequestHandle,System.String,System.String)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_32:
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: 0x06006D7E RID: 28030 RVA: 0x00171FA4 File Offset: 0x001701A4
[Token(Token = "0x6006D7E")]
[Address(RVA = "0x2A8E550", Offset = "0x2A8CF50", VA = "0x182A8E550")]
public static bool SendHTTPRequest(HTTPRequestHandle hRequest, out SteamAPICall_t pCallHandle)
{
InteropHelp.TestIfAvailableClient();
IntPtr pSteamHTTP = CSteamAPIContext.m_pSteamHTTP;
bool flag;
return flag;
}
// Token: 0x06006D7F RID: 28031 RVA: 0x00171FC0 File Offset: 0x001701C0
[Token(Token = "0x6006D7F")]
[Address(RVA = "0x2A8E4F0", Offset = "0x2A8CEF0", VA = "0x182A8E4F0")]
public static bool SendHTTPRequestAndStreamResponse(HTTPRequestHandle hRequest, out SteamAPICall_t pCallHandle)
{
InteropHelp.TestIfAvailableClient();
IntPtr pSteamHTTP = CSteamAPIContext.m_pSteamHTTP;
bool flag;
return flag;
}
// Token: 0x06006D80 RID: 28032 RVA: 0x00171FDC File Offset: 0x001701DC
[Token(Token = "0x6006D80")]
[Address(RVA = "0x2A8DED0", Offset = "0x2A8C8D0", VA = "0x182A8DED0")]
public static bool DeferHTTPRequest(HTTPRequestHandle hRequest)
{
InteropHelp.TestIfAvailableClient();
IntPtr pSteamHTTP = CSteamAPIContext.m_pSteamHTTP;
bool flag;
return flag;
}
// Token: 0x06006D81 RID: 28033 RVA: 0x00171FF8 File Offset: 0x001701F8
[Token(Token = "0x6006D81")]
[Address(RVA = "0x2A8E400", Offset = "0x2A8CE00", VA = "0x182A8E400")]
public static bool PrioritizeHTTPRequest(HTTPRequestHandle hRequest)
{
InteropHelp.TestIfAvailableClient();
IntPtr pSteamHTTP = CSteamAPIContext.m_pSteamHTTP;
bool flag;
return flag;
}
// Token: 0x06006D82 RID: 28034 RVA: 0x00172014 File Offset: 0x00170214
[Token(Token = "0x6006D82")]
[Address(RVA = "0x2A8E0C0", Offset = "0x2A8CAC0", VA = "0x182A8E0C0")]
public static bool GetHTTPResponseHeaderSize(HTTPRequestHandle hRequest, string pchHeaderName, out uint unResponseHeaderSize)
{
int num;
do
{
num = 0;
InteropHelp.TestIfAvailableClient();
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchHeaderName);
IntPtr pSteamHTTP = CSteamAPIContext.m_pSteamHTTP;
if (utf8StringHandle != 0)
{
}
if (num != -1)
{
}
}
while (num != 0);
bool flag;
return flag;
}
// Token: 0x06006D83 RID: 28035 RVA: 0x00172048 File Offset: 0x00170248
[Token(Token = "0x6006D83")]
[Address(RVA = "0x2A8E210", Offset = "0x2A8CC10", VA = "0x182A8E210")]
public static bool GetHTTPResponseHeaderValue(HTTPRequestHandle hRequest, string pchHeaderName, byte[] pHeaderValueBuffer, uint unBufferSize)
{
int num;
do
{
num = 0;
InteropHelp.TestIfAvailableClient();
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchHeaderName);
IntPtr pSteamHTTP = CSteamAPIContext.m_pSteamHTTP;
if (utf8StringHandle != 0)
{
}
if (num != -1)
{
}
}
while (num != 0);
bool flag;
return flag;
}
// Token: 0x06006D84 RID: 28036 RVA: 0x0017207C File Offset: 0x0017027C
[Token(Token = "0x6006D84")]
[Address(RVA = "0x2A8E060", Offset = "0x2A8CA60", VA = "0x182A8E060")]
public static bool GetHTTPResponseBodySize(HTTPRequestHandle hRequest, out uint unBodySize)
{
InteropHelp.TestIfAvailableClient();
IntPtr pSteamHTTP = CSteamAPIContext.m_pSteamHTTP;
bool flag;
return flag;
}
// Token: 0x06006D85 RID: 28037 RVA: 0x00172098 File Offset: 0x00170298
[Token(Token = "0x6006D85")]
[Address(RVA = "0x2A8DFE0", Offset = "0x2A8C9E0", VA = "0x182A8DFE0")]
public static bool GetHTTPResponseBodyData(HTTPRequestHandle hRequest, byte[] pBodyDataBuffer, uint unBufferSize)
{
InteropHelp.TestIfAvailableClient();
IntPtr pSteamHTTP = CSteamAPIContext.m_pSteamHTTP;
bool flag;
return flag;
}
// Token: 0x06006D86 RID: 28038 RVA: 0x001720B4 File Offset: 0x001702B4
[Token(Token = "0x6006D86")]
[Address(RVA = "0x2A8E370", Offset = "0x2A8CD70", VA = "0x182A8E370")]
public static bool GetHTTPStreamingResponseBodyData(HTTPRequestHandle hRequest, uint cOffset, byte[] pBodyDataBuffer, uint unBufferSize)
{
InteropHelp.TestIfAvailableClient();
IntPtr pSteamHTTP = CSteamAPIContext.m_pSteamHTTP;
bool flag;
return flag;
}
// Token: 0x06006D87 RID: 28039 RVA: 0x001720D0 File Offset: 0x001702D0
[Token(Token = "0x6006D87")]
[Address(RVA = "0x2A8E4A0", Offset = "0x2A8CEA0", VA = "0x182A8E4A0")]
public static bool ReleaseHTTPRequest(HTTPRequestHandle hRequest)
{
InteropHelp.TestIfAvailableClient();
IntPtr pSteamHTTP = CSteamAPIContext.m_pSteamHTTP;
bool flag;
return flag;
}
// Token: 0x06006D88 RID: 28040 RVA: 0x001720EC File Offset: 0x001702EC
[Token(Token = "0x6006D88")]
[Address(RVA = "0x2A8DF20", Offset = "0x2A8C920", VA = "0x182A8DF20")]
public static bool GetHTTPDownloadProgressPct(HTTPRequestHandle hRequest, out float pflPercentOut)
{
InteropHelp.TestIfAvailableClient();
IntPtr pSteamHTTP = CSteamAPIContext.m_pSteamHTTP;
bool flag;
return flag;
}
// Token: 0x06006D89 RID: 28041 RVA: 0x00172108 File Offset: 0x00170308
[Token(Token = "0x6006D89")]
[Address(RVA = "0x2A8ED00", Offset = "0x2A8D700", VA = "0x182A8ED00")]
public static bool SetHTTPRequestRawPostBody(HTTPRequestHandle hRequest, string pchContentType, byte[] pubBody, uint unBodyLen)
{
int num;
do
{
num = 0;
InteropHelp.TestIfAvailableClient();
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchContentType);
IntPtr pSteamHTTP = CSteamAPIContext.m_pSteamHTTP;
if (utf8StringHandle != 0)
{
}
if (num != -1)
{
}
}
while (num != 0);
bool flag;
return flag;
}
// Token: 0x06006D8A RID: 28042 RVA: 0x0017213C File Offset: 0x0017033C
[Token(Token = "0x6006D8A")]
[Address(RVA = "0x2A8DCD0", Offset = "0x2A8C6D0", VA = "0x182A8DCD0")]
public static HTTPCookieContainerHandle CreateCookieContainer(bool bAllowResponsesToModify)
{
/*
An exception occurred when decompiling this method (06006D8A)
ICSharpCode.Decompiler.DecompilerException: Error decompiling Steamworks.HTTPCookieContainerHandle Steamworks.SteamHTTP::CreateCookieContainer(System.Boolean)
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
call:void(InteropHelp::TestIfAvailableClient)
stloc:int64(var_1_17, call:int64(Convert::ToInt64, call:uint32(NativeMethods::ISteamHTTP_CreateCookieContainer, ldsfld:native int(CSteamAPIContext::m_pSteamHTTP), ldloc:bool(bAllowResponsesToModify))))
}
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: 0x06006D8B RID: 28043 RVA: 0x00172160 File Offset: 0x00170360
[Token(Token = "0x6006D8B")]
[Address(RVA = "0x2A8E450", Offset = "0x2A8CE50", VA = "0x182A8E450")]
public static bool ReleaseCookieContainer(HTTPCookieContainerHandle hCookieContainer)
{
InteropHelp.TestIfAvailableClient();
IntPtr pSteamHTTP = CSteamAPIContext.m_pSteamHTTP;
bool flag;
return flag;
}
// Token: 0x06006D8C RID: 28044 RVA: 0x0017217C File Offset: 0x0017037C
[Token(Token = "0x6006D8C")]
[Address(RVA = "0x2A8E5B0", Offset = "0x2A8CFB0", VA = "0x182A8E5B0")]
public static bool SetCookie(HTTPCookieContainerHandle hCookieContainer, string pchHost, string pchUrl, string pchCookie)
{
/*
An exception occurred when decompiling this method (06006D8C)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Steamworks.SteamHTTP::SetCookie(Steamworks.HTTPCookieContainerHandle,System.String,System.String,System.String)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_47:
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.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: 0x06006D8D RID: 28045 RVA: 0x001721D4 File Offset: 0x001703D4
[Token(Token = "0x6006D8D")]
[Address(RVA = "0x2A8E8C0", Offset = "0x2A8D2C0", VA = "0x182A8E8C0")]
public static bool SetHTTPRequestCookieContainer(HTTPRequestHandle hRequest, HTTPCookieContainerHandle hCookieContainer)
{
InteropHelp.TestIfAvailableClient();
IntPtr pSteamHTTP = CSteamAPIContext.m_pSteamHTTP;
bool flag;
return flag;
}
// Token: 0x06006D8E RID: 28046 RVA: 0x001721F0 File Offset: 0x001703F0
[Token(Token = "0x6006D8E")]
[Address(RVA = "0x2A8EEC0", Offset = "0x2A8D8C0", VA = "0x182A8EEC0")]
public static bool SetHTTPRequestUserAgentInfo(HTTPRequestHandle hRequest, string pchUserAgentInfo)
{
int num;
do
{
num = 0;
InteropHelp.TestIfAvailableClient();
InteropHelp.UTF8StringHandle utf8StringHandle = new InteropHelp.UTF8StringHandle(pchUserAgentInfo);
IntPtr pSteamHTTP = CSteamAPIContext.m_pSteamHTTP;
if (utf8StringHandle != 0)
{
}
if (num != -1)
{
}
}
while (num != 0);
bool flag;
return flag;
}
// Token: 0x06006D8F RID: 28047 RVA: 0x00172224 File Offset: 0x00170424
[Token(Token = "0x6006D8F")]
[Address(RVA = "0x2A8EE60", Offset = "0x2A8D860", VA = "0x182A8EE60")]
public static bool SetHTTPRequestRequiresVerifiedCertificate(HTTPRequestHandle hRequest, bool bRequireVerifiedCertificate)
{
InteropHelp.TestIfAvailableClient();
IntPtr pSteamHTTP = CSteamAPIContext.m_pSteamHTTP;
bool flag;
return flag;
}
// Token: 0x06006D90 RID: 28048 RVA: 0x00172240 File Offset: 0x00170440
[Token(Token = "0x6006D90")]
[Address(RVA = "0x2A8E800", Offset = "0x2A8D200", VA = "0x182A8E800")]
public static bool SetHTTPRequestAbsoluteTimeoutMS(HTTPRequestHandle hRequest, uint unMilliseconds)
{
InteropHelp.TestIfAvailableClient();
IntPtr pSteamHTTP = CSteamAPIContext.m_pSteamHTTP;
bool flag;
return flag;
}
// Token: 0x06006D91 RID: 28049 RVA: 0x0017225C File Offset: 0x0017045C
[Token(Token = "0x6006D91")]
[Address(RVA = "0x2A8DF80", Offset = "0x2A8C980", VA = "0x182A8DF80")]
public static bool GetHTTPRequestWasTimedOut(HTTPRequestHandle hRequest, out bool pbWasTimedOut)
{
InteropHelp.TestIfAvailableClient();
IntPtr pSteamHTTP = CSteamAPIContext.m_pSteamHTTP;
bool flag;
return flag;
}
}
}