QtCraft API C++ classes QML types Handbook

QcMsg::EnchantingOffer Struct

struct QcMsg::EnchantingOffer

One of the three offers as the player sees it: the levels it needs (0: no offer) and, as a clue, the first enchantment it gives (its content name and level). More...

Header: #include <common/protocol/QcMachineMessages.h>

Public Variables

QString clue
qint32 clueLevel
qint32 levelCost

Detailed Description

Member Variable Documentation

QString EnchantingOffer::clue

The content name of the first enchantment it gives.

qint32 EnchantingOffer::clueLevel

The level of that enchantment.

qint32 EnchantingOffer::levelCost

The levels the offer needs; 0 for no offer.