| 22 | } |
| 23 | |
| 24 | PyObject *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 |
| 39 | PyObject *py_ue_world_tick(ue_PyUObject *self, PyObject * args) { |
nothing calls this directly
no test coverage detected