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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getHash()
int
getUuid()
void
handle
(net.md_5.bungee.protocol.AbstractPacketHandler handler) int
hashCode()
void
read
(io.netty.buffer.ByteBuf buf) void
read
(io.netty.buffer.ByteBuf buf, net.md_5.bungee.protocol.ProtocolConstants.Direction direction, int protocolVersion) toString()
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
-
Field Details
-
uuid
-
hash
-
status
protected int status
-
-
Constructor Details
-
ResourcePackStatusPacket
public ResourcePackStatusPacket()
-
-
Method Details
-
handle
- Specified by:
handle
in classnet.md_5.bungee.protocol.DefinedPacket
- Throws:
Exception
-
read
public void read(io.netty.buffer.ByteBuf buf) - Overrides:
read
in classnet.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 classnet.md_5.bungee.protocol.DefinedPacket
-
write
public void write(io.netty.buffer.ByteBuf buf) - Overrides:
write
in classnet.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 classnet.md_5.bungee.protocol.DefinedPacket
-
getHash
-
getUuid
-
getStatusId
public int getStatusId() -
toString
- Specified by:
toString
in classnet.md_5.bungee.protocol.DefinedPacket
-
equals
- Specified by:
equals
in classnet.md_5.bungee.protocol.DefinedPacket
-
hashCode
public int hashCode()- Specified by:
hashCode
in classnet.md_5.bungee.protocol.DefinedPacket
-