Class ResourcePackRemovePacket

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

public class ResourcePackRemovePacket extends net.md_5.bungee.protocol.DefinedPacket
Created by Phoenix616 on 24.03.2015.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
    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
  • Constructor Details

    • ResourcePackRemovePacket

      public ResourcePackRemovePacket()
    • ResourcePackRemovePacket

      @ConstructorProperties("uuid") public ResourcePackRemovePacket(UUID uuid)
  • 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
    • getUuid

      public UUID getUuid()
    • 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