mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Merge commit godotengine/godot@71a9948157
This commit is contained in:
@@ -865,3 +865,13 @@ void CoreConstants::get_enum_values(const StringName &p_enum, HashMap<StringName
|
||||
(*p_values)[constant.name] = constant.value;
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
|
||||
void CoreConstants::get_global_enums(List<StringName> *r_values) {
|
||||
for (const KeyValue<StringName, Vector<_CoreConstant>> &global_enum : _global_enums) {
|
||||
r_values->push_back(global_enum.key);
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user