public class SPacketConfirmTransaction extends java.lang.Object implements Packet<INetHandlerPlayClient>
Modifier and Type | Field and Description |
---|---|
private boolean |
accepted |
private short |
actionNumber |
private int |
windowId |
Constructor and Description |
---|
SPacketConfirmTransaction() |
SPacketConfirmTransaction(int windowIdIn,
short actionNumberIn,
boolean acceptedIn) |
Modifier and Type | Method and Description |
---|---|
short |
getActionNumber() |
int |
getWindowId() |
void |
processPacket(INetHandlerPlayClient handler) |
void |
readPacketData(PacketBuffer buf) |
boolean |
wasAccepted() |
void |
writePacketData(PacketBuffer buf) |
private int windowId
private short actionNumber
private boolean accepted
public SPacketConfirmTransaction()
public SPacketConfirmTransaction(int windowIdIn, short actionNumberIn, boolean acceptedIn)
public void processPacket(INetHandlerPlayClient handler)
processPacket
in interface Packet<INetHandlerPlayClient>
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public int getWindowId()
public short getActionNumber()
public boolean wasAccepted()