tModLoader v2024.09
A mod to make and play Terraria mods
NetPacket Struct Reference

Public Member Functions

 NetPacket (ushort id, int size)
 
void Recycle ()
 
void ShrinkToFit ()
 

Public Attributes

readonly CachedBuffer Buffer
 
readonly ushort Id
 

Properties

int Length [get]
 
BinaryReader Reader [get]
 
BinaryWriter Writer [get]