C# Class TeaseAI_CE.Scripting.Context

Inheritance: IKeyed
Show file Open project: TeaseAI/TeaseAI-CE Class Usage Examples

Public Properties

Property Type Description
Block Line
Controller Controller
Exit bool
ExitLine bool
LastIf bool
Line int
Repeat bool
Return bool
Root BlockBase
Variables Variable>.Dictionary

Public Methods

Method Description
Context ( Controller controller, BlockBase root, Line block, int line, Variable>.Dictionary variables ) : System
Get ( Key key, Logger log = null ) : Variable

Method Details

Context() public method

public Context ( Controller controller, BlockBase root, Line block, int line, Variable>.Dictionary variables ) : System
controller Controller
root BlockBase
block Line
line int
variables Variable>.Dictionary
return System

Get() public method

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

Property Details

Block public property

public Line Block
return Line

Controller public property

public Controller,TeaseAI_CE.Scripting Controller
return Controller

Exit public property

If true clear stack, and exit this scope.
public bool Exit
return bool

ExitLine public property

If true stop executing the line.
public bool ExitLine
return bool

LastIf public property

Results of last if statement, could easily just be a local variable.
public bool LastIf
return bool

Line public property

Current line in Block.Lines
public int Line
return int

Repeat public property

If true, repeat current line and block.
public bool Repeat
return bool

Return public property

If true exit just this scope.
public bool Return
return bool

Root public property

public BlockBase,TeaseAI_CE.Scripting Root
return BlockBase

Variables public property

Variables local to this scope.
public Dictionary Variables
return Variable>.Dictionary