tModLoader v2024.08
A mod to make and play Terraria mods
LegacyNetDiagnosticsUI Class Reference

Inherits INetDiagnosticsUI.

Public Member Functions

void CountReadMessage (int messageId, int messageLength)
 
void CountReadModuleMessage (int moduleMessageId, int messageLength)
 
void CountSentMessage (int messageId, int messageLength)
 
void CountSentModuleMessage (int moduleMessageId, int messageLength)
 
void Draw (SpriteBatch spriteBatch)
 
void Reset ()
 
void CountReadMessage (int messageId, int messageLength)
 
void CountReadModuleMessage (int moduleMessageId, int messageLength)
 
void CountSentMessage (int messageId, int messageLength)
 
void CountSentModuleMessage (int moduleMessageId, int messageLength)
 
void Draw (SpriteBatch spriteBatch)
 
void Reset ()
 

Static Public Attributes

static bool netDiag
 
static int rxData = 0
 
static int[] rxDataType = new int[maxMsg]
 
static int rxMsg = 0
 
static int[] rxMsgType = new int[maxMsg]
 
static int txData = 0
 
static int[] txDataType = new int[maxMsg]
 
static int txMsg = 0
 
static int[] txMsgType = new int[maxMsg]
 

Member Function Documentation

◆ CountReadMessage()

void LegacyNetDiagnosticsUI.CountReadMessage ( int  messageId,
int  messageLength 
)

Implements INetDiagnosticsUI.

◆ CountReadModuleMessage()

void LegacyNetDiagnosticsUI.CountReadModuleMessage ( int  moduleMessageId,
int  messageLength 
)

Implements INetDiagnosticsUI.

◆ CountSentMessage()

void LegacyNetDiagnosticsUI.CountSentMessage ( int  messageId,
int  messageLength 
)

Implements INetDiagnosticsUI.

◆ CountSentModuleMessage()

void LegacyNetDiagnosticsUI.CountSentModuleMessage ( int  moduleMessageId,
int  messageLength 
)

Implements INetDiagnosticsUI.

◆ Draw()

void LegacyNetDiagnosticsUI.Draw ( SpriteBatch  spriteBatch)

Implements INetDiagnosticsUI.

◆ Reset()

void LegacyNetDiagnosticsUI.Reset ( )

Implements INetDiagnosticsUI.