Class HUDDebugConsole
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
public class HUDDebugConsole : HUDPart
- Inheritance
-
objectObjectComponentBehaviourMonoBehaviourHUDDebugConsole
- Inherited Members
- Extension Methods
Constructors
HUDDebugConsole()
public HUDDebugConsole()
Fields
Active
protected bool Active
Field Value
- bool
GenericCommand
protected string GenericCommand
Field Value
- string
HistoryCommands
protected List<string> HistoryCommands
Field Value
- List<string>
HistoryIndex
protected int HistoryIndex
Field Value
- int
Methods
AddOutput(string)
protected void AddOutput(string line)
Parameters
linestring
Construct(IDebugConsole, Savegame, GeneralGameSettings, IGameData)
[Construct]
public void Construct(IDebugConsole debugConsole, Savegame savegame, GeneralGameSettings generalGameSettings, IGameData gameData)
Parameters
debugConsoleIDebugConsolesavegameSavegamegeneralGameSettingsGeneralGameSettingsgameDataIGameData
HandleCommand(string)
protected void HandleCommand(string cmd)
Parameters
cmdstring
Hide()
protected void Hide()
OnDispose()
protected override void OnDispose()
OnGameUpdate(InputDownstreamContext, FrameDrawOptions)
public override void OnGameUpdate(InputDownstreamContext context, FrameDrawOptions drawOptions)
Parameters
contextInputDownstreamContextdrawOptionsFrameDrawOptions
OnLogMessageReceived(string, string, LogType)
protected void OnLogMessageReceived(string condition, string stacktrace, LogType type)
Parameters
conditionstringstacktracestringtypeLogType
RegisterCommands()
protected void RegisterCommands()
Run()
public void Run()
Show()
protected void Show()
ShowHelp()
protected void ShowHelp()