Inital support for ENUM type items
This commit is contained in:
parent
f3fe35e778
commit
074c2bd448
1 changed files with 3 additions and 1 deletions
|
|
@ -11,7 +11,8 @@ class Actor;
|
|||
typedef enum {
|
||||
ITEM_VALUE_BOOL = 0,
|
||||
ITEM_VALUE_UINT,
|
||||
ITEM_VALUE_NO_VALUE
|
||||
ITEM_VALUE_NO_VALUE,
|
||||
ITEM_VALUE_ENUM,
|
||||
} item_value_type_t;
|
||||
|
||||
typedef enum {
|
||||
|
|
@ -33,6 +34,7 @@ protected:
|
|||
bool hidden_;
|
||||
item_value_type_t type_;
|
||||
QString groupName_;
|
||||
std::vector<QString> valueNames_;
|
||||
|
||||
public:
|
||||
ItemData(uint32_t itemIdIn = QRandomGenerator::global()->generate(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue