C# Class GameCommon.EngineConsole

ファイルを表示 Open project: DarrenHassan/GDM4242-GroupD Class Usage Examples

Private Properties

Property Type Description
AddCommand void
AddStandardCommands void
GetCommandByName Command
InitInternal void
OnConsoleClear void
OnConsoleCommands void
OnConsoleConfigCommand void
OnConsoleFullScreen void
OnConsoleQuit void
OnConsoleVideoMode void
OnLogNativeMemoryStatistics void
ShutdownInternal void

Public Methods

Method Description
AddCommand ( string name, Command handler ) : void
AddCommand ( string name, Command handler, object userData ) : void
AddCommand ( string name, Command handler, object userData, string description ) : void
AddCommand ( string name, Command handler, string description ) : void
Clear ( ) : void
DoKeyDown ( KeyEvent e ) : bool
DoKeyPress ( KeyPressEvent e ) : bool
DoRenderUI ( GuiRenderer renderer ) : void
DoTick ( float delta ) : void
ExecuteString ( string str ) : bool
Init ( ) : void
Print ( string text ) : void
Print ( string text, ColorValue color ) : void
RegisterConfigParameter ( Engine.Config parameter ) : void
RemoveCommand ( string name ) : void
Shutdown ( ) : void

Private Methods

Method Description
AddCommand ( string name, Command handler, Command extendedHandler, string description, object userData ) : void
AddStandardCommands ( ) : void
GetCommandByName ( string name ) : Command
InitInternal ( ) : void
OnConsoleClear ( string arguments ) : void
OnConsoleCommands ( string arguments ) : void
OnConsoleConfigCommand ( string arguments, object userData ) : void
OnConsoleFullScreen ( string arguments ) : void
OnConsoleQuit ( string arguments ) : void
OnConsoleVideoMode ( string arguments ) : void
OnLogNativeMemoryStatistics ( string arguments ) : void
ShutdownInternal ( ) : void

Method Details

AddCommand() public method

public AddCommand ( string name, Command handler ) : void
name string
handler Command
return void

AddCommand() public method

public AddCommand ( string name, Command handler, object userData ) : void
name string
handler Command
userData object
return void

AddCommand() public method

public AddCommand ( string name, Command handler, object userData, string description ) : void
name string
handler Command
userData object
description string
return void

AddCommand() public method

public AddCommand ( string name, Command handler, string description ) : void
name string
handler Command
description string
return void

Clear() public method

public Clear ( ) : void
return void

DoKeyDown() public method

public DoKeyDown ( KeyEvent e ) : bool
e KeyEvent
return bool

DoKeyPress() public method

public DoKeyPress ( KeyPressEvent e ) : bool
e KeyPressEvent
return bool

DoRenderUI() public method

public DoRenderUI ( GuiRenderer renderer ) : void
renderer GuiRenderer
return void

DoTick() public method

public DoTick ( float delta ) : void
delta float
return void

ExecuteString() public method

public ExecuteString ( string str ) : bool
str string
return bool

Init() public static method

public static Init ( ) : void
return void

Print() public method

public Print ( string text ) : void
text string
return void

Print() public method

public Print ( string text, ColorValue color ) : void
text string
color ColorValue
return void

RegisterConfigParameter() public method

public RegisterConfigParameter ( Engine.Config parameter ) : void
parameter Engine.Config
return void

RemoveCommand() public method

public RemoveCommand ( string name ) : void
name string
return void

Shutdown() public static method

public static Shutdown ( ) : void
return void