Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ PrintMsec()

static void System.Xml.Xsl.Runtime.XsltFunctions.PrintMsec ( char[] text,
int value )
inlinestaticprivate

Definition at line 503 of file XsltFunctions.cs.

504 {
505 if (value != 0)
506 {
507 text[20] = (char)(value / 100 % 10 + 48);
508 text[21] = (char)(value / 10 % 10 + 48);
509 text[22] = (char)(value / 1 % 10 + 48);
510 }
511 }

References System.text, and System.value.

Referenced by System.Xml.Xsl.Runtime.XsltFunctions.PrintTime().