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

Method has_static_method

modules/gdscript/gdscript.cpp:371–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369}
370
371bool GDScript::has_static_method(const StringName &p_method) const {
372 return member_functions.has(p_method) && member_functions[p_method]->is_static();
373}
374
375int GDScript::get_script_method_argument_count(const StringName &p_method, bool *r_is_valid) const {
376 HashMap<StringName, GDScriptFunction *>::ConstIterator E = member_functions.find(p_method);

Callers

nothing calls this directly

Calls 2

hasMethod · 0.45
is_staticMethod · 0.45

Tested by

no test coverage detected