| 1503 | } |
| 1504 | |
| 1505 | bool CSharpInstance::get(const StringName &p_name, Variant &r_ret) const { |
| 1506 | ERR_FAIL_COND_V(script.is_null(), false); |
| 1507 | |
| 1508 | Variant ret_value; |
| 1509 | |
| 1510 | bool ret = GDMonoCache::managed_callbacks.CSharpInstanceBridge_Get( |
| 1511 | gchandle.get_intptr(), &p_name, &ret_value); |
| 1512 | |
| 1513 | if (ret) { |
| 1514 | r_ret = ret_value; |
| 1515 | return true; |
| 1516 | } |
| 1517 | |
| 1518 | return false; |
| 1519 | } |
| 1520 | |
| 1521 | void CSharpInstance::get_property_list(List<PropertyInfo> *p_properties) const { |
| 1522 | List<PropertyInfo> props; |
no test coverage detected