How to create a function with multiple return values?

You can also use TTuple
TTuple<int32, float, AActor*> GetData();