public class PacketLoginOutSuccess extends OutPacket
| Modifier and Type | Field and Description |
|---|---|
protected ClientConnection |
connection
Connection of the client, currently not used
|
protected String |
username
Username of the client
|
protected String |
uuid
UUID of the client, represented as a String and contains dashes
|
| Constructor and Description |
|---|
PacketLoginOutSuccess() |
| Modifier and Type | Method and Description |
|---|---|
ClientConnection |
connection() |
PacketDirection |
direction()
Returns the packet direction
|
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 |
uniqueId() |
String |
username() |
decode, handleReceived, setprotected ClientConnection connection
public PacketLoginOutSuccess()
public int id()
Packetpublic PacketDirection direction()
Packetdirection in interface Packetdirection in class OutPacketPacketDirection.IN or
PacketDirection.OUT depending on directionpublic ClientConnection connection()
Copyright © 2016. All rights reserved.