How to make a C++ event callable from within the editor?

It looks like the only other way to do this using C++ is using details panel customization, which is an absolute headache because there’s zero documentation or examples…