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

Method callp

modules/mono/csharp_script.cpp:1703–1711  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1701}
1702
1703Variant CSharpInstance::callp(const StringName &p_method, const Variant **p_args, int p_argcount, Callable::CallError &r_error) {
1704 ERR_FAIL_COND_V(script.is_null(), Variant());
1705
1706 Variant ret;
1707 GDMonoCache::managed_callbacks.CSharpInstanceBridge_Call(
1708 gchandle.get_intptr(), &p_method, p_args, p_argcount, &r_error, &ret);
1709
1710 return ret;
1711}
1712
1713bool CSharpInstance::_reference_owner_unsafe() {
1714#ifdef DEBUG_ENABLED

Callers 7

godotsharp_callable_callFunction · 0.45
run_testsMethod · 0.45
pollMethod · 0.45
instantiate_customMethod · 0.45
_process_rpcMethod · 0.45
rpcpMethod · 0.45
is_visible_toMethod · 0.45

Calls 4

callpFunction · 0.85
get_intptrMethod · 0.80
VariantClass · 0.50
is_nullMethod · 0.45

Tested by

no test coverage detected