54 lines
1.7 KiB
C#
54 lines
1.7 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using BestHTTP.WebSocket.Frames;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.WebSocket
|
|
{
|
|
// Token: 0x020012E9 RID: 4841
|
|
[Token(Token = "0x20012E9")]
|
|
[StructLayout(3, Size = 8)]
|
|
public sealed class OnWebSocketIncompleteFrameDelegate : MulticastDelegate
|
|
{
|
|
// Token: 0x06007914 RID: 30996 RVA: 0x00192744 File Offset: 0x00190944
|
|
[Token(Token = "0x6007914")]
|
|
[Address(RVA = "0x3E5170", Offset = "0x3E3B70", VA = "0x1803E5170")]
|
|
public OnWebSocketIncompleteFrameDelegate(object @object, IntPtr method)
|
|
{
|
|
this.method = method;
|
|
this.m_target = @object;
|
|
}
|
|
|
|
// Token: 0x06007915 RID: 30997 RVA: 0x00192760 File Offset: 0x00190960
|
|
[Token(Token = "0x6007915")]
|
|
[Address(RVA = "0x6F2990", Offset = "0x6F1390", VA = "0x1806F2990", Slot = "13")]
|
|
public void Invoke(WebSocket webSocket, WebSocketFrameReader frame)
|
|
{
|
|
if (this.delegates != 0)
|
|
{
|
|
}
|
|
uint num;
|
|
if (num != (uint)0)
|
|
{
|
|
throw new ExecutionEngineException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06007916 RID: 30998 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6007916")]
|
|
[Address(RVA = "0x6F2900", Offset = "0x6F1300", VA = "0x1806F2900", Slot = "14")]
|
|
public IAsyncResult BeginInvoke(WebSocket webSocket, WebSocketFrameReader frame, AsyncCallback callback, object @object)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06007917 RID: 30999 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6007917")]
|
|
[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.");
|
|
}
|
|
}
|
|
}
|