m
This commit is contained in:
@@ -0,0 +1,108 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System
|
||||
{
|
||||
/// <summary>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.</summary>
|
||||
// Token: 0x020000CE RID: 206
|
||||
[Token(Token = "0x20000CE")]
|
||||
[Serializable]
|
||||
public struct ConsoleKeyInfo
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.ConsoleKeyInfo" /> structure using the specified character, console key, and modifier keys.</summary>
|
||||
/// <param name="keyChar">The Unicode character that corresponds to the <paramref name="key" /> parameter.</param>
|
||||
/// <param name="key">The console key that corresponds to the <paramref name="keyChar" /> parameter.</param>
|
||||
/// <param name="shift">
|
||||
/// <see langword="true" /> to indicate that a SHIFT key was pressed; otherwise, <see langword="false" />.</param>
|
||||
/// <param name="alt">
|
||||
/// <see langword="true" /> to indicate that an ALT key was pressed; otherwise, <see langword="false" />.</param>
|
||||
/// <param name="control">
|
||||
/// <see langword="true" /> to indicate that a CTRL key was pressed; otherwise, <see langword="false" />.</param>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The numeric value of the <paramref name="key" /> parameter is less than 0 or greater than 255.</exception>
|
||||
// Token: 0x06000620 RID: 1568 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000620")]
|
||||
[Address(RVA = "0x2C30CC0", Offset = "0x2C2FCC0", VA = "0x182C30CC0")]
|
||||
public ConsoleKeyInfo(char keyChar, ConsoleKey key, bool shift, bool alt, bool control)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the Unicode character represented by the current <see cref="T:System.ConsoleKeyInfo" /> object.</summary>
|
||||
/// <returns>An object that corresponds to the console key represented by the current <see cref="T:System.ConsoleKeyInfo" /> object.</returns>
|
||||
// Token: 0x170000A3 RID: 163
|
||||
// (get) Token: 0x06000621 RID: 1569 RVA: 0x00005088 File Offset: 0x00003288
|
||||
[Token(Token = "0x170000A3")]
|
||||
public char KeyChar
|
||||
{
|
||||
[Token(Token = "0x6000621")]
|
||||
[Address(RVA = "0x5AADB0", Offset = "0x5A9DB0", VA = "0x1805AADB0")]
|
||||
get
|
||||
{
|
||||
return '\0';
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the console key represented by the current <see cref="T:System.ConsoleKeyInfo" /> object.</summary>
|
||||
/// <returns>A value that identifies the console key that was pressed.</returns>
|
||||
// Token: 0x170000A4 RID: 164
|
||||
// (get) Token: 0x06000622 RID: 1570 RVA: 0x000050A0 File Offset: 0x000032A0
|
||||
[Token(Token = "0x170000A4")]
|
||||
public ConsoleKey Key
|
||||
{
|
||||
[Token(Token = "0x6000622")]
|
||||
[Address(RVA = "0x5AAE10", Offset = "0x5A9E10", VA = "0x1805AAE10")]
|
||||
get
|
||||
{
|
||||
return (ConsoleKey)0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether the specified object is equal to the current <see cref="T:System.ConsoleKeyInfo" /> object.</summary>
|
||||
/// <param name="value">An object to compare to the current <see cref="T:System.ConsoleKeyInfo" /> object.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if <paramref name="value" /> is a <see cref="T:System.ConsoleKeyInfo" /> object and is equal to the current <see cref="T:System.ConsoleKeyInfo" /> object; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x06000623 RID: 1571 RVA: 0x000050B8 File Offset: 0x000032B8
|
||||
[Token(Token = "0x6000623")]
|
||||
[Address(RVA = "0x2C30BC0", Offset = "0x2C2FBC0", VA = "0x182C30BC0", Slot = "0")]
|
||||
public override bool Equals(object value)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether the specified <see cref="T:System.ConsoleKeyInfo" /> object is equal to the current <see cref="T:System.ConsoleKeyInfo" /> object.</summary>
|
||||
/// <param name="obj">An object to compare to the current <see cref="T:System.ConsoleKeyInfo" /> object.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if <paramref name="obj" /> is equal to the current <see cref="T:System.ConsoleKeyInfo" /> object; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x06000624 RID: 1572 RVA: 0x000050D0 File Offset: 0x000032D0
|
||||
[Token(Token = "0x6000624")]
|
||||
[Address(RVA = "0x2C30C70", Offset = "0x2C2FC70", VA = "0x182C30C70")]
|
||||
public bool Equals(ConsoleKeyInfo obj)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Returns the hash code for the current <see cref="T:System.ConsoleKeyInfo" /> object.</summary>
|
||||
/// <returns>A 32-bit signed integer hash code.</returns>
|
||||
// Token: 0x06000625 RID: 1573 RVA: 0x000050E8 File Offset: 0x000032E8
|
||||
[Token(Token = "0x6000625")]
|
||||
[Address(RVA = "0x2C30CB0", Offset = "0x2C2FCB0", VA = "0x182C30CB0", Slot = "2")]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x040002DA RID: 730
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x40002DA")]
|
||||
private char _keyChar;
|
||||
|
||||
// Token: 0x040002DB RID: 731
|
||||
[FieldOffset(Offset = "0x4")]
|
||||
[Token(Token = "0x40002DB")]
|
||||
private ConsoleKey _key;
|
||||
|
||||
// Token: 0x040002DC RID: 732
|
||||
[FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x40002DC")]
|
||||
private ConsoleModifiers _mods;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user