public class PluginMessage extends DefinedPacket
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Predicate<PluginMessage> |
SHOULD_RELAY |
| Constructor and Description |
|---|
PluginMessage() |
| Modifier and Type | Method and Description |
|---|---|
DataInput |
getStream() |
void |
handle(AbstractPacketHandler handler) |
void |
read(io.netty.buffer.ByteBuf buf,
ProtocolConstants.Direction direction,
int protocolVersion) |
void |
write(io.netty.buffer.ByteBuf buf,
ProtocolConstants.Direction direction,
int protocolVersion) |
equals, hashCode, read, readArray, readArray, readString, readStringArray, readUUID, readVarInt, readVarInt, readVarShort, toArray, toString, write, writeArray, writeString, writeStringArray, writeUUID, writeVarInt, writeVarShortpublic static final com.google.common.base.Predicate<PluginMessage> SHOULD_RELAY
public void read(io.netty.buffer.ByteBuf buf,
ProtocolConstants.Direction direction,
int protocolVersion)
read in class DefinedPacketpublic void write(io.netty.buffer.ByteBuf buf,
ProtocolConstants.Direction direction,
int protocolVersion)
write in class DefinedPacketpublic void handle(AbstractPacketHandler handler) throws Exception
handle in class DefinedPacketExceptionpublic DataInput getStream()
Copyright © 2012–2018 SpigotMC. All rights reserved.