TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches
Terraria.Net.NetPacket Struct Reference
+ Collaboration diagram for Terraria.Net.NetPacket:

Public Member Functions

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

Public Attributes

readonly ushort Id
 
readonly CachedBuffer Buffer
 

Properties

int Length [get, private set]
 
BinaryWriter Writer [get]
 
BinaryReader Reader [get]
 

Static Private Attributes

const int HEADER_SIZE = 5
 

Detailed Description

Definition at line 6 of file NetPacket.cs.


The documentation for this struct was generated from the following file: