C# 클래스 TeaseAI_CE.Scripting.Controller

Controllers are the part that figures out what the personality is going to say next.
상속: IKeyed
파일 보기 프로젝트 열기: TeaseAI/TeaseAI-CE 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AutoFill bool
Interval int
OnOutput string>.Action
VM VM

공개 메소드들

메소드 설명
Add ( BlockBase root ) : void

Enqueue a root block to be added to the stack.

Add ( IEvent e ) : void
AddFromEmptyQuery ( Logger log ) : bool
AddFromStartQuery ( Logger log ) : bool
AddPersonality ( Personality p ) : void
Contains ( Personality p ) : bool
Get ( Key key, Logger log = null ) : Variable
Input ( Personality p, string text ) : void
Tick ( ) : void
WriteValues ( string prefix, StringBuilder sb ) : void

비공개 메소드들

메소드 설명
Controller ( VM vm, string id ) : System
next ( StringBuilder output ) : bool

Executes the next line on the stack.

stop ( ) : void
tick_internal ( ) : void
writeValue ( string prefix, StringBuilder sb, string key, Variable v ) : void

메소드 상세

Add() 공개 메소드

Enqueue a root block to be added to the stack.
public Add ( BlockBase root ) : void
root BlockBase
리턴 void

Add() 공개 메소드

public Add ( IEvent e ) : void
e IEvent
리턴 void

AddFromEmptyQuery() 공개 메소드

public AddFromEmptyQuery ( Logger log ) : bool
log Logger
리턴 bool

AddFromStartQuery() 공개 메소드

public AddFromStartQuery ( Logger log ) : bool
log Logger
리턴 bool

AddPersonality() 공개 메소드

public AddPersonality ( Personality p ) : void
p Personality
리턴 void

Contains() 공개 메소드

public Contains ( Personality p ) : bool
p Personality
리턴 bool

Get() 공개 메소드

public Get ( Key key, Logger log = null ) : Variable
key Key
log Logger
리턴 Variable

Input() 공개 메소드

public Input ( Personality p, string text ) : void
p Personality
text string
리턴 void

Tick() 공개 메소드

public Tick ( ) : void
리턴 void

WriteValues() 공개 메소드

public WriteValues ( string prefix, StringBuilder sb ) : void
prefix string
sb StringBuilder
리턴 void

프로퍼티 상세

AutoFill 공개적으로 프로퍼티

public bool AutoFill
리턴 bool

Interval 공개적으로 프로퍼티

Time in between ticks.
public int Interval
리턴 int

OnOutput 공개적으로 프로퍼티

public Action OnOutput
리턴 string>.Action

VM 공개적으로 프로퍼티

public VM,TeaseAI_CE.Scripting VM
리턴 VM