Class ConsoleManager
Inheritance
System.Object
ConsoleManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: BepInEx.Core.dll
Syntax
public static class ConsoleManager
Fields
Declaration
public static readonly ConfigEntry<bool> ConfigConsoleEnabled
Field Value
Declaration
public static readonly ConfigEntry<ConsoleManager.ConsoleOutRedirectType> ConfigConsoleOutRedirectType
Field Value
Declaration
public static readonly ConfigEntry<bool> ConfigConsoleShiftJis
Field Value
Declaration
public static readonly ConfigEntry<bool> ConfigPreventClose
Field Value
Properties
True if an external console has been started, false otherwise.
Declaration
public static bool ConsoleActive { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public static bool ConsoleEnabled { get; }
Property Value
Type |
Description |
System.Boolean |
|
The stream that writes to an external console. Null if no such console exists
Declaration
public static TextWriter ConsoleStream { get; }
Property Value
Type |
Description |
System.IO.TextWriter |
|
The stream that writes to the standard out stream of the process. Should never be null.
Declaration
public static TextWriter StandardOutStream { get; }
Property Value
Type |
Description |
System.IO.TextWriter |
|
Methods
Declaration
public static void CreateConsole()
Declaration
public static void DetachConsole()
Declaration
public static void Initialize(bool alreadyActive, bool useManagedEncoder)
Parameters
Type |
Name |
Description |
System.Boolean |
alreadyActive |
|
System.Boolean |
useManagedEncoder |
|
Declaration
public static void SetConsoleColor(ConsoleColor color)
Parameters
Type |
Name |
Description |
System.ConsoleColor |
color |
|
Declaration
public static void SetConsoleTitle(string title)
Parameters
Type |
Name |
Description |
System.String |
title |
|