Class Selector

java.lang.Object
com.hypixel.hytale.protocol.Selector
Direct Known Subclasses:
AOECircleSelector, AOECylinderSelector, DonutSelector, HorizontalSelector, RaycastSelector, StabSelector

public abstract class Selector extends Object
  • Field Details

  • Constructor Details

    • Selector

      public Selector()
  • Method Details

    • toObject

      public static Selector toObject(MemorySegment mem)
    • toObject

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

      public static Selector 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()