53 lines
1.7 KiB
C#
53 lines
1.7 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP
|
|
{
|
|
// Token: 0x020012AC RID: 4780
|
|
[Token(Token = "0x20012AC")]
|
|
[StructLayout(3, Size = 8)]
|
|
public sealed class OnDownloadProgressDelegate : MulticastDelegate
|
|
{
|
|
// Token: 0x06007715 RID: 30485 RVA: 0x0018AB3C File Offset: 0x00188D3C
|
|
[Token(Token = "0x6007715")]
|
|
[Address(RVA = "0x3E5170", Offset = "0x3E3B70", VA = "0x1803E5170")]
|
|
public OnDownloadProgressDelegate(object @object, IntPtr method)
|
|
{
|
|
this.method = method;
|
|
this.m_target = @object;
|
|
}
|
|
|
|
// Token: 0x06007716 RID: 30486 RVA: 0x0018AB58 File Offset: 0x00188D58
|
|
[Token(Token = "0x6007716")]
|
|
[Address(RVA = "0x2688F20", Offset = "0x2687920", VA = "0x182688F20", Slot = "13")]
|
|
public void Invoke(HTTPRequest originalRequest, long downloaded, long downloadLength)
|
|
{
|
|
if (this.delegates != 0)
|
|
{
|
|
}
|
|
uint num;
|
|
if (num != (uint)0)
|
|
{
|
|
throw new ExecutionEngineException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06007717 RID: 30487 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6007717")]
|
|
[Address(RVA = "0x2688E80", Offset = "0x2687880", VA = "0x182688E80", Slot = "14")]
|
|
public IAsyncResult BeginInvoke(HTTPRequest originalRequest, long downloaded, long downloadLength, AsyncCallback callback, object @object)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06007718 RID: 30488 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6007718")]
|
|
[Address(RVA = "0x40BFF0", Offset = "0x40A9F0", VA = "0x18040BFF0", Slot = "15")]
|
|
public void EndInvoke(IAsyncResult result)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
}
|
|
}
|