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

Method has_script_signal

modules/gdscript/gdscript.cpp:1328–1341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1326}
1327
1328bool GDScript::has_script_signal(const StringName &p_signal) const {
1329 if (_signals.has(p_signal)) {
1330 return true;
1331 }
1332 if (base.is_valid()) {
1333 return base->has_script_signal(p_signal);
1334 }
1335#ifdef TOOLS_ENABLED
1336 else if (base_cache.is_valid()) {
1337 return base_cache->has_script_signal(p_signal);
1338 }
1339#endif
1340 return false;
1341}
1342
1343void GDScript::_get_script_signal_list(List<MethodInfo> *r_list, bool p_include_base) const {
1344 for (const KeyValue<StringName, MethodInfo> &E : _signals) {

Callers 7

emit_signalpMethod · 0.45
has_signalMethod · 0.45
object.cppFile · 0.45
is_connectedMethod · 0.45
has_connectionsMethod · 0.45
_disconnectMethod · 0.45

Calls 2

hasMethod · 0.45
is_validMethod · 0.45

Tested by

no test coverage detected