53 lines
1.7 KiB
C#
53 lines
1.7 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.WebSocket
|
|
{
|
|
// Token: 0x020012E6 RID: 4838
|
|
[Token(Token = "0x20012E6")]
|
|
[StructLayout(3, Size = 8)]
|
|
public sealed class OnWebSocketClosedDelegate : MulticastDelegate
|
|
{
|
|
// Token: 0x06007908 RID: 30984 RVA: 0x00192520 File Offset: 0x00190720
|
|
[Token(Token = "0x6007908")]
|
|
[Address(RVA = "0x3E5170", Offset = "0x3E3B70", VA = "0x1803E5170")]
|
|
public OnWebSocketClosedDelegate(object @object, IntPtr method)
|
|
{
|
|
this.method = method;
|
|
this.m_target = @object;
|
|
}
|
|
|
|
// Token: 0x06007909 RID: 30985 RVA: 0x0019253C File Offset: 0x0019073C
|
|
[Token(Token = "0x6007909")]
|
|
[Address(RVA = "0x6F21C0", Offset = "0x6F0BC0", VA = "0x1806F21C0", Slot = "13")]
|
|
public void Invoke(WebSocket webSocket, ushort code, string message)
|
|
{
|
|
if (this.delegates != 0)
|
|
{
|
|
}
|
|
uint num;
|
|
if (num != (uint)0)
|
|
{
|
|
throw new ExecutionEngineException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600790A RID: 30986 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x600790A")]
|
|
[Address(RVA = "0x6F2120", Offset = "0x6F0B20", VA = "0x1806F2120", Slot = "14")]
|
|
public IAsyncResult BeginInvoke(WebSocket webSocket, ushort code, string message, AsyncCallback callback, object @object)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600790B RID: 30987 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x600790B")]
|
|
[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.");
|
|
}
|
|
}
|
|
}
|