Package com.hypixel.hytale.protocol
Class StabSelector
java.lang.Object
com.hypixel.hytale.protocol.Selector
com.hypixel.hytale.protocol.StabSelector
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatfloatfloatfloatfloatstatic final intstatic final intstatic final intfloatfloatfloatbooleanstatic final intstatic final intfloat -
Constructor Summary
ConstructorsConstructorDescriptionStabSelector(float extendTop, float extendBottom, float extendLeft, float extendRight, float yawOffset, float pitchOffset, float rollOffset, float startDistance, float endDistance, boolean testLineOfSight) StabSelector(StabSelector other) -
Method Summary
Modifier and TypeMethodDescriptionclone()static intcomputeBytesConsumed(io.netty.buffer.ByteBuf buf, int offset) intstatic StabSelectordeserialize(io.netty.buffer.ByteBuf buf, int offset) booleaninthashCode()intserialize(io.netty.buffer.ByteBuf buf) static ValidationResultvalidateStructure(io.netty.buffer.ByteBuf buffer, int offset) Methods inherited from class com.hypixel.hytale.protocol.Selector
computeSizeWithTypeId, getTypeId, serializeWithTypeId
-
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:
-
extendTop
public float extendTop -
extendBottom
public float extendBottom -
extendLeft
public float extendLeft -
extendRight
public float extendRight -
yawOffset
public float yawOffset -
pitchOffset
public float pitchOffset -
rollOffset
public float rollOffset -
startDistance
public float startDistance -
endDistance
public float endDistance -
testLineOfSight
public boolean testLineOfSight
-
-
Constructor Details
-
StabSelector
public StabSelector() -
StabSelector
public StabSelector(float extendTop, float extendBottom, float extendLeft, float extendRight, float yawOffset, float pitchOffset, float rollOffset, float startDistance, float endDistance, boolean testLineOfSight) -
StabSelector
-
-
Method Details
-
deserialize
-
computeBytesConsumed
public static int computeBytesConsumed(@Nonnull io.netty.buffer.ByteBuf buf, int offset) -
serialize
public int serialize(@Nonnull io.netty.buffer.ByteBuf buf) -
computeSize
public int computeSize()- Specified by:
computeSizein classSelector
-
validateStructure
public static ValidationResult validateStructure(@Nonnull io.netty.buffer.ByteBuf buffer, int offset) -
clone
-
equals
-
hashCode
public int hashCode()
-