public class SPacketConfirmTransaction extends java.lang.Object implements Packet<INetHandlerPlayClient>
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) |
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()