C# 클래스 TeaseAI_CE.Scripting.Variable

The base variable class, should be used for [bool, float, string] by-reference thread-safe
상속: IKeyed
파일 보기 프로젝트 열기: TeaseAI/TeaseAI-CE 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Readonly bool

보호된 프로퍼티들

프로퍼티 타입 설명
_value object

공개 메소드들

메소드 설명
CanWriteValue ( ) : bool
Evaluate ( Context sender, Variable left, Operators op, Variable right ) : Variable
Get ( Key key, Logger log = null ) : Variable
ToString ( ) : string
Variable ( ) : System
Variable ( IVType value ) : System
Variable ( VM value ) : System
Variable ( Variable value ) : System
Variable ( bool value ) : System
Variable ( float value ) : System
Variable ( string value ) : System
WriteValue ( StringBuilder sb ) : void

Use to write a value as a string, when writing to files.

WriteValueUser ( Context sender, StringBuilder output ) : void

보호된 메소드들

메소드 설명
getObj ( ) : object
setObj ( object value ) : void

비공개 메소드들

메소드 설명
getDefault ( Type type ) : object

메소드 상세

CanWriteValue() 공개 메소드

public CanWriteValue ( ) : bool
리턴 bool

Evaluate() 공개 정적인 메소드

public static Evaluate ( Context sender, Variable left, Operators op, Variable right ) : Variable
sender Context
left Variable
op Operators
right Variable
리턴 Variable

Get() 공개 메소드

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

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

Variable() 공개 메소드

public Variable ( ) : System
리턴 System

Variable() 공개 메소드

public Variable ( IVType value ) : System
value IVType
리턴 System

Variable() 공개 메소드

public Variable ( VM value ) : System
value VM
리턴 System

Variable() 공개 메소드

public Variable ( Variable value ) : System
value Variable
리턴 System

Variable() 공개 메소드

public Variable ( bool value ) : System
value bool
리턴 System

Variable() 공개 메소드

public Variable ( float value ) : System
value float
리턴 System

Variable() 공개 메소드

public Variable ( string value ) : System
value string
리턴 System

WriteValue() 공개 메소드

Use to write a value as a string, when writing to files.
public WriteValue ( StringBuilder sb ) : void
sb StringBuilder
리턴 void

WriteValueUser() 공개 메소드

public WriteValueUser ( Context sender, StringBuilder output ) : void
sender Context
output StringBuilder
리턴 void

getObj() 보호된 메소드

protected getObj ( ) : object
리턴 object

setObj() 보호된 메소드

protected setObj ( object value ) : void
value object
리턴 void

프로퍼티 상세

Readonly 공개적으로 프로퍼티

If true scripts can only read.
public bool Readonly
리턴 bool

_value 보호되어 있는 프로퍼티

protected object _value
리턴 object