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

◆ IsKeyDownEvent()

static bool System.ConsolePal.IsKeyDownEvent ( global::Interop::InputRecord ir)
inlinestaticprivate

Definition at line 581 of file ConsolePal.cs.

582 {
583 if (ir.eventType == 1)
584 {
585 return ir.keyEvent.keyDown != global::Interop.BOOL.FALSE;
586 }
587 return false;
588 }

Referenced by System.ConsolePal.ReadKey().