MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / script_class_get_name

Method script_class_get_name

editor/editor_data.cpp:1047–1049  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1045}
1046
1047StringName EditorData::script_class_get_name(const String &p_path) const {
1048 return _script_class_file_to_path.has(p_path) ? _script_class_file_to_path[p_path] : StringName();
1049}
1050
1051void EditorData::script_class_set_name(const String &p_path, const StringName &p_class) {
1052 _script_class_file_to_path[p_path] = p_class;

Callers 6

set_property_infoMethod · 0.80
_update_iconMethod · 0.80
_file_selectedMethod · 0.80
_get_resource_typeMethod · 0.80

Calls 2

StringNameClass · 0.50
hasMethod · 0.45

Tested by 2

set_property_infoMethod · 0.64
_update_iconMethod · 0.64