public class ExecutionContext
Class ExecutionContext. Provides executioncontext functionality for the Hytale server.
java.lang.Object > ExecutionContext
Field Summary
scope
Field scope.
operandStack
Field operandStack.
stackTop
Field stackTop.
lastPushedType
Field lastPushedType.
combatConfig
Field combatConfig.
oldScope
Field oldScope.
op
Field op.
supplier
Field supplier.
supplier2
Field supplier2.
supplier3
Field supplier3.
supplier4
Field supplier4.
supplier5
Field supplier5.
supplier6
Field supplier6.
function
Field function.
array
Field array.
type
Field type.
string
Field string.
number
Field number.
bool
Field bool.
numberArray
Field numberArray.
stringArray
Field stringArray.
boolArray
Field boolArray.
Method Detail
top
Operand
top
()
Method top.
getCombatConfig
String
getCombatConfig
()
Method getCombatConfig.
setCombatConfig
void
setCombatConfig
(final String combatConfig)
Method setCombatConfig.
- Parameters:
final StringcombatConfig
getInteractionVars
String>
getInteractionVars
()
Method getInteractionVars.
setInteractionVars
void
setInteractionVars
(final Map interactionVars)
Method setInteractionVars.
- Parameters:
final MapinteractionVars
push
Operand
push
()
Method push.
pushEmptyArray
void
pushEmptyArray
()
Method pushEmptyArray.
popPush
Operand
popPush
(final int popCount)
Method popPush.
- Parameters:
final intpopCount
popPushEmptyArray
void
popPushEmptyArray
(final int popCount)
Method popPushEmptyArray.
- Parameters:
final intpopCount
pop
Operand
pop
()
Method pop.
popNumber
double
popNumber
()
Method popNumber.
popInt
int
popInt
()
Method popInt.
popString
String
popString
()
Method popString.
popBoolean
boolean
popBoolean
()
Method popBoolean.
popNumberArray
double[]
popNumberArray
()
Method popNumberArray.
popStringArray
String[]
popStringArray
()
Method popStringArray.
popBooleanArray
boolean[]
popBooleanArray
()
Method popBooleanArray.
popAsString
String
popAsString
()
Method popAsString.
switch
return
switch
(op.type)
Method switch.
- Parameters:
op.typeop.type
get
Operand
get
(final int index)
Method get.
- Parameters:
final intindex
getNumber
double
getNumber
(final int index)
Method getNumber.
- Parameters:
final intindex
getInt
int
getInt
(final int index)
Method getInt.
- Parameters:
final intindex
getString
String
getString
(final int index)
Method getString.
- Parameters:
final intindex
getBoolean
boolean
getBoolean
(final int index)
Method getBoolean.
- Parameters:
final intindex
getNumberArray
double[]
getNumberArray
(final int index)
Method getNumberArray.
- Parameters:
final intindex
getStringArray
String[]
getStringArray
(final int index)
Method getStringArray.
- Parameters:
final intindex
getBooleanArray
boolean[]
getBooleanArray
(final int index)
Method getBooleanArray.
- Parameters:
final intindex
genPUSH
Method genPUSH.
- Parameters:
final Stringvalue
genREAD
Instruction
genREAD
(final String ident, @Nonnull final ValueType type, @Nullable final Scope scope)
Method genREAD.
- Parameters:
final Stringident@Nonnull final ValueTypetype@Nullable final Scopescope
genCALL
Method genCALL.
- Parameters:
final Stringidentfinal intnumArgs@Nullable final Scopescope
genNumberPACK
Method genNumberPACK.
- Parameters:
final intsize
genStringPACK
Method genStringPACK.
- Parameters:
final intsize
genBooleanPACK
Method genBooleanPACK.
- Parameters:
final intsize
toString
String
toString
()
Method toString.