MCPcopy Create free account
hub / github.com/20tab/UnrealEnginePython / py_ue_call

Function py_ue_call

Source/UnrealEnginePython/Private/UEPyObject.cpp:424–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422}
423
424PyObject *py_ue_call(ue_PyUObject *self, PyObject * args) {
425
426 ue_py_check(self);
427
428 char *call_args;
429 if (!PyArg_ParseTuple(args, "s:call", &call_args)) {
430 return NULL;
431 }
432
433 FOutputDeviceNull od_null;
434 if (!self->ue_object->CallFunctionByNameWithArguments(UTF8_TO_TCHAR(call_args), od_null, NULL, true)) {
435 return PyErr_Format(PyExc_Exception, "error while calling \"%s\"", call_args);
436 }
437
438 Py_INCREF(Py_None);
439 return Py_None;
440
441}
442
443PyObject *py_ue_broadcast(ue_PyUObject *self, PyObject *args) {
444

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected