Change ClassDB::get_class_list and related stuff.

This commit is contained in:
Yufeng Ying 2025-01-08 20:01:55 +08:00
parent 99a39ce6ea
commit a50fc5acd8
23 changed files with 155 additions and 150 deletions

View file

@ -1191,8 +1191,8 @@ bool ProjectConverter3To4::test_array_names() {
// }
//}
List<StringName> classes_list;
ClassDB::get_class_list(&classes_list);
LocalVector<StringName> classes_list;
ClassDB::get_class_list(classes_list);
for (StringName &name_of_class : classes_list) {
List<MethodInfo> method_list;
ClassDB::get_method_list(name_of_class, &method_list, true);