Definition at line 117 of file NetDiagnosticsUI.cs.
118 {
119 if (!
counter.exemptFromBadScoreTest)
120 {
122 {
124 }
126 {
128 }
129 }
133 Color color = Main.hslToRgb(0.3f * (1f - num), 1f, 0.5f);
134 if (
counter.exemptFromBadScoreTest)
135 {
137 }
141 pos.X += 30f;
142 text2 =
"rx:" +
$"{counter.timesReceived}";
144 pos.X += 70f;
145 text2 =
$"{counter.bytesReceived}";
147 pos.X += 70f;
150 pos.X += 30f;
151 text2 =
"tx:" +
$"{counter.timesSent}";
153 pos.X += 70f;
154 text2 =
$"{counter.bytesSent}";
156 }
int _highestFoundReadCount
void DrawText(SpriteBatch spriteBatch, string text, Vector2 pos, Color color)
int _highestFoundReadBytes
References Terraria.UI.NetDiagnosticsUI._highestFoundReadBytes, Terraria.UI.NetDiagnosticsUI._highestFoundReadCount, Terraria.UI.NetDiagnosticsUI.DrawText(), Terraria.Main.hslToRgb(), Terraria.Utils.Remap(), and Microsoft.Xna.Framework.Color.White.
Referenced by Terraria.UI.NetDiagnosticsUI.Draw().