| 5 | |
| 6 | UCLASS() |
| 7 | class UPythonDelegate : public UObject |
| 8 | { |
| 9 | GENERATED_BODY() |
| 10 | |
| 11 | public: |
| 12 | UPythonDelegate(); |
| 13 | ~UPythonDelegate(); |
| 14 | virtual void ProcessEvent(UFunction *function, void *Parms) override; |
| 15 | void SetPyCallable(PyObject *callable); |
| 16 | void SetSignature(UFunction *original_signature); |
| 17 | |
| 18 | void PyInputHandler(); |
| 19 | void PyInputAxisHandler(float value); |
| 20 | |
| 21 | bool Tick(float DeltaTime); |
| 22 | |
| 23 | #if WITH_EDITOR |
| 24 | void PyFOnAssetPostImport(UFactory *factory, UObject *u_object); |
| 25 | #endif |
| 26 | |
| 27 | private: |
| 28 | UFunction *signature; |
| 29 | bool signature_set; |
| 30 | |
| 31 | UFUNCTION() |
| 32 | void PyFakeCallable(); |
| 33 | |
| 34 | PyObject *py_callable; |
| 35 | |
| 36 | |
| 37 | }; |
| 38 |
nothing calls this directly
no outgoing calls
no test coverage detected