tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.Net.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]