public class ClientStatus extends DefinedPacket
Constructor and Description |
---|
ClientStatus() |
ClientStatus(byte payload) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
byte |
getPayload() |
void |
handle(AbstractPacketHandler handler) |
int |
hashCode() |
void |
read(io.netty.buffer.ByteBuf buf) |
void |
setPayload(byte payload) |
String |
toString() |
void |
write(io.netty.buffer.ByteBuf buf) |
read, readArray, readArray, readString, readStringArray, readUUID, readVarInt, readVarInt, readVarIntArray, readVarShort, toArray, write, writeArray, writeString, writeStringArray, writeUUID, writeVarInt, writeVarShort
public ClientStatus()
public ClientStatus(byte payload)
public void read(io.netty.buffer.ByteBuf buf)
read
in class DefinedPacket
public void write(io.netty.buffer.ByteBuf buf)
write
in class DefinedPacket
public void handle(AbstractPacketHandler handler) throws Exception
handle
in class DefinedPacket
Exception
public byte getPayload()
public void setPayload(byte payload)
public String toString()
toString
in class DefinedPacket
public boolean equals(Object o)
equals
in class DefinedPacket
protected boolean canEqual(Object other)
public int hashCode()
hashCode
in class DefinedPacket
Copyright © 2012–2020 SpigotMC. All rights reserved.