public class SLoginSuccessPacket extends java.lang.Object implements IPacket<IClientLoginNetHandler>
Modifier and Type | Field and Description |
---|---|
private com.mojang.authlib.GameProfile |
profile |
Constructor and Description |
---|
SLoginSuccessPacket() |
SLoginSuccessPacket(com.mojang.authlib.GameProfile profileIn) |
Modifier and Type | Method and Description |
---|---|
com.mojang.authlib.GameProfile |
getProfile() |
void |
processPacket(IClientLoginNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
public SLoginSuccessPacket()
public SLoginSuccessPacket(com.mojang.authlib.GameProfile profileIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IClientLoginNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IClientLoginNetHandler>
java.io.IOException
public void processPacket(IClientLoginNetHandler handler)
processPacket
in interface IPacket<IClientLoginNetHandler>
public com.mojang.authlib.GameProfile getProfile()