@@ -366,6 +366,9 @@ static PyMethodDef unreal_engine_methods[] = {
366366 { " editor_get_pie_viewport_size" , py_unreal_engine_editor_get_pie_viewport_size, METH_VARARGS , " " },
367367
368368 { " editor_take_high_res_screen_shots" , py_unreal_engine_editor_take_high_res_screen_shots, METH_VARARGS , " " },
369+
370+ { " register_settings" , py_unreal_engine_register_settings, METH_VARARGS , " " },
371+ { " unregister_settings" , py_unreal_engine_unregister_settings, METH_VARARGS , " " },
369372#endif
370373
371374
@@ -424,6 +427,9 @@ static PyMethodDef ue_PyUObject_methods[] = {
424427
425428 { " get_property" , (PyCFunction)py_ue_get_property, METH_VARARGS , " " },
426429 { " set_property" , (PyCFunction)py_ue_set_property, METH_VARARGS , " " },
430+ { " set_property_flags" , (PyCFunction)py_ue_set_property_flags, METH_VARARGS , " " },
431+ { " add_property_flags" , (PyCFunction)py_ue_add_property_flags, METH_VARARGS , " " },
432+ { " get_property_flags" , (PyCFunction)py_ue_get_property_flags, METH_VARARGS , " " },
427433 { " properties" , (PyCFunction)py_ue_properties, METH_VARARGS , " " },
428434 { " get_property_class" , (PyCFunction)py_ue_get_property_class, METH_VARARGS , " " },
429435 { " has_property" , (PyCFunction)py_ue_has_property, METH_VARARGS , " " },
@@ -606,6 +612,13 @@ static PyMethodDef ue_PyUObject_methods[] = {
606612
607613 { " get_class" , (PyCFunction)py_ue_get_class, METH_VARARGS , " " },
608614 { " class_generated_by" , (PyCFunction)py_ue_class_generated_by, METH_VARARGS , " " },
615+ { " class_get_flags" , (PyCFunction)py_ue_class_get_flags, METH_VARARGS , " " },
616+ { " class_set_flags" , (PyCFunction)py_ue_class_set_flags, METH_VARARGS , " " },
617+
618+ #if WITH_EDITOR
619+ { " class_get_config_name" , (PyCFunction)py_ue_class_get_config_name, METH_VARARGS , " " },
620+ { " class_set_config_name" , (PyCFunction)py_ue_class_set_config_name, METH_VARARGS , " " },
621+ #endif
609622 { " get_actor_components" , (PyCFunction)py_ue_actor_components, METH_VARARGS , " " },
610623 { " components" , (PyCFunction)py_ue_actor_components, METH_VARARGS , " " },
611624 { " get_components" , (PyCFunction)py_ue_actor_components, METH_VARARGS , " " },
@@ -1921,6 +1934,19 @@ void unreal_engine_init_py_module()
19211934 PyDict_SetItemString (unreal_engine_dict, " IE_RELEASED" , PyLong_FromLong (EInputEvent::IE_Released));
19221935 PyDict_SetItemString (unreal_engine_dict, " IE_REPEAT" , PyLong_FromLong (EInputEvent::IE_Repeat));
19231936
1937+ // Classes
1938+ PyDict_SetItemString (unreal_engine_dict, " CLASS_CONFIG" , PyLong_FromUnsignedLongLong ((uint64)CLASS_Config));
1939+ PyDict_SetItemString (unreal_engine_dict, " CLASS_DEFAULT_CONFIG" , PyLong_FromUnsignedLongLong ((uint64)CLASS_DefaultConfig));
1940+ PyDict_SetItemString (unreal_engine_dict, " CLASS_ABSTRACT" , PyLong_FromUnsignedLongLong ((uint64)CLASS_Abstract));
1941+ PyDict_SetItemString (unreal_engine_dict, " CLASS_INTERFACE" , PyLong_FromUnsignedLongLong ((uint64)CLASS_Interface));
1942+
1943+ // Properties
1944+ PyDict_SetItemString (unreal_engine_dict, " CPF_CONFIG" , PyLong_FromUnsignedLongLong ((uint64)CPF_Config));
1945+ PyDict_SetItemString (unreal_engine_dict, " CPF_GLOBAL_CONFIG" , PyLong_FromUnsignedLongLong ((uint64)CPF_GlobalConfig));
1946+ PyDict_SetItemString (unreal_engine_dict, " CPF_EXPOSE_ON_SPAWN" , PyLong_FromUnsignedLongLong ((uint64)CPF_ExposeOnSpawn));
1947+ PyDict_SetItemString (unreal_engine_dict, " CPF_NET" , PyLong_FromUnsignedLongLong ((uint64)CPF_Net));
1948+ PyDict_SetItemString (unreal_engine_dict, " CPF_REP_NOTIFY" , PyLong_FromUnsignedLongLong ((uint64)CPF_RepNotify));
1949+
19241950#if WITH_EDITOR
19251951 PyDict_SetItemString (unreal_engine_dict, " APP_MSG_TYPE_OK" , PyLong_FromLong (EAppMsgType::Ok));
19261952 PyDict_SetItemString (unreal_engine_dict, " APP_MSG_TYPE_YES_NO" , PyLong_FromLong (EAppMsgType::YesNo));
@@ -1997,7 +2023,7 @@ void unreal_engine_py_log_error()
19972023 if (zero)
19982024 {
19992025 msg = PyBytes_AsString (zero);
2000- }
2026+ }
20012027#else
20022028 msg = PyString_AsString (PyObject_Str (value));
20032029#endif
@@ -2926,10 +2952,10 @@ PyObject *py_ue_ufunction_call(UFunction *u_function, UObject *u_obj, PyObject *
29262952 prop->ImportText (*default_key_value, prop->ContainerPtrToValuePtr <uint8>(buffer), PPF_None, NULL );
29272953#else
29282954 prop->ImportText (*default_key_value, prop->ContainerPtrToValuePtr <uint8>(buffer), PPF_Localized, NULL );
2929- #endif
2930- }
29312955#endif
29322956 }
2957+ #endif
2958+ }
29332959
29342960 Py_ssize_t tuple_len = PyTuple_Size (args);
29352961
0 commit comments