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

Method get

modules/mono/csharp_script.cpp:1505–1519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1503}
1504
1505bool 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
1521void CSharpInstance::get_property_list(List<PropertyInfo> *p_properties) const {
1522 List<PropertyInfo> props;

Callers 15

configureFunction · 0.45
get_property_listMethod · 0.45
~CSharpInstanceMethod · 0.45
_create_instanceMethod · 0.45
pascal_to_pascal_caseFunction · 0.45
bbcode_to_textMethod · 0.45
bbcode_to_xmlMethod · 0.45

Calls 2

get_intptrMethod · 0.80
is_nullMethod · 0.45

Tested by

no test coverage detected