프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 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 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 QueryScript ( VType query, Logger log ) : Script | ||
query | VType | |
log | Logger | |
리턴 | Script |
public QueryScript ( |
||
query | ||
log | Logger | |
리턴 | Script |
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 |