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

Function py_ue_play

Source/UnrealEnginePython/Private/UEPyWorld.cpp:24–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24PyObject *py_ue_play(ue_PyUObject *self, PyObject * args) {
25
26 ue_py_check(self);
27
28 UWorld *world = ue_get_uworld(self);
29 if (!world)
30 return PyErr_Format(PyExc_Exception, "unable to retrieve UWorld from uobject");
31
32 world->BeginPlay();
33
34 Py_INCREF(Py_None);
35 return Py_None;
36}
37
38// mainly used for testing
39PyObject *py_ue_world_tick(ue_PyUObject *self, PyObject * args) {

Callers

nothing calls this directly

Calls 2

ue_get_uworldFunction · 0.85
BeginPlayMethod · 0.45

Tested by

no test coverage detected