terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
ISocket.cs
Go to the documentation of this file.
1using System;
3
5{
6 [global::Cpp2ILInjected.Token(Token = "0x20006AF")]
7 public interface ISocket
8 {
9 [global::Cpp2ILInjected.Token(Token = "0x60038C1")]
10 void Close();
11
12 [global::Cpp2ILInjected.Token(Token = "0x60038C2")]
14
15 [global::Cpp2ILInjected.Token(Token = "0x60038C3")]
16 void Connect(RemoteAddress address);
17
18 [global::Cpp2ILInjected.Token(Token = "0x60038C4")]
19 void AsyncSend(byte[] data, int offset, int size, SocketSendCallback callback, object state = null);
20
21 [global::Cpp2ILInjected.Token(Token = "0x60038C5")]
22 void AsyncReceive(byte[] data, int offset, int size, SocketReceiveCallback callback, object state = null);
23
24 [global::Cpp2ILInjected.Token(Token = "0x60038C6")]
26
27 [global::Cpp2ILInjected.Token(Token = "0x60038C7")]
29
30 [global::Cpp2ILInjected.Token(Token = "0x60038C8")]
31 bool StartListening(SocketConnectionAccepted callback);
32
33 [global::Cpp2ILInjected.Token(Token = "0x60038C9")]
35
36 [global::Cpp2ILInjected.Token(Token = "0x60038CA")]
38 }
39}
void AsyncSend(byte[] data, int offset, int size, SocketSendCallback callback, object state=null)
void Connect(RemoteAddress address)
bool StartListening(SocketConnectionAccepted callback)
void AsyncReceive(byte[] data, int offset, int size, SocketReceiveCallback callback, object state=null)
RemoteAddress GetRemoteAddress()
delegate void SocketReceiveCallback(object state, int size)
delegate void SocketSendCallback(object state)