C# Class SharpQuake.Cmd

Afficher le fichier Open project: Memorix101/SharpQuake Class Usage Examples

Private Properties

Свойство Type Description
Alias_f void
Cmd System
Echo_f void
Exec_f void
Find xcommand_t
FindAlias string
StuffCmds_f void

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static Add ( string name, xcommand_t function ) : void
name string
function xcommand_t
Résultat void

Argv() public static méthode

public static Argv ( int arg ) : string
arg int
Résultat string

Complete() public static méthode

public static Complete ( string partial ) : string[]
partial string
Résultat string[]

ExecuteString() public static méthode

public static ExecuteString ( string text, cmd_source_t src ) : void
text string
src cmd_source_t
Résultat void

Exists() public static méthode

public static Exists ( string name ) : bool
name string
Résultat bool

ForwardToServer() public static méthode

public static ForwardToServer ( ) : void
Résultat void

Init() public static méthode

public static Init ( ) : void
Résultat void

JoinArgv() public static méthode

public static JoinArgv ( ) : string
Résultat string

TokenizeString() public static méthode

public static TokenizeString ( string text ) : void
text string
Résultat void