GDScript: Allow export of enum variables
Also fix the enum type in variables to be integer.
This commit is contained in:
parent
3e4ecd9669
commit
160c260495
3 changed files with 22 additions and 10 deletions
|
|
@ -132,7 +132,7 @@ public:
|
|||
ClassNode *class_type = nullptr;
|
||||
|
||||
MethodInfo method_info; // For callable/signals.
|
||||
HashMap<StringName, int> enum_values; // For enums.
|
||||
Map<StringName, int> enum_values; // For enums.
|
||||
|
||||
_FORCE_INLINE_ bool is_set() const { return kind != UNRESOLVED; }
|
||||
_FORCE_INLINE_ bool has_no_type() const { return type_source == UNDETECTED; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue