classpublicPriority 3
BuilderParameters
com.hypixel.hytale.server.npc.asset.builder.BuilderParameters
22
Methods
22
Public Methods
6
Fields
3
Constructors
Constants
StringKEY_CONFINE= "Confine"
StringKEY_DESCRIPTION= "Description"
StringKEY_IMPORT_STATES= "_ImportStates"
StringKEY_INTERFACE= "Interface"
StringKEY_PARAMETERS= "Parameters"
StringKEY_PRIVATE= "Private"
StringKEY_TYPE_HINT= "TypeHint"
StringKEY_VALIDATE= "Validate"
StringKEY_VALUE= "Value"
Constructors
protected
BuilderParameters(StdScope scope, String fileName, String interfaceCode)protected
BuilderParameters(StdScope scope, String fileName, String interfaceCode, IntSet dependencies)protected
BuilderParameters(BuilderParameters other)Methods
Public Methods (22)
public
void addDependency(int d)public
void addParametersToScope()public
ValueType compile(String expression)public
void createCompileContext()public
StdScope createScope()@Nonnull
public
void disposeCompileContext()public
CompileContext getCompileContext()@Nullable
public
ExecutionContext.Operand getConstantOperand()@Nullable
public
IntSet getDependencies()public
String getDescription()public
BuilderExpression getExpression()public
String getFileName()public
List<ExecutionContext.Instruction> getInstructions()public
String getInterfaceCode()public
ValueType getParameterType(String name)public
StdScope getScope()public
boolean isEmpty()public
boolean isPrivate()public
boolean isValidation()public
void readJSON(JsonObject jsonObject, StateMappingHelper stateHelper)publicstatic
ObjectSchema toSchema(SchemaContext context)@Nonnull
public
void validateNoDuplicateParameters(BuilderParameters other)Fields
Protected Fields (6)
protected
CompileContext compileContextprotected
IntSet dependenciesprotected
String fileNameprotected
String interfaceCodeprotected
Map<String, BuilderParameters.Parameter> parametersprotected
StdScope scope