| 55 | } |
| 56 | |
| 57 | PropertyInfo MethodBind::get_argument_info(int p_argument) const { |
| 58 | ERR_FAIL_INDEX_V(p_argument, get_argument_count(), PropertyInfo()); |
| 59 | |
| 60 | PropertyInfo info = _gen_argument_type_info(p_argument); |
| 61 | #ifdef DEBUG_ENABLED |
| 62 | if (info.name.is_empty()) { |
| 63 | info.name = p_argument < arg_names.size() ? String(arg_names[p_argument]) : String("_unnamed_arg" + itos(p_argument)); |
| 64 | } |
| 65 | #endif // DEBUG_ENABLED |
| 66 | return info; |
| 67 | } |
| 68 | |
| 69 | PropertyInfo MethodBind::get_return_info() const { |
| 70 | return _gen_argument_type_info(-1); |
no test coverage detected