Space Plunder
Loading...
Searching...
No Matches
ModalInterface.h
Go to the documentation of this file.
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Data/MenuData.h"
7#include "UObject/Interface.h"
8#include "ModalInterface.generated.h"
9
10// This class does not need to be modified.
11UINTERFACE(MinimalAPI, NotBlueprintable)
12class UModalInterface : public UInterface
13{
14 GENERATED_BODY()
15};
16
20class MENUSYSTEM_API IModalInterface
21{
22 GENERATED_BODY()
23
24 // Add interface functions to this class. This is the class that will be inherited to implement this interface.
25public:
26
27
28 UFUNCTION(BlueprintCallable, Category="Menu System|Modal")
29 virtual TSubclassOf<UUserWidget> GetModalWidgetClass(){return nullptr;};
30
31 // UFUNCTION(BlueprintCallable, Category="Menu System|Modal")
32 // virtual void CreatePopup(APlayerController* PlayerController, FModalData ModalData) = 0;
33
34};
Definition ModalInterface.h:21
Definition ModalInterface.h:13