feat: updated godot version
This commit is contained in:
parent
0c508b0831
commit
42b028dbb5
4694 changed files with 236470 additions and 401376 deletions
|
|
@ -35,6 +35,7 @@
|
|||
#include "core/config/project_settings.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/json.h"
|
||||
#include "core/version.h"
|
||||
|
||||
void class_db_api_to_json(const String &p_output_file, ClassDB::APIType p_api) {
|
||||
Dictionary classes_dict;
|
||||
|
|
@ -50,9 +51,9 @@ void class_db_api_to_json(const String &p_output_file, ClassDB::APIType p_api) {
|
|||
}
|
||||
|
||||
Dictionary class_dict;
|
||||
classes_dict[t->gdtype->get_name()] = class_dict;
|
||||
classes_dict[t->name] = class_dict;
|
||||
|
||||
class_dict["inherits"] = t->gdtype->get_super_type_name();
|
||||
class_dict["inherits"] = t->inherits;
|
||||
|
||||
{ //methods
|
||||
|
||||
|
|
@ -121,7 +122,7 @@ void class_db_api_to_json(const String &p_output_file, ClassDB::APIType p_api) {
|
|||
|
||||
List<StringName> snames;
|
||||
|
||||
for (const KeyValue<StringName, int64_t> &F : t->gdtype->get_integer_constant_map(true)) {
|
||||
for (const KeyValue<StringName, int64_t> &F : t->constant_map) {
|
||||
snames.push_back(F.key);
|
||||
}
|
||||
|
||||
|
|
@ -134,7 +135,7 @@ void class_db_api_to_json(const String &p_output_file, ClassDB::APIType p_api) {
|
|||
constants.push_back(constant_dict);
|
||||
|
||||
constant_dict["name"] = F;
|
||||
constant_dict["value"] = t->gdtype->get_integer_constant_map(true)[F];
|
||||
constant_dict["value"] = t->constant_map[F];
|
||||
}
|
||||
|
||||
if (!constants.is_empty()) {
|
||||
|
|
@ -146,7 +147,7 @@ void class_db_api_to_json(const String &p_output_file, ClassDB::APIType p_api) {
|
|||
|
||||
List<StringName> snames;
|
||||
|
||||
for (const KeyValue<StringName, const MethodInfo *> &F : t->gdtype->get_signal_map(true)) {
|
||||
for (const KeyValue<StringName, MethodInfo> &F : t->signal_map) {
|
||||
snames.push_back(F.key);
|
||||
}
|
||||
|
||||
|
|
@ -158,7 +159,7 @@ void class_db_api_to_json(const String &p_output_file, ClassDB::APIType p_api) {
|
|||
Dictionary signal_dict;
|
||||
signals.push_back(signal_dict);
|
||||
|
||||
const MethodInfo &mi = *t->gdtype->get_signal_map(true)[F];
|
||||
MethodInfo &mi = t->signal_map[F];
|
||||
signal_dict["name"] = F;
|
||||
|
||||
Array arguments;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue