|
Crossfire Server, Trunk
|
#include <QtWidgets>#include "global.h"#include "artifact.h"#include "CREArtifactPanel.h"#include "CREUtils.h"#include "CREAnimationWidget.h"#include "assets.h"#include "AssetsManager.h"#include "Archetypes.h"
Include dependency graph for CREArtifactPanel.cpp:Go to the source code of this file.
Functions | |
| static void | addArchetypes (const artifact *artifact, const char *name, bool check, QTreeWidget *root) |
|
static |
Add all possible archetypes for the specified artifact.
| artifact | artifact. Only the type is used. |
| name | archetype or object name to allow. If NULL, all items of the correct type are added. |
| check | if true then the archetype or object's name must match, else it must not match. |
| root | tree to insert items into. |
Definition at line 125 of file CREArtifactPanel.cpp.
References archininventory::arch, CREUtils::archetypeNode(), AssetsManager::archetypes(), reputation_trigger_connect::check(), AssetsCollection< T, Key >::each(), getManager(), if(), artifactstruct::item, give::name, root, and obj::type.
Referenced by CREArtifactPanel::setItem().
Here is the call graph for this function:
Here is the caller graph for this function: