terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ Send()

bool Telepathy.Client.Send ( byte[] data,
int length )
inline

Definition at line 245 of file Client.cs.

246 {
248 if (tcpClient != null)
249 {
250 Socket clientSocket = tcpClient.m_ClientSocket;
251 if (clientSocket != null && clientSocket.is_connected)
252 {
253 if (this.MaxMessageSize == 0)
254 {
255 }
256 string text2;
257 string text3;
258 string text = "Client.Send: message too big: " + text2 + ". Limit: " + text3;
259 return "Client.Send: message too big: " != null;
260 }
261 }
262 if ("Client.Send: message too big: " == null)
263 {
264 }
265 return true;
266 }
class f__AnonymousType0<< Count > j__TPar
TcpClient client
Definition Client.cs:291

References Telepathy.Client.client, j__TPar, Telepathy.Common.MaxMessageSize, and System.text.

Referenced by SaveSynchronisationClient.SendDataFunction().