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_)
52 ATW_RPROP(quint32, attacktype, attacktype)
68 ATW_PROP(
int, maxgrace, stats.maxgrace)
70 ATW_PROP(qint64, experience, stats.exp)
74 ATW_RPROP(QString, materialName, materialname)
99 #endif // CRE_WRAPPER_OBJECT_h