how to write an event in c++ so that it is available in blueprints?

Try creating a variable in c++ with the Player Actions category, is it visible?