public class PacketPlayOutKeepAlive extends OutPacket
| Modifier and Type | Field and Description |
|---|---|
protected int |
keepAliveId |
| Constructor and Description |
|---|
PacketPlayOutKeepAlive() |
| 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
|
int |
keepAliveId() |
decode, direction, handleReceived, setprotected int keepAliveId
public PacketPlayOutKeepAlive()
public int id()
Packetpublic int keepAliveId()
Copyright © 2016. All rights reserved.