QcMsg::TradeState Struct
struct QcMsg::TradeStateServer -> client: the trading screen of the villager villager opened or changed (a trade, a restock, a level gained). More...
| Header: | #include <common/protocol/QcTradeMessages.h> |
Public Variables
| qint32 | experience |
| qint32 | level |
| qint32 | levelEnd |
| qint32 | levelStart |
| QList<QcMsg::TradeOffer> | offers |
| QString | profession |
| quint32 | villager |
Static Public Members
| const int | maxOffers |
Detailed Description
profession is the translation key of its profession; experience runs from levelStart to levelEnd (equal at the highest level).
Member Variable Documentation
qint32 TradeState::level
Its level.
const int TradeState::maxOffers
The most offers; the decoder refuses more.
QList<QcMsg::TradeOffer> TradeState::offers
Its offers.
QString TradeState::profession
The translation key of its profession.
quint32 TradeState::villager
The villager's entity id.