public class SConfirmTransactionPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
Modifier and Type | Field and Description |
---|---|
private boolean |
accepted |
private short |
actionNumber |
private int |
windowId |
Constructor and Description |
---|
SConfirmTransactionPacket() |
SConfirmTransactionPacket(int windowIdIn,
short actionNumberIn,
boolean acceptedIn) |
Modifier and Type | Method and Description |
---|---|
short |
getActionNumber() |
int |
getWindowId() |
void |
processPacket(IClientPlayNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
boolean |
wasAccepted() |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
private int windowId
private short actionNumber
private boolean accepted
public SConfirmTransactionPacket()
public SConfirmTransactionPacket(int windowIdIn, short actionNumberIn, boolean acceptedIn)
public void processPacket(IClientPlayNetHandler handler)
processPacket
in interface IPacket<IClientPlayNetHandler>
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public int getWindowId()
public short getActionNumber()
public boolean wasAccepted()