Class UpdateCategoryAction

java.lang.Object
com.hypixel.hytale.protocol.packets.window.WindowAction
com.hypixel.hytale.protocol.packets.window.UpdateCategoryAction

public class UpdateCategoryAction extends WindowAction
  • Field Details

  • Constructor Details

    • UpdateCategoryAction

      public UpdateCategoryAction()
    • UpdateCategoryAction

      public UpdateCategoryAction(@Nonnull String category, @Nonnull String itemCategory)
    • UpdateCategoryAction

      public UpdateCategoryAction(@Nonnull UpdateCategoryAction other)
  • Method Details

    • deserialize

      @Nonnull public static UpdateCategoryAction 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 WindowAction
    • computeSize

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

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

      public UpdateCategoryAction 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