Свойство | Тип | Описание | |
---|---|---|---|
Punctuation | char[] |
Метод | Описание | |
---|---|---|
AddFunction ( System.Function func ) : void | ||
AddFunction ( string name, System.Function func ) : void | ||
ChangePersonalityID ( |
||
CreateController ( string id, Logger log = null ) : |
Creates a new controller for the given personality.
|
|
CreatePersonality ( string name ) : |
Craete a new personality with given name.
|
|
Get ( |
||
GetAllControllers ( ) : TeaseAI_CE.Scripting.Controller[] | ||
GetGroups ( ) : TeaseAI_CE.Scripting.GroupInfo[] | ||
GetPersonalities ( ) : TeaseAI_CE.Scripting.Personality[] | ||
GetScriptResponse ( string keyword ) : |
||
InputToShorthand ( string text ) : string |
Runs text through input replace, to convert to shorthand.
|
|
KeyClean ( string key, Logger log = null ) : string |
Removes white-space, sets lowercase, removes invalid characters, trims white-space.
|
|
KeyClean ( string keys, Logger log = null ) : string[] |
Removes white-space, sets lowercase, removes invalid characters, trims white-space.
|
|
KeySplit ( string key ) : string[] | ||
LoadFromDirectory ( string path ) : void |
Load files in path and all sub directories.
|
|
QueryScript ( VType query, Logger log ) : Script | ||
QueryScript ( |
||
RemoveController ( |
||
RunPersonalitySetup ( ) : void | ||
SanitizeInputReplace ( string str ) : string |
Sanitize a string for use in the input replace system.
|
|
SanitizeInputReplace ( string strings ) : string[] |
Sanitize strings for use in the input replace system.
|
|
Start ( ) : void |
Starts the controller update thread
|
|
Stop ( ) : void |
Stop controller updating.
|
|
TryGetPersonality ( string name, |
||
VM ( ) : System | ||
Validate ( ) : void |
Метод | Описание | |
---|---|---|
ExecLine ( |
Execute a line of code.
|
|
KeyClean ( string key, bool &isFloat, bool &isPercent, Logger log = null ) : string |
Removes white-space, sets lowercase, removes invalid characters, trims white-space.
|
|
addScript ( string type, string rootKey, string key, Script script, string tags, string responses ) : void | ||
execParenthCheckAdd ( |
Check whats in sb, then add it to the list. [float, bool, and, or, variable]
|
|
execParentheses ( |
Recursively parses and executes everything in the parentheses, then returns variable array.
|
|
execSplitCommand ( |
gets key and parentheses as args.
|
|
getFileLines ( string file, Logger &log ) : List |
Gets all lines in file, returns null on IOException.
|
|
isNumberChar ( char c ) : bool | ||
parseBlock ( List |
Parses rawLines in to blocks of code recursively based on blockIndent.
|
|
parseBlockStart ( string str, string &key, List |
||
parseCutLine ( string &str, int &indentCount ) : bool |
Counts indentation, and trims white-space and comments from str.
|
|
parseInputReplace ( List |
Parses rawLines as csv for the input replace system
|
|
parseScriptGroup ( List |
Parses raw lines in to the system.
|
|
parseStringArray ( string str, int &i, Logger log ) : string[] |
Parse [] as an array of strings
|
|
parseStringQuoted ( string str, int &i, Logger log ) : string |
Parse "" as a string
|
|
runAllSetupOn ( |
Runs all setup scripts on the controller.
|
|
runAllSetupOn ( |
Runs all setup scripts on the personality.
|
|
runThroughScript ( |
Add script to controller, call next until false.
|
|
threadTick ( ) : void |
Updates all controllers.
|
|
validateScript ( |
public AddFunction ( System.Function func ) : void | ||
func | System.Function | |
Результат | void |
public AddFunction ( string name, System.Function func ) : void | ||
name | string | |
func | System.Function | |
Результат | void |
public ChangePersonalityID ( |
||
p | ||
newID | string | |
Результат | bool |
public CreateController ( string id, Logger log = null ) : |
||
id | string | |
log | Logger | |
Результат |
public CreatePersonality ( string name ) : |
||
name | string | |
Результат |
public Get ( |
||
key | ||
log | Logger | |
Результат |
public GetAllControllers ( ) : TeaseAI_CE.Scripting.Controller[] | ||
Результат | TeaseAI_CE.Scripting.Controller[] |
public GetGroups ( ) : TeaseAI_CE.Scripting.GroupInfo[] | ||
Результат | TeaseAI_CE.Scripting.GroupInfo[] |
public GetPersonalities ( ) : TeaseAI_CE.Scripting.Personality[] | ||
Результат | TeaseAI_CE.Scripting.Personality[] |
public GetScriptResponse ( string keyword ) : |
||
keyword | string | |
Результат |
public InputToShorthand ( string text ) : string | ||
text | string | |
Результат | string |
public static KeyClean ( string key, Logger log = null ) : string | ||
key | string | |
log | Logger | |
Результат | string |
public static KeyClean ( string keys, Logger log = null ) : string[] | ||
keys | string | |
log | Logger | |
Результат | string[] |
public static KeySplit ( string key ) : string[] | ||
key | string | |
Результат | string[] |
public LoadFromDirectory ( string path ) : void | ||
path | string | |
Результат | void |
public QueryScript ( VType query, Logger log ) : Script | ||
query | VType | |
log | Logger | |
Результат | Script |
public QueryScript ( |
||
query | ||
log | Logger | |
Результат | Script |
public RemoveController ( |
||
c | ||
Результат | void |
public static SanitizeInputReplace ( string str ) : string | ||
str | string | |
Результат | string |
public static SanitizeInputReplace ( string strings ) : string[] | ||
strings | string | |
Результат | string[] |
public TryGetPersonality ( string name, |
||
name | string | |
p | ||
Результат | bool |