Crossfire Server, Trunk
AssetFieldCompleter.cpp File Reference
+ Include dependency graph for AssetFieldCompleter.cpp:

Go to the source code of this file.

Data Structures

struct  AssetData
 

Functions

static void addAssetData (QStandardItem *root, const AssetData &data)
 

Variables

const std::vector< AssetDataassetData
 

Function Documentation

◆ addAssetData()

static void addAssetData ( QStandardItem *  root,
const AssetData data 
)
static

Fill the model with properties for the assets.

Parameters
rootbase item to add properties to.
dataasset fields to add.

Definition at line 47 of file AssetFieldCompleter.cpp.

References navar-midane_time::data, npc_dialog::index, and root.

Referenced by AssetFieldCompleter::AssetFieldCompleter().

+ Here is the caller graph for this function:

Variable Documentation

◆ assetData

const std::vector<AssetData> assetData
Initial value:
= {
{ "region", &RegionWrapper::staticMetaObject, { } },
{ "map", &CREMapInformation::staticMetaObject, { } },
{ "archetype", &ArchetypeWrapper::staticMetaObject, { { "clone", &ObjectWrapper::staticMetaObject, { } } } },
{ "artifact", &ArtifactWrapper::staticMetaObject, { } },
{ "treasurelist", &TreasureListWrapper::staticMetaObject, { } },
{ "face", &FaceWrapper::staticMetaObject, { } },
{ "quest", &QuestWrapper::staticMetaObject, { } },
}

All available completions.

Definition at line 32 of file AssetFieldCompleter.cpp.

Referenced by AssetFieldCompleter::AssetFieldCompleter().