tModLoader v2024.11
A mod to make and play Terraria mods
WeGameP2PReader Class Reference

Classes

class  ReadResult
 

Public Member Functions

void ClearUser (RailID id)
 
bool IsDataAvailable (RailID id)
 
delegate bool OnReadEvent (byte[] data, int size, RailID user)
 
void ReadTick ()
 
int Receive (RailID user, byte[] buffer, int bufferOffset, int bufferSize)
 
void SetLocalPeer (RailID rail_id)
 
void SetReadEvent (OnReadEvent method)
 

Public Attributes

object RailLock = new object()