| 373 | } |
| 374 | |
| 375 | int 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); |
| 377 | if (!E) { |
| 378 | if (r_is_valid) { |
| 379 | *r_is_valid = false; |
| 380 | } |
| 381 | return 0; |
| 382 | } |
| 383 | |
| 384 | if (r_is_valid) { |
| 385 | *r_is_valid = true; |
| 386 | } |
| 387 | return E->value->get_argument_count(); |
| 388 | } |
| 389 | |
| 390 | MethodInfo GDScript::get_method_info(const StringName &p_method) const { |
| 391 | HashMap<StringName, GDScriptFunction *>::ConstIterator E = member_functions.find(p_method); |
nothing calls this directly
no test coverage detected