public class PacketPlayOutChat extends OutPacket
| Modifier and Type | Class and Description |
|---|---|
static class |
PacketPlayOutChat.ChatPosition |
| Modifier and Type | Field and Description |
|---|---|
protected String |
jsonMessage |
protected PacketPlayOutChat.ChatPosition |
position |
| Constructor and Description |
|---|
PacketPlayOutChat() |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(ByteBuf buf)
Serialized the data held by this packet into a buffer
|
int |
id()
Gets the ID of this packet, according to the protocol specification
|
String |
message() |
PacketPlayOutChat.ChatPosition |
position() |
decode, direction, handleReceived, setprotected String jsonMessage
protected PacketPlayOutChat.ChatPosition position
public PacketPlayOutChat()
public int id()
Packetpublic void encode(ByteBuf buf)
Packetbuf - the buffer to toPacket topublic PacketPlayOutChat.ChatPosition position()
Copyright © 2016. All rights reserved.