Class AbstractQuestContext.SimpleVarTable
java.lang.Object
me.kzheart.klib.script.kether.core.AbstractQuestContext.SimpleVarTable
- All Implemented Interfaces:
QuestContext.VarTable
- Enclosing class:
AbstractQuestContext<T extends AbstractQuestContext<T>>
public static final class AbstractQuestContext.SimpleVarTable
extends Object
implements QuestContext.VarTable
包括延迟动作变量在内的分层变量表。
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleVarTable(QuestContext.Frame parent) SimpleVarTable(QuestContext.Frame parent, Map<String, Object> values) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidclose()<R> Optional<R> <R> Optional<QuestFuture<R>> voidinitialize(QuestContext.Frame frame) keys()parent()voidvoid<R> voidset(String name, ParsedAction<R> owner, CompletableFuture<R> actionFuture) values()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.kzheart.klib.script.kether.core.QuestContext.VarTable
getOrDefault, getOrNull, toMap
-
Constructor Details
-
SimpleVarTable
-
SimpleVarTable
-
-
Method Details
-
parent
- Specified by:
parentin interfaceQuestContext.VarTable
-
get
- Specified by:
getin interfaceQuestContext.VarTable
-
getFuture
- Specified by:
getFuturein interfaceQuestContext.VarTable
-
set
- Specified by:
setin interfaceQuestContext.VarTable
-
set
- Specified by:
setin interfaceQuestContext.VarTable
-
remove
- Specified by:
removein interfaceQuestContext.VarTable
-
clear
public void clear()- Specified by:
clearin interfaceQuestContext.VarTable
-
keys
- Specified by:
keysin interfaceQuestContext.VarTable
-
values
- Specified by:
valuesin interfaceQuestContext.VarTable
-
initialize
- Specified by:
initializein interfaceQuestContext.VarTable
-
close
public void close()- Specified by:
closein interfaceQuestContext.VarTable
-