Class AssetEditorFetchJsonAssetWithParents

java.lang.Object
com.hypixel.hytale.protocol.packets.asseteditor.AssetEditorFetchJsonAssetWithParents
All Implemented Interfaces:
Packet

public class AssetEditorFetchJsonAssetWithParents extends Object implements Packet
  • Field Details

  • Constructor Details

    • AssetEditorFetchJsonAssetWithParents

      public AssetEditorFetchJsonAssetWithParents()
    • AssetEditorFetchJsonAssetWithParents

      public AssetEditorFetchJsonAssetWithParents(int token, @Nullable AssetPath path, boolean isFromOpenedTab)
    • AssetEditorFetchJsonAssetWithParents

      public AssetEditorFetchJsonAssetWithParents(@Nonnull AssetEditorFetchJsonAssetWithParents other)
  • Method Details

    • getId

      public int getId()
      Specified by:
      getId in interface Packet
    • deserialize

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

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

      public void serialize(@Nonnull io.netty.buffer.ByteBuf buf)
      Specified by:
      serialize in interface Packet
    • computeSize

      public int computeSize()
      Specified by:
      computeSize in interface Packet
    • validateStructure

      public static ValidationResult validateStructure(@Nonnull io.netty.buffer.ByteBuf buffer, int offset)
    • 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