Class LongParamValue

java.lang.Object
com.hypixel.hytale.protocol.ParamValue
com.hypixel.hytale.protocol.LongParamValue

public class LongParamValue extends ParamValue
  • Field Details

  • Constructor Details

    • LongParamValue

      public LongParamValue()
    • LongParamValue

      public LongParamValue(long value)
    • LongParamValue

      public LongParamValue(@Nonnull LongParamValue other)
  • Method Details

    • deserialize

      @Nonnull public static LongParamValue deserialize(@Nonnull io.netty.buffer.ByteBuf buf, int offset)
    • computeBytesConsumed

      public static int computeBytesConsumed(@Nonnull io.netty.buffer.ByteBuf buf, int offset)
    • serialize

      public int serialize(@Nonnull io.netty.buffer.ByteBuf buf)
      Specified by:
      serialize in class ParamValue
    • computeSize

      public int computeSize()
      Specified by:
      computeSize in class ParamValue
    • validateStructure

      public static ValidationResult validateStructure(@Nonnull io.netty.buffer.ByteBuf buffer, int offset)
    • clone

      public LongParamValue clone()
      Overrides:
      clone in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object