public class S02PacketLoginSuccess extends java.lang.Object implements Packet<INetHandlerLoginClient>
| Modifier and Type | Field and Description |
|---|---|
private com.mojang.authlib.GameProfile |
profile |
| Constructor and Description |
|---|
S02PacketLoginSuccess() |
S02PacketLoginSuccess(com.mojang.authlib.GameProfile profileIn) |
| Modifier and Type | Method and Description |
|---|---|
com.mojang.authlib.GameProfile |
getProfile() |
void |
processPacket(INetHandlerLoginClient handler)
Passes this Packet on to the NetHandler for processing.
|
void |
readPacketData(PacketBuffer buf)
Reads the raw packet data from the data stream.
|
void |
writePacketData(PacketBuffer buf)
Writes the raw packet data to the data stream.
|
public S02PacketLoginSuccess()
public S02PacketLoginSuccess(com.mojang.authlib.GameProfile profileIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData in interface Packet<INetHandlerLoginClient>java.io.IOExceptionpublic void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData in interface Packet<INetHandlerLoginClient>java.io.IOExceptionpublic void processPacket(INetHandlerLoginClient handler)
processPacket in interface Packet<INetHandlerLoginClient>public com.mojang.authlib.GameProfile getProfile()