Table of Contents

Class DebugConsole

Namespace
Root
Assembly
SPZGameAssembly.dll
public class DebugConsole : IDebugConsole
Inheritance
object
DebugConsole
Implements
Extension Methods

Constructors

DebugConsole(Savegame)

public DebugConsole(Savegame savegame)

Parameters

savegame Savegame

Methods

Dispose()

public void Dispose()

GetAutoCompletions(string)

public List<string> GetAutoCompletions(string start)

Parameters

start string

Returns

List<string>

ParseAndExecute(string, Action<string>)

public void ParseAndExecute(string command, Action<string> output)

Parameters

command string
output Action<string>

Register(string, ConsoleOption, ConsoleOption, Action<CommandContext>, bool)

public void Register(string id, DebugConsole.ConsoleOption option0, DebugConsole.ConsoleOption option1, Action<DebugConsole.CommandContext> handler, bool isCheat = false)

Parameters

id string
option0 DebugConsole.ConsoleOption
option1 DebugConsole.ConsoleOption
handler Action<DebugConsole.CommandContext>
isCheat bool

Register(string, ConsoleOption, Action<CommandContext>, bool)

public void Register(string id, DebugConsole.ConsoleOption option0, Action<DebugConsole.CommandContext> handler, bool isCheat = false)

Parameters

id string
option0 DebugConsole.ConsoleOption
handler Action<DebugConsole.CommandContext>
isCheat bool

Register(string, ConsoleOption[], Action<CommandContext>, bool)

public void Register(string id, DebugConsole.ConsoleOption[] options, Action<DebugConsole.CommandContext> handler, bool isCheat = false)

Parameters

id string
options ConsoleOption[]
handler Action<DebugConsole.CommandContext>
isCheat bool

Register(string, Action<CommandContext>, bool)

public void Register(string id, Action<DebugConsole.CommandContext> handler, bool isCheat = false)

Parameters

id string
handler Action<DebugConsole.CommandContext>
isCheat bool