A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
DlgEventCustom.h
Go to the documentation of this file.
1// Copyright Csaba Molnar, Daniel Butum. All Rights Reserved.
2#pragma once
3#include "DlgObject.h"
4
5#include "DlgEventCustom.generated.h"
6
7class UDlgContext;
8
9// Abstract base class for a custom event
10// Extend this class to define additional data you want to store
11//
12// 1. Override EnterEvent
13UCLASS(Blueprintable, BlueprintType, Abstract, EditInlineNew)
14class DLGSYSTEM_API UDlgEventCustom : public UDlgObject
15{
17public:
18 // Called when the event is triggered.
19 UFUNCTION(BlueprintCallable, BlueprintNativeEvent, Category = "Dialogue", DisplayName = "Enter")
20 void EnterEvent(UDlgContext* Context, UObject* Participant);
21 virtual void EnterEvent_Implementation(UDlgContext* Context, UObject* Participant) {}
22};
23
24// This is the same as UDlgEventCustom but it does NOT show the categories
25UCLASS(Blueprintable, BlueprintType, Abstract, EditInlineNew, CollapseCategories)
26class DLGSYSTEM_API UDlgEventCustomHideCategories : public UDlgEventCustom
27{
29};
UCLASS(BlueprintType)
Definition DlgContext.h:96
UCLASS(Blueprintable, BlueprintType, Abstract, EditInlineNew, CollapseCategories)
UCLASS(Blueprintable, BlueprintType, Abstract, EditInlineNew)
void EnterEvent(UDlgContext *Context, UObject *Participant)
UFUNCTION(BlueprintCallable, BlueprintNativeEvent, Category = "Dialogue", DisplayName = "Enter")
virtual void EnterEvent_Implementation(UDlgContext *Context, UObject *Participant)
UCLASS(Abstract, ClassGroup = "Dialogue", HideCategories = ("DoNotShow"), AutoExpandCategories = ("De...
Definition DlgObject.h:13