Class ParamValue

java.lang.Object
com.hypixel.hytale.protocol.ParamValue
Direct Known Subclasses:
BoolParamValue, DoubleParamValue, IntParamValue, LongParamValue, StringParamValue

public abstract class ParamValue extends Object
  • Field Details

  • Constructor Details

    • ParamValue

      public ParamValue()
  • Method Details

    • toObject

      public static ParamValue toObject(MemorySegment mem)
    • toObject

      public static ParamValue toObject(MemorySegment mem, int offset)
    • toObject

      public static ParamValue toObject(MemorySegment mem, int offset, @Nullable ReadCursor cursor)
    • getTypeId

      public int getTypeId()
    • serialize

      public abstract int serialize(@Nonnull MemorySegment mem, int offset)
    • computeSize

      public abstract int computeSize()
    • serializeWithTypeId

      public int serializeWithTypeId(@Nonnull MemorySegment mem, int offset)
    • computeSizeWithTypeId

      public int computeSizeWithTypeId()