Class BuilderExpressionDynamicNumber
java.lang.Object
com.hypixel.hytale.server.npc.asset.builder.expression.BuilderExpression
com.hypixel.hytale.server.npc.asset.builder.expression.BuilderExpressionDynamic
com.hypixel.hytale.server.npc.asset.builder.expression.BuilderExpressionDynamicNumber
-
Field Summary
Fields inherited from class com.hypixel.hytale.server.npc.asset.builder.expression.BuilderExpressionDynamic
KEY_COMPUTEFields inherited from class com.hypixel.hytale.server.npc.asset.builder.expression.BuilderExpression
STATIC -
Constructor Summary
ConstructorsConstructorDescriptionBuilderExpressionDynamicNumber(String expression, ExecutionContext.Instruction[] instructionSequence) -
Method Summary
Modifier and TypeMethodDescriptiondoublegetNumber(ExecutionContext executionContext) getType()voidupdateScope(StdScope scope, String name, ExecutionContext executionContext) Methods inherited from class com.hypixel.hytale.server.npc.asset.builder.expression.BuilderExpressionDynamic
computableSchema, execute, fromJSON, getExpression, isStatic, toSchemaMethods inherited from class com.hypixel.hytale.server.npc.asset.builder.expression.BuilderExpression
addToScope, compile, fromJSON, fromJSON, fromOperand, getBoolean, getBooleanArray, getIntegerArray, getNumberArray, getString, getStringArray, toSchema
-
Constructor Details
-
BuilderExpressionDynamicNumber
public BuilderExpressionDynamicNumber(String expression, ExecutionContext.Instruction[] instructionSequence)
-
-
Method Details
-
getType
- Specified by:
getTypein classBuilderExpression
-
getNumber
- Overrides:
getNumberin classBuilderExpression
-
updateScope
public void updateScope(@Nonnull StdScope scope, String name, @Nonnull ExecutionContext executionContext) - Overrides:
updateScopein classBuilderExpression
-