I want to have my event showing up in the menu like occurs on this button:
I found this in the ue4 source under ComboBoxString.h so have copied the relevant code:
UCLASS(EditInlineNew)
class DOGFIGHT_API UEventState : public UActorState
{
GENERATED_BODY()
DECLARE_DYNAMIC_MULTICAST_DELEGATE(FOnOpeningEvent);
public:
virtual void StateInit(AGActor* owner);
virtual void StateEnter();
virtual void StateUpdate(float deltaTime);
virtual void StateExit();
// this is only used so we can give the state some usable name to help identify it
UPROPERTY(EditAnywhere, BlueprintReadWrite)
FName Name;
public: // Events
/** Called when a new item is selected in the combobox. */
UPROPERTY(BlueprintAssignable, Category = Events)
FOnOpeningEvent OnSelectionChanged;
};
Yet it doesnt show up in the details: