using System;
using Cpp2IlInjected;
namespace System
{
/// Describes the console key that was pressed, including the character represented by the console key and the state of the SHIFT, ALT, and CTRL modifier keys.
// Token: 0x020000C7 RID: 199
[Token(Token = "0x20000C7")]
[Serializable]
public struct ConsoleKeyInfo
{
/// Initializes a new instance of the structure using the specified character, console key, and modifier keys.
/// The Unicode character that corresponds to the parameter.
/// The console key that corresponds to the parameter.
///
/// to indicate that a SHIFT key was pressed; otherwise, .
///
/// to indicate that an ALT key was pressed; otherwise, .
///
/// to indicate that a CTRL key was pressed; otherwise, .
/// The numeric value of the parameter is less than 0 or greater than 255.
// Token: 0x06000603 RID: 1539 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000603")]
[Address(RVA = "0x25332C0", Offset = "0x25320C0", VA = "0x1825332C0")]
public ConsoleKeyInfo(char keyChar, ConsoleKey key, bool shift, bool alt, bool control)
{
}
/// Gets the Unicode character represented by the current object.
/// An object that corresponds to the console key represented by the current object.
// Token: 0x1700009F RID: 159
// (get) Token: 0x06000604 RID: 1540 RVA: 0x00004F98 File Offset: 0x00003198
[Token(Token = "0x1700009F")]
public char KeyChar
{
[Token(Token = "0x6000604")]
[Address(RVA = "0x1AA8150", Offset = "0x1AA6F50", VA = "0x181AA8150")]
get
{
return '\0';
}
}
/// Gets the console key represented by the current object.
/// A value that identifies the console key that was pressed.
// Token: 0x170000A0 RID: 160
// (get) Token: 0x06000605 RID: 1541 RVA: 0x00004FB0 File Offset: 0x000031B0
[Token(Token = "0x170000A0")]
public ConsoleKey Key
{
[Token(Token = "0x6000605")]
[Address(RVA = "0x5DD040", Offset = "0x5DBE40", VA = "0x1805DD040")]
get
{
return (ConsoleKey)0;
}
}
/// Gets a value indicating whether the specified object is equal to the current object.
/// An object to compare to the current object.
///
/// if is a object and is equal to the current object; otherwise, .
// Token: 0x06000606 RID: 1542 RVA: 0x00004FC8 File Offset: 0x000031C8
[Token(Token = "0x6000606")]
[Address(RVA = "0x25331C0", Offset = "0x2531FC0", VA = "0x1825331C0", Slot = "0")]
public override bool Equals(object value)
{
return default(bool);
}
/// Gets a value indicating whether the specified object is equal to the current object.
/// An object to compare to the current object.
///
/// if is equal to the current object; otherwise, .
// Token: 0x06000607 RID: 1543 RVA: 0x00004FE0 File Offset: 0x000031E0
[Token(Token = "0x6000607")]
[Address(RVA = "0x2533270", Offset = "0x2532070", VA = "0x182533270")]
public bool Equals(ConsoleKeyInfo obj)
{
return default(bool);
}
/// Returns the hash code for the current object.
/// A 32-bit signed integer hash code.
// Token: 0x06000608 RID: 1544 RVA: 0x00004FF8 File Offset: 0x000031F8
[Token(Token = "0x6000608")]
[Address(RVA = "0x25332B0", Offset = "0x25320B0", VA = "0x1825332B0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x040002D0 RID: 720
[FieldOffset(Offset = "0x0")]
[Token(Token = "0x40002D0")]
private char _keyChar;
// Token: 0x040002D1 RID: 721
[FieldOffset(Offset = "0x4")]
[Token(Token = "0x40002D1")]
private ConsoleKey _key;
// Token: 0x040002D2 RID: 722
[FieldOffset(Offset = "0x8")]
[Token(Token = "0x40002D2")]
private ConsoleModifiers _mods;
}
}