Any way to call an event when an actor is selected in editor?

They changed this code to this;

SceneOutliner::FSceneOutlinerDelegates