C# 클래스 idTech4.idCmdArgs

Command arguments.
파일 보기 프로젝트 열기: iainmckay/idtech4.net 1 사용 예제들

공개 메소드들

메소드 설명
AppendArg ( string text ) : void
Clear ( ) : void
Get ( int idx ) : string

Gets the argument at the specified index.

Get ( int start, int end ) : string

Gets the specified range as a single string.

Get ( int start, int end, bool escapeArgs ) : string

Gets the specified range as a single string.

ToString ( ) : string
TokenizeString ( string text, bool keepAsStrings ) : void

Takes a string and breaks it up into arg tokens.

idCmdArgs ( ) : System
idCmdArgs ( string text, bool keepAsStrings ) : System

메소드 상세

AppendArg() 공개 메소드

public AppendArg ( string text ) : void
text string
리턴 void

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

Get() 공개 메소드

Gets the argument at the specified index.
public Get ( int idx ) : string
idx int
리턴 string

Get() 공개 메소드

Gets the specified range as a single string.
public Get ( int start, int end ) : string
start int
end int
리턴 string

Get() 공개 메소드

Gets the specified range as a single string.
public Get ( int start, int end, bool escapeArgs ) : string
start int
end int
escapeArgs bool
리턴 string

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

TokenizeString() 공개 메소드

Takes a string and breaks it up into arg tokens.
public TokenizeString ( string text, bool keepAsStrings ) : void
text string
keepAsStrings bool true to only seperate tokens from whitespace and comments, ignoring punctuation.
리턴 void

idCmdArgs() 공개 메소드

public idCmdArgs ( ) : System
리턴 System

idCmdArgs() 공개 메소드

public idCmdArgs ( string text, bool keepAsStrings ) : System
text string
keepAsStrings bool
리턴 System