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.
11
UINTERFACE(MinimalAPI, NotBlueprintable)
12
class
UModalInterface
: public UInterface
13
{
14
GENERATED_BODY()
15
};
16
20
class
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.
25
public
:
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
};
MenuData.h
IModalInterface
Definition
ModalInterface.h:21
UModalInterface
Definition
ModalInterface.h:13
SpaceAdventure
Plugins
MenuSystem
Source
MenuSystem
Public
Interfaces
ModalInterface.h
Generated by
1.10.0