| 211 | } |
| 212 | |
| 213 | int FakeGDScript::get_script_method_argument_count(const StringName &p_method, bool *r_is_valid) const { |
| 214 | if (_methods.has(p_method)) { |
| 215 | if (r_is_valid) { |
| 216 | *r_is_valid = true; |
| 217 | } |
| 218 | return _methods[p_method].arguments.size(); |
| 219 | } |
| 220 | if (r_is_valid) { |
| 221 | *r_is_valid = false; |
| 222 | } |
| 223 | return -1; |
| 224 | } |
| 225 | |
| 226 | MethodInfo FakeGDScript::get_method_info(const StringName &p_method) const { |
| 227 | if (_methods.has(p_method)) { |
no test coverage detected