How to use OnActorBeginOverlap c++ code?

and maybe if you know what for is the “this” variable, and what is the difference between .AddDynamic .Add .AddUnique. All questions that dont let me sleep at night.