tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.Social.WeGame.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()