public class SPacketLoginSuccess extends java.lang.Object implements Packet<INetHandlerLoginClient>
Modifier and Type | Field and Description |
---|---|
private com.mojang.authlib.GameProfile |
profile |
Constructor and Description |
---|
SPacketLoginSuccess() |
SPacketLoginSuccess(com.mojang.authlib.GameProfile profileIn) |
Modifier and Type | Method and Description |
---|---|
com.mojang.authlib.GameProfile |
getProfile() |
void |
processPacket(INetHandlerLoginClient handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
public SPacketLoginSuccess()
public SPacketLoginSuccess(com.mojang.authlib.GameProfile profileIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerLoginClient>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerLoginClient>
java.io.IOException
public void processPacket(INetHandlerLoginClient handler)
processPacket
in interface Packet<INetHandlerLoginClient>
public com.mojang.authlib.GameProfile getProfile()