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
|
Public Member Functions | |
void | Connect (string ip, int port) |
void | Disconnect () |
bool | Send (byte[] data, int length) |
Client () | |
bool | GetNextMessage (out Message message) |
Public Attributes | |
TcpClient | client |
bool | NoDelay |
int | MaxMessageSize |
int | SendTimeout |
Static Public Attributes | |
static int | messageQueueSizeWarning |
Static Protected Member Functions | |
static bool | SendMessagesBlocking (NetworkStream stream, byte[][] messages) |
static bool | ReadMessageBlocking (NetworkStream stream, int MaxMessageSize, out byte[] content) |
static void | ReceiveLoop (int connectionId, TcpClient client, ConcurrentQueue< Message > receiveQueue, int MaxMessageSize) |
static void | SendLoop (int connectionId, TcpClient client, SafeQueue< byte[]> sendQueue, ManualResetEvent sendPending) |
Protected Attributes | |
ConcurrentQueue< Message > | receiveQueue |
Properties | |
bool | Connected [get, set] |
bool | Connecting [get, set] |
int | ReceiveQueueCount [get, set] |
Private Member Functions | |
bool | GetIPV6AddressFromIPV4 (string hostname, out string ipv6Address) |
void | ReceiveThreadFunction (string ip, int port) |
IPAddress | GetIPAddress () |
void< ReceiveThreadFunction > | b__11_0 () |
Private Attributes | |
Thread | receiveThread |
Thread | sendThread |
bool | _Connecting |
SafeQueue< byte[]> | sendQueue |
ManualResetEvent | sendPending |
Static Private Attributes | |
static byte[] | header |
static byte[] | payload |