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

◆ Equals() [2/3]

bool System.ConsoleKeyInfo.Equals ( ConsoleKeyInfo obj)
inline

Definition at line 51 of file ConsoleKeyInfo.cs.

52 {
53 if (obj._keyChar == _keyChar && obj._key == _key)
54 {
55 return obj._mods == _mods;
56 }
57 return false;
58 }
readonly ConsoleModifiers _mods
readonly ConsoleKey _key
readonly char _keyChar

References System.ConsoleKeyInfo._key, System.ConsoleKeyInfo._keyChar, System.ConsoleKeyInfo._mods, and System.obj.