Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

LibGodot: Export method metadata in API dumps

Gabor Koncz9da76d5f28a2
diff --git a/core/object/method_info.cpp b/core/object/method_info.cpp
index e53a747cd2c..93d62e28529 100644
--- a/core/object/method_info.cpp
+++ b/core/object/method_info.cpp
@@ -37,6 +37,7 @@
MethodInfo::operator Dictionary() const {
Dictionary d;
d["name"] = name;
+ d["hash"] = get_compatibility_hash();
d["args"] = convert_property_list(arguments);
Array da;
for (int i = 0; i < default_arguments.size(); i++) {