Download

DYNAMIC_DELEGATE params

Hey.

Could someone explain to me what are the parameters on this one?
DECLARE_DYNAMIC_MULTICAST_SPARSE_DELEGATE_FiveParams( FComponentHitSignature, UPrimitiveComponent, OnComponentHit, UPrimitiveComponent*, HitComponent, AActor*, OtherActor, UPrimitiveComponent*, OtherComp, FVector, NormalImpulse, const FHitResult&, Hit );

My code is:
**
CollisionMesh->OnComponentHit.AddDynamic(this, &AProjectile::OnHit);

void AProjectile::OnHit(UPrimitiveComponent* HitComponent, AActor* OtherActor, UPrimitiveComponent* OtherComponent, FVector NormalImpulse, const FHitResult& Hit) {…}
**

I kind of understand who it works(if you really feel like to explain in detail don’t feel like im tryin to stop you) but i’m not sure about the OnHit’s params. Could someone pls help?