public class FMLProxyPacket extends Packet
Constructor and Description |
---|
FMLProxyPacket(ByteBuf payload,
java.lang.String channel) |
FMLProxyPacket(C17PacketCustomPayload original) |
FMLProxyPacket(S3FPacketCustomPayload original) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
channel() |
NetworkDispatcher |
getDispatcher() |
NetworkManager |
getOrigin() |
Side |
getTarget() |
INetHandler |
handler() |
ByteBuf |
payload() |
void |
processPacket(INetHandler inethandler) |
void |
readPacketData(PacketBuffer packetbuffer) |
void |
setDispatcher(NetworkDispatcher networkDispatcher) |
void |
setTarget(Side target) |
Packet |
toC17Packet() |
Packet |
toS3FPacket() |
void |
writePacketData(PacketBuffer packetbuffer) |
generatePacket, hasPriority, readBlob, serialize, toString, writeBlob
public FMLProxyPacket(S3FPacketCustomPayload original)
public FMLProxyPacket(C17PacketCustomPayload original)
public FMLProxyPacket(ByteBuf payload, java.lang.String channel)
public void readPacketData(PacketBuffer packetbuffer) throws java.io.IOException
readPacketData
in class Packet
java.io.IOException
public void writePacketData(PacketBuffer packetbuffer) throws java.io.IOException
writePacketData
in class Packet
java.io.IOException
public void processPacket(INetHandler inethandler)
processPacket
in class Packet
public java.lang.String channel()
public ByteBuf payload()
public INetHandler handler()
public Packet toC17Packet()
public Packet toS3FPacket()
public void setTarget(Side target)
public void setDispatcher(NetworkDispatcher networkDispatcher)
public NetworkManager getOrigin()
public NetworkDispatcher getDispatcher()
public Side getTarget()