C# Class TeaseAI_CE.Scripting.Context

Inheritance: IKeyed
Datei anzeigen 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_oe property

public Line Block
return Line

Controller public_oe property

public Controller,TeaseAI_CE.Scripting Controller
return Controller

Exit public_oe property

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

ExitLine public_oe property

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

LastIf public_oe property

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

Line public_oe property

Current line in Block.Lines
public int Line
return int

Repeat public_oe property

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

Return public_oe property

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

Root public_oe property

public BlockBase,TeaseAI_CE.Scripting Root
return BlockBase

Variables public_oe property

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