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

Classes

class  ReadResult
 

Public Member Functions

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

Public Attributes

object SteamLock = new object()