s_tradeAccepted
global · ui
- Address
0xb71730· 8 bytes, up to0xb71737- Type
uint32_t[2]- Meaning
- Holds the accept flags of the trade: the player's, then the partner's
- Confidence
- verified, proof one
- Finding
- ui/trade#accept-flags
Finding: Accept flags in ui: trade requests and status messages
Two flags hold the accept state: the player's (0xb71730) and the partner's (0xb71734). 0x4bf230(flag) and
0x4bf280(flag) set them and signal TRADE_ACCEPT_UPDATE (0x142) with both flags, player first, only when the flag
changes. Status 4 sets the partner's flag; status 9 clears it. Status 7 clears the player's, then the partner's, so it
can signal twice. A change of the player's flag also sends CMSG_ACCEPT_TRADE (0x11a) or CMSG_UNACCEPT_TRADE
(0x11b); AcceptTrade() and CancelTradeAccept() set it, and a new partner offer clears both flags.
The derivation is in the doc.