Can delegate has a default parameter value?
Something like:
DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FOnTakeDamage, const float, Damage, const int32, SomeParameterWithDfltValue = 0);
But it does not compiled.
I want to be able to do next:
// after declaration in .h:
UPROPERTY(BlueprintAssignable, Category = "Damage")
FOnTakeDamage OnTakeDamage;
// I want to be able to call Broadcast in two ways in .cpp:
OnTakeDamage.Broadcast(11.1, 2);
OnTakeDamage.Broadcast(11.1); // call without last argument