tModLoader v2024.04
A mod to make and play Terraria mods
IPCClient Class Reference

Inherits IPCBase.

Public Member Functions

void ConnectTo (string serverName)
void Init (string clientName)
override void ReadCallback (IAsyncResult result)
void Tick ()
- Public Member Functions inherited from IPCBase
virtual void ProcessDataArriveEvent ()
virtual void ReadCallback (IAsyncResult result)
virtual void Reset ()
virtual bool Send (byte[] data)
virtual bool Send (string value)


override Action< byte[]> OnDataArrive
- Properties inherited from IPCBase
int BufferSize [get, set]
virtual Action< byte[]> OnDataArrive


Action OnConnected

Additional Inherited Members

- Protected Member Functions inherited from IPCBase
void AddPackToList (List< byte > pack)
virtual bool BeginReadData ()
List< List< byte > > GetPackList ()
bool HaveDataToRead ()
virtual void SendCallback (IAsyncResult result)
- Protected Attributes inherited from IPCBase
CancellationTokenSource _cancelTokenSrc
Action< byte[]> _onDataArrive
volatile bool _pipeBrokenFlag
PipeStream _pipeStream

Member Function Documentation

◆ ReadCallback()

override void IPCClient.ReadCallback ( IAsyncResult  result)

Reimplemented from IPCBase.