Hey w77
I just tested an event declaration in an interface;
DECLARE_EVENT_OneParam( UActionManager, FEventSignature, AActor* )
in the header;
static FEventSignature MyTestEvent;
In the cpp;
FEventSignature IActionManagerInterface::MyTestEvent = {};
It compiles fine. So then all I’d need to do is bind the event to a function in the UActionManager, which is the class I’ve assigned as the owning type.
MyTestEvent.BindUObject(this, &UActionManager::SomeFunction);
Let me know if that works! If the class you’re declaring it in isnt abstract, then you probably wouldn’t want it to be static.