1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Provide NativeScript properties in definition order

This commit is contained in:
Ruslan Mustakov
2017-08-13 15:37:56 +07:00
parent e611ff5f01
commit 269203a022
3 changed files with 76 additions and 30 deletions

View File

@@ -32,6 +32,7 @@
#include "io/resource_loader.h"
#include "io/resource_saver.h"
#include "ordered_hash_map.h"
#include "os/thread_safe.h"
#include "resource.h"
#include "scene/main/node.h"
@@ -65,7 +66,7 @@ struct NativeScriptDesc {
};
Map<StringName, Method> methods;
Map<StringName, Property> properties;
OrderedHashMap<StringName, Property> properties;
Map<StringName, Signal> signals_; // QtCreator doesn't like the name signals
StringName base;
StringName base_native_type;