C# Class SharpQuake.Cmd

Exibir arquivo Open project: Memorix101/SharpQuake Class Usage Examples

Private Properties

Property Type Description
Alias_f void
Cmd System
Echo_f void
Exec_f void
Find xcommand_t
FindAlias string
StuffCmds_f void

Public Methods

Method Description
Add ( string name, xcommand_t function ) : void
Argv ( int arg ) : string
Complete ( string partial ) : string[]
ExecuteString ( string text, cmd_source_t src ) : void
Exists ( string name ) : bool
ForwardToServer ( ) : void
Init ( ) : void
JoinArgv ( ) : string
TokenizeString ( string text ) : void

Private Methods

Method Description
Alias_f ( ) : void
Cmd ( ) : System
Echo_f ( ) : void
Exec_f ( ) : void
Find ( string name ) : xcommand_t
FindAlias ( string name ) : string
StuffCmds_f ( ) : void

Cmd_StuffCmds_f Adds command line parameters as script statements Commands lead with a +, and continue until a - or another + quake +prog jctest.qp +cmd amlev1 quake -nosound +cmd amlev1

Method Details

Add() public static method

public static Add ( string name, xcommand_t function ) : void
name string
function xcommand_t
return void

Argv() public static method

public static Argv ( int arg ) : string
arg int
return string

Complete() public static method

public static Complete ( string partial ) : string[]
partial string
return string[]

ExecuteString() public static method

public static ExecuteString ( string text, cmd_source_t src ) : void
text string
src cmd_source_t
return void

Exists() public static method

public static Exists ( string name ) : bool
name string
return bool

ForwardToServer() public static method

public static ForwardToServer ( ) : void
return void

Init() public static method

public static Init ( ) : void
return void

JoinArgv() public static method

public static JoinArgv ( ) : string
return string

TokenizeString() public static method

public static TokenizeString ( string text ) : void
text string
return void