Метод | Описание | |
---|---|---|
Command ( string name ) : System | ||
OnInvoke ( |
||
OnTab ( |
Метод | Описание | |
---|---|---|
Dummy ( ArgEvent e ) : void | ||
ParseBool ( string str, bool ¶m ) : bool? |
Parse str as bool value, update param and return previous param value. Can parse 'on' and 'off' strings as (respectively) true and false. |
|
ParseFloat ( string str, float ¶m ) : float? |
Parse str as float value, update param and return previous param value. If the first character of str is '+' or '-', the value of str will be added/substracted to/from param, otherwise value of param will be exactly as in string. |
|
ParseInt ( string str, int ¶m ) : int? |
Parse str as int value, update param and return previous param value. If the first character of str is '+' or '-', the value of str will be added/substracted to/from param, otherwise value of param will be exactly as in string. |
|
ParseVector2 ( List |
Parse list as Mogre::Vector2 value, update param and return previous param value. If the first character of string is '+' or '-', the value of this field will be added/substracted to/from param, otherwise value of param field will be exactly as in string. |
|
ParseVector3 ( List |
Parse list as Mogre::Vector3 value, update param and return previous param value. If the first character of string is '+' or '-', the value of this field will be added/substracted to/from param, otherwise value of param field will be exactly as in string. |
|
ParseVector4 ( List |
Parse list as Mogre::Vector4 value, update param and return previous param value. If the first character of string is '+' or '-', the value of this field will be added/substracted to/from param, otherwise value of param field will be exactly as in string. |
|
RegisterAlias ( string argName, string aliasName ) : void | ||
RegisterArg ( string argName, ArgCall call ) : void | ||
RegisterArg ( string argName, ArgCall call, string helpString ) : void | ||
RegisterArgs ( ) : void | ||
RegisterSubArg ( string argName, string subArgName ) : void |
Метод | Описание | |
---|---|---|
OnHelp ( ) : void | ||
OnInvokeParseArg ( |
||
OnInvokeParseSubArg ( |
||
OnTabGetLastArg ( |
protected ParseBool ( string str, bool ¶m ) : bool? | ||
str | string | String to parse. |
param | bool | Reference to bool value to update with str content. If parsing fails, this param is not changed. |
Результат | bool? |
protected ParseFloat ( string str, float ¶m ) : float? | ||
str | string | String to parse. |
param | float | |
Результат | float? |
protected ParseInt ( string str, int ¶m ) : int? | ||
str | string | String to parse. |
param | int | Reference to int value to update with str content. If parsing fails, this param is not changed. |
Результат | int? |
protected ParseVector2 ( List |
||
list | List |
List of strings with float values to parse. If list lenght is less than 2 parse fails. If list lenght is greater than 2, additional strings will be ignored. |
param | Mogre | Reference to Mogre::Vector2 value to update with list content. If parsing fails, this param is not changed. |
Результат | Mogre.Vector2? |
protected ParseVector3 ( List |
||
list | List |
List of strings with float values to parse. If list lenght is less than 3 parse fails. If list lenght is greater than 3, additional strings will be ignored. |
value | Mogre | |
Результат | Mogre.Vector3? |
protected ParseVector4 ( List |
||
list | List |
List of strings with float values to parse. If list lenght is less than 4 parse fails. If list lenght is greater than 4, additional strings will be ignored. |
value | Mogre | |
Результат | Mogre.Vector4? |
protected RegisterAlias ( string argName, string aliasName ) : void | ||
argName | string | |
aliasName | string | |
Результат | void |
protected RegisterArg ( string argName, ArgCall call ) : void | ||
argName | string | |
call | ArgCall | |
Результат | void |
protected RegisterArg ( string argName, ArgCall call, string helpString ) : void | ||
argName | string | |
call | ArgCall | |
helpString | string | |
Результат | void |
protected abstract RegisterArgs ( ) : void | ||
Результат | void |
protected RegisterSubArg ( string argName, string subArgName ) : void | ||
argName | string | |
subArgName | string | |
Результат | void |