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

◆ NumberLock

bool System.ConsolePal.NumberLock
staticget

Definition at line 150 of file ConsolePal.cs.

151 {
152 get
153 {
154 try
155 {
156 short keyState = global::Interop.User32.GetKeyState(144);
157 return (keyState & 1) == 1;
158 }
159 catch (Exception)
160 {
161 throw new PlatformNotSupportedException();
162 }
163 }
164 }