Contents
- Description
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- Constructor Details
- BuilderToolArg()
- BuilderToolArg(boolean, String, BuilderToolArgType, BuilderToolBoolArg, BuilderToolFloatArg, BuilderToolIntArg, BuilderToolStringArg, BuilderToolBlockArg, BuilderToolMaskArg, BuilderToolBrushShapeArg, BuilderToolBrushOriginArg, BuilderToolBrushAxisArg, BuilderToolRotationArg, BuilderToolOptionArg)
- BuilderToolArg(BuilderToolArg)
- Method Details
- requireBounds(MemorySegment, int)
- getRequired(MemorySegment)
- getRequired(MemorySegment, int)
- getId(MemorySegment)
- getId(MemorySegment, int)
- getArgType(MemorySegment)
- getArgType(MemorySegment, int)
- getBoolArg(MemorySegment)
- getBoolArg(MemorySegment, int)
- getFloatArg(MemorySegment)
- getFloatArg(MemorySegment, int)
- getIntArg(MemorySegment)
- getIntArg(MemorySegment, int)
- getStringArg(MemorySegment)
- getStringArg(MemorySegment, int)
- getBlockArg(MemorySegment)
- getBlockArg(MemorySegment, int)
- getMaskArg(MemorySegment)
- getMaskArg(MemorySegment, int)
- getBrushShapeArg(MemorySegment)
- getBrushShapeArg(MemorySegment, int)
- getBrushOriginArg(MemorySegment)
- getBrushOriginArg(MemorySegment, int)
- getBrushAxisArg(MemorySegment)
- getBrushAxisArg(MemorySegment, int)
- getRotationArg(MemorySegment)
- getRotationArg(MemorySegment, int)
- getOptionArg(MemorySegment)
- getOptionArg(MemorySegment, int)
- hasBoolArg(MemorySegment, int)
- hasFloatArg(MemorySegment, int)
- hasIntArg(MemorySegment, int)
- hasBrushShapeArg(MemorySegment, int)
- hasBrushOriginArg(MemorySegment, int)
- hasBrushAxisArg(MemorySegment, int)
- hasRotationArg(MemorySegment, int)
- hasId(MemorySegment, int)
- hasStringArg(MemorySegment, int)
- hasBlockArg(MemorySegment, int)
- hasMaskArg(MemorySegment, int)
- hasOptionArg(MemorySegment, int)
- toObject(MemorySegment)
- toObject(MemorySegment, int)
- toObject(MemorySegment, int, ReadCursor)
- serialize(MemorySegment, int)
- computeSize()
- clone()
- equals(Object)
- hashCode()
Class BuilderToolArg
java.lang.Object
com.hypixel.hytale.protocol.packets.buildertools.BuilderToolArg
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intbooleanstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionBuilderToolArg(boolean required, String id, BuilderToolArgType argType, BuilderToolBoolArg boolArg, BuilderToolFloatArg floatArg, BuilderToolIntArg intArg, BuilderToolStringArg stringArg, BuilderToolBlockArg blockArg, BuilderToolMaskArg maskArg, BuilderToolBrushShapeArg brushShapeArg, BuilderToolBrushOriginArg brushOriginArg, BuilderToolBrushAxisArg brushAxisArg, BuilderToolRotationArg rotationArg, BuilderToolOptionArg optionArg) BuilderToolArg(BuilderToolArg other) -
Method Summary
Modifier and TypeMethodDescriptionclone()intbooleanstatic BuilderToolArgTypegetArgType(MemorySegment mem) static BuilderToolArgTypegetArgType(MemorySegment mem, int offset) static BuilderToolBlockArggetBlockArg(MemorySegment mem) static BuilderToolBlockArggetBlockArg(MemorySegment mem, int offset) static BuilderToolBoolArggetBoolArg(MemorySegment mem) static BuilderToolBoolArggetBoolArg(MemorySegment mem, int offset) static BuilderToolBrushAxisArgstatic BuilderToolBrushAxisArggetBrushAxisArg(MemorySegment mem, int offset) static BuilderToolBrushOriginArgstatic BuilderToolBrushOriginArggetBrushOriginArg(MemorySegment mem, int offset) static BuilderToolBrushShapeArgstatic BuilderToolBrushShapeArggetBrushShapeArg(MemorySegment mem, int offset) static BuilderToolFloatArggetFloatArg(MemorySegment mem) static BuilderToolFloatArggetFloatArg(MemorySegment mem, int offset) static StringgetId(MemorySegment mem) static StringgetId(MemorySegment mem, int offset) static BuilderToolIntArggetIntArg(MemorySegment mem) static BuilderToolIntArggetIntArg(MemorySegment mem, int offset) static BuilderToolMaskArggetMaskArg(MemorySegment mem) static BuilderToolMaskArggetMaskArg(MemorySegment mem, int offset) static BuilderToolOptionArgstatic BuilderToolOptionArggetOptionArg(MemorySegment mem, int offset) static booleangetRequired(MemorySegment mem) static booleangetRequired(MemorySegment mem, int offset) static BuilderToolRotationArgstatic BuilderToolRotationArggetRotationArg(MemorySegment mem, int offset) static BuilderToolStringArgstatic BuilderToolStringArggetStringArg(MemorySegment mem, int offset) static booleanhasBlockArg(MemorySegment mem, int offset) static booleanhasBoolArg(MemorySegment mem, int offset) static booleanhasBrushAxisArg(MemorySegment mem, int offset) static booleanhasBrushOriginArg(MemorySegment mem, int offset) static booleanhasBrushShapeArg(MemorySegment mem, int offset) static booleanhasFloatArg(MemorySegment mem, int offset) inthashCode()static booleanhasId(MemorySegment mem, int offset) static booleanhasIntArg(MemorySegment mem, int offset) static booleanhasMaskArg(MemorySegment mem, int offset) static booleanhasOptionArg(MemorySegment mem, int offset) static booleanhasRotationArg(MemorySegment mem, int offset) static booleanhasStringArg(MemorySegment mem, int offset) static voidrequireBounds(MemorySegment mem, int offset) Checks that the fixed block fits.intserialize(MemorySegment mem, int offset) static BuilderToolArgtoObject(MemorySegment mem) static BuilderToolArgtoObject(MemorySegment mem, int offset) static BuilderToolArgtoObject(MemorySegment mem, int offset, ReadCursor cursor) Decodes one BuilderToolArg and reports the end of its encoding through the cursor.
-
Field Details
-
NULLABLE_BIT_FIELD_SIZE
public static final int NULLABLE_BIT_FIELD_SIZE- See Also:
-
FIXED_BLOCK_SIZE
public static final int FIXED_BLOCK_SIZE- See Also:
-
VARIABLE_FIELD_COUNT
public static final int VARIABLE_FIELD_COUNT- See Also:
-
VARIABLE_BLOCK_START
public static final int VARIABLE_BLOCK_START- See Also:
-
MAX_SIZE
public static final int MAX_SIZE- See Also:
-
required
public boolean required -
id
-
argType
-
boolArg
-
floatArg
-
intArg
-
stringArg
-
blockArg
-
maskArg
-
brushShapeArg
-
brushOriginArg
-
brushAxisArg
-
rotationArg
-
optionArg
-
-
Constructor Details
-
BuilderToolArg
public BuilderToolArg() -
BuilderToolArg
public BuilderToolArg(boolean required, @Nullable String id, @Nonnull BuilderToolArgType argType, @Nullable BuilderToolBoolArg boolArg, @Nullable BuilderToolFloatArg floatArg, @Nullable BuilderToolIntArg intArg, @Nullable BuilderToolStringArg stringArg, @Nullable BuilderToolBlockArg blockArg, @Nullable BuilderToolMaskArg maskArg, @Nullable BuilderToolBrushShapeArg brushShapeArg, @Nullable BuilderToolBrushOriginArg brushOriginArg, @Nullable BuilderToolBrushAxisArg brushAxisArg, @Nullable BuilderToolRotationArg rotationArg, @Nullable BuilderToolOptionArg optionArg) -
BuilderToolArg
-
-
Method Details
-
requireBounds
Checks that the fixed block fits. The per-field getters read without their own bound check, so call this once before reading fields out of an untrusted segment. -
getRequired
-
getRequired
-
getId
-
getId
-
getArgType
-
getArgType
-
getBoolArg
-
getBoolArg
-
getFloatArg
-
getFloatArg
-
getIntArg
-
getIntArg
-
getStringArg
-
getStringArg
-
getBlockArg
-
getBlockArg
-
getMaskArg
-
getMaskArg
-
getBrushShapeArg
-
getBrushShapeArg
-
getBrushOriginArg
-
getBrushOriginArg
-
getBrushAxisArg
-
getBrushAxisArg
-
getRotationArg
-
getRotationArg
-
getOptionArg
-
getOptionArg
-
hasBoolArg
-
hasFloatArg
-
hasIntArg
-
hasBrushShapeArg
-
hasBrushOriginArg
-
hasBrushAxisArg
-
hasRotationArg
-
hasId
-
hasStringArg
-
hasBlockArg
-
hasMaskArg
-
hasOptionArg
-
toObject
-
toObject
-
toObject
Decodes one BuilderToolArg and reports the end of its encoding through the cursor. The variable block is decoded in field order against a running position, and each offset slot must name that position, so the fields decoded are the bytes walked. -
serialize
-
computeSize
public int computeSize() -
clone
-
equals
-
hashCode
-