BindUObject passing parameter.

Hi folks, I’m trying to pass a value to the function used in the following binding;

Request->OnProcessRequestComplete().BindUObject(this, &AAPI_call::OnResponseReceived);

at the moment that function only recives the following but I also want to pass an int value to the function to execute on. How would I do that?

void ATest::OnResponseReceived(FHttpRequestPtr Request, FHttpResponsePtr Response, bool bWasSuccessful)

You would need to edit OnProcessRequestComplete to be a delegate that takes 4 parameters instead of 3.

Do you have access to the source where OnProcessRequestComplete is defined and broadcasted?

This would mean editing the engin source code, it would work but not make it very compatible.

Would I be able to check if the bindUobject function has finished before running the next function. The issue I have is it is executing other functions below before completing ie.

function with bindUobject function.
Function 2, starting before the bound function has finished.