Class ResourcePackSendPacket

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

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

    Constructors
    Constructor
    Description
     
     
    ResourcePackSendPacket​(String url, String hash, boolean required, String promptMessage)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals​(Object o)
     
     
     
    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

    readArray, readArray, readString, readStringArray, readUUID, readVarInt, readVarInt, readVarIntArray, readVarShort, toArray, writeArray, writeString, writeStringArray, writeUUID, writeVarInt, writeVarShort

    Methods inherited from class java.lang.Object

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

  • 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
    • getUrl

      public String getUrl()
    • getHash

      public String getHash()
    • 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