Package com.skillw.asahi.api.script
Class AsahiCompiledScript
-
- All Implemented Interfaces:
-
com.skillw.asahi.api.member.quest.Quester
public abstract class AsahiCompiledScript extends CompiledScript implements Quester<Any>
Asahi compiled script
Asahi预编译脚本
-
-
Field Summary
Fields Modifier and Type Field Description private final AsahiEngine
engine
-
Constructor Summary
Constructors Constructor Description AsahiCompiledScript(AsahiEngine engine)
Create empty Asahi compiled script
-
Method Summary
Modifier and Type Method Description final AsahiEngine
getEngine()
abstract AsahiCompiledScript
isExit(Function1<AsahiContext, Boolean> isExit)
回调函数-当前是否已退出执行 abstract String
rawScript()
原脚本 abstract Object
execute(AsahiContext $self)
在上下文中执行/获取 abstract Unit
add(Quester<Object> quester)
添加Quester -
-
Constructor Detail
-
AsahiCompiledScript
AsahiCompiledScript(AsahiEngine engine)
Create empty Asahi compiled script
-
-
Method Detail
-
getEngine
final AsahiEngine getEngine()
-
isExit
abstract AsahiCompiledScript isExit(Function1<AsahiContext, Boolean> isExit)
回调函数-当前是否已退出执行
- Parameters:
isExit
- 回调函数
-
execute
abstract Object execute(AsahiContext $self)
在上下文中执行/获取
- Returns:
R
-
-
-
-