Go to the documentation of this file.
23 addSpinBox(tr(
"Chance:"),
"chance", 0, 255,
false);
24 addSpinBox(tr(
"Magic:"),
"magic", 0, 255,
false);
25 addSpinBox(tr(
"Count:"),
"nrof", 0, 65535,
false);
38 event->acceptProposedAction();
43 event->acceptProposedAction();
50 event->acceptProposedAction();
55 event->acceptProposedAction();
TreasureListComboBox * addTreasureList(const QString &label, const char *property, bool readOnly=true, bool allowNone=true)
ArchetypeComboBox * addArchetype(const QString &label, const char *property, bool readOnly=false, bool allowNone=true)
virtual void dropEvent(QDropEvent *event) override
ArchetypeComboBox * myArch
other than new code I created new archetypes
void setList(const treasurelist *list)
QLineEdit * addLineEdit(const QString &label, const char *property, bool readOnly=true)
static const char * TreasureList
AssetsManager * getManager()
virtual void dragMoveEvent(QDragMoveEvent *event) override
QSpinBox * addSpinBox(const QString &label, const char *property, int min=0, int max=100, bool readOnly=true)
TreasureListComboBox * myList
TreasurePanel(QWidget *parent)
static QList< T * > extract(const QMimeData *data, const QString &mime, AssetsCollection< T > *assets)
void setArch(const archetype *arch)
Crossfire Protocol most of the time after the actual code was already omit certain important and possibly make life miserable any new developer or curious player should be able to find most of the relevant information here If inconsistencies are found or this documentation proves to be consider the latest server side protocol code in the public source code repository as the authoritative reference Introduction If you were ever curious enough to telnet or netcat to a Crossfire chances are you were sorely disappointed While the protocol may seem to use plain text at it actually uses a mix of ASCII and binary data This handbook attempts to document various aspects of the Crossfire protocol As consult the README file to find out how to get in touch with helpful people via mailing lists
virtual void dragEnterEvent(QDragEnterEvent *event) override
static void setHelpId(QWidget *widget, const QString &id)
static const char * Archetype
event
DIALOGCHECK MINARGS 1 MAXARGS 2