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

◆ ToString()

override string System.ComponentModel.Design.MenuCommand.ToString ( )
inline

Definition at line 118 of file MenuCommand.cs.

119 {
120 string text = CommandID?.ToString() + " : ";
121 if (((uint)_status & (true ? 1u : 0u)) != 0)
122 {
123 text += "Supported";
124 }
125 if (((uint)_status & 2u) != 0)
126 {
127 text += "|Enabled";
128 }
129 if ((_status & 0x10) == 0)
130 {
131 text += "|Visible";
132 }
133 if (((uint)_status & 4u) != 0)
134 {
135 text += "|Checked";
136 }
137 return text;
138 }

References System.ComponentModel.Design.MenuCommand._status, System.text, and System.ComponentModel.Design.CommandID.ToString().