How do I add a node to a blueprint with C++

Oh, had to #include “UObject/Class.h” to pass UFunction as argument.