C# 클래스 AlbLib.Scripting.Scripts

Core scripting class.
파일 보기 프로젝트 열기: IllidanS4/AlbLib

공개 메소드들

메소드 설명
GetScript ( int index ) : string

Returns script text.

RunScript ( int index, ExecuteHandler handler ) : bool

Executes script.

RunScript ( int index, IScriptExecutor executor ) : bool

Executes script.

RunScript ( string script, ExecuteHandler handler ) : bool

Executes script.

RunScript ( string script, IScriptExecutor executor ) : bool

Executes script.

메소드 상세

GetScript() 공개 정적인 메소드

Returns script text.
public static GetScript ( int index ) : string
index int /// Zero-based script index. ///
리턴 string

RunScript() 공개 정적인 메소드

Executes script.
public static RunScript ( int index, ExecuteHandler handler ) : bool
index int /// The script index to execute. ///
handler ExecuteHandler /// Delegate which is called. ///
리턴 bool

RunScript() 공개 정적인 메소드

Executes script.
public static RunScript ( int index, IScriptExecutor executor ) : bool
index int /// The script index to execute. ///
executor IScriptExecutor /// Virtual machine which executes the script. ///
리턴 bool

RunScript() 공개 정적인 메소드

Executes script.
public static RunScript ( string script, ExecuteHandler handler ) : bool
script string /// The script text to execute. ///
handler ExecuteHandler /// Delegate which is called. ///
리턴 bool

RunScript() 공개 정적인 메소드

Executes script.
public static RunScript ( string script, IScriptExecutor executor ) : bool
script string /// The script text to execute. ///
executor IScriptExecutor /// Virtual machine which executes the script. ///
리턴 bool