13 #ifndef CRE_WRAPPER_OBJECT_h
14 #define CRE_WRAPPER_OBJECT_h
30 #define OBJ_FLAG(name_, flag_) \
32 bool name_() const { return QUERY_FLAG(myWrappedItem, flag_); } \
33 void name_(bool value) const { if (value) SET_FLAG(myWrappedItem, flag_); else CLEAR_FLAG(myWrappedItem, flag_); } \
34 Q_PROPERTY(bool name_ READ name_ WRITE name_)
53 ATW_RPROP(quint32, attacktype, attacktype)
69 ATW_PROP(
int, maxgrace, stats.maxgrace)
71 ATW_PROP(qint64, experience, stats.exp)
75 ATW_RPROP(QString, materialName, materialname)
81 ATW_PROP(quint32, path_attuned, path_attuned);
82 ATW_PROP(quint32, path_repelled, path_repelled);
83 ATW_PROP(quint32, path_denied, path_denied);
105 #endif // CRE_WRAPPER_OBJECT_h