Class ResourcePackStatusPacket

java.lang.Object
net.md_5.bungee.protocol.DefinedPacket
de.themoep.resourcepacksplugin.bungee.packets.ResourcePackStatusPacket

public class ResourcePackStatusPacket extends net.md_5.bungee.protocol.DefinedPacket
Created by Phoenix616 on 17.06.2015.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Optional<String>
     
    protected int
     
    protected Optional<UUID>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
    int
     
     
    void
    handle(net.md_5.bungee.protocol.AbstractPacketHandler handler)
     
    int
     
    void
    read(io.netty.buffer.ByteBuf buf)
     
    void
    read(io.netty.buffer.ByteBuf buf, net.md_5.bungee.protocol.ProtocolConstants.Direction direction, int protocolVersion)
     
     
    void
    write(io.netty.buffer.ByteBuf buf)
     
    void
    write(io.netty.buffer.ByteBuf buf, net.md_5.bungee.protocol.ProtocolConstants.Direction direction, int protocolVersion)
     

    Methods inherited from class net.md_5.bungee.protocol.DefinedPacket

    nextProtocol, read, readArray, readArray, readBaseComponent, readBaseComponent, readComponentStyle, readEitherBaseComponent, readEnumSet, readFixedBitSet, readNullable, readNumberFormat, readProperties, readPublicKey, readString, readString, readStringArray, readTag, readUUID, readVarInt, readVarInt, readVarIntArray, readVarShort, toArray, write, writeArray, writeBaseComponent, writeComponentStyle, writeEitherBaseComponent, writeEnumSet, writeFixedBitSet, writeNullable, writeNumberFormat, writeProperties, writePublicKey, writeString, writeString, writeStringArray, writeTag, writeUUID, writeVarInt, writeVarShort

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • ResourcePackStatusPacket

      public ResourcePackStatusPacket()
  • Method Details

    • handle

      public void handle(net.md_5.bungee.protocol.AbstractPacketHandler handler) throws Exception
      Specified by:
      handle in class net.md_5.bungee.protocol.DefinedPacket
      Throws:
      Exception
    • read

      public void read(io.netty.buffer.ByteBuf buf)
      Overrides:
      read in class net.md_5.bungee.protocol.DefinedPacket
    • read

      public void read(io.netty.buffer.ByteBuf buf, net.md_5.bungee.protocol.ProtocolConstants.Direction direction, int protocolVersion)
      Overrides:
      read in class net.md_5.bungee.protocol.DefinedPacket
    • write

      public void write(io.netty.buffer.ByteBuf buf)
      Overrides:
      write in class net.md_5.bungee.protocol.DefinedPacket
    • write

      public void write(io.netty.buffer.ByteBuf buf, net.md_5.bungee.protocol.ProtocolConstants.Direction direction, int protocolVersion)
      Overrides:
      write in class net.md_5.bungee.protocol.DefinedPacket
    • getHash

      public String getHash()
    • getUuid

      public UUID getUuid()
    • getStatusId

      public int getStatusId()
    • toString

      public String toString()
      Specified by:
      toString in class net.md_5.bungee.protocol.DefinedPacket
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in class net.md_5.bungee.protocol.DefinedPacket
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class net.md_5.bungee.protocol.DefinedPacket