C0FPacketConfirmTransaction

new C0FPacketConfirmTransaction(int windowId, short actionNumber, boolean accepted)

Constructs a new C0FPacketConfirmTransaction object with specified windowId, actionNumber, and accepted status. windowId is the identifier for the transaction window, actionNumber is a short value representing the action number, and accepted is a boolean indicating whether the transaction is accepted or not.

getWindowId(): int

Returns the window ID associated with this transaction. The window ID is an integer value identifying the inventory window in which the transaction occurred.

getUid(): int

Retrieves the unique transaction identifier (UID). This UID is used to track and confirm inventory transactions.

isAccepted(): boolean

Whether the transaction was accepted by the server.

setWindowId(int windowId): void

setUid(int uid): void

setAccepted(boolean accepted): void

Last updated