In my BP I try to create a custom event to bind to it, but will get an error. With a different delegate it worked using FString and int32 as output types.
Nope. “Server.h(30): error : Missing ‘<’ in ‘tarray’” if i try: DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FUserServerDataDelegate, const TArray&, action);
You are right. I have edited the code. Even though it is the same as I gave in my question, I think in the end it was how I was binding the event in BP was wrong.
I’m also new to this so arrived here while looking for answers. Just in case anyone else stumbles across this page in future, allow me to try and be of assistance:
From what I understand, variables passed by reference are treated as output nodes and those that are not passed by reference are treated as input nodes. Simple as that.