public class SPacketDisconnect extends java.lang.Object implements Packet<INetHandlerLoginClient>
Constructor and Description |
---|
SPacketDisconnect() |
SPacketDisconnect(ITextComponent p_i46853_1_) |
Modifier and Type | Method and Description |
---|---|
ITextComponent |
getReason() |
void |
processPacket(INetHandlerLoginClient handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
public SPacketDisconnect()
public SPacketDisconnect(ITextComponent p_i46853_1_)
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 ITextComponent getReason()