Payback 0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
StageEventBehaviorInterface.h
이 파일의 문서화 페이지로 가기
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "UObject/Interface.h"
7#include "StageEventBehaviorInterface.generated.h"
8
9struct FInstancedStruct;
11// This class does not need to be modified.
12UINTERFACE()
13class UStageEventBehaviorInterface : public UInterface
14{
15 GENERATED_BODY()
16};
17
22{
23 GENERATED_BODY()
24
25 // Add interface functions to this class. This is the class that will be inherited to implement this interface.
26public:
27 // ListenerContext는 구독별 데이터이며 발신 Payload와는 별개다.
28 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "StageEvent")
29 void HandleStageEvent(const FStageEventMessage& Message, const FInstancedStruct& ListenerContext);
30
31 UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "StageEvent")
32 bool ShouldReceiveStageEvent(const FStageEventMessage& Message, const FInstancedStruct& ListenerContext);
33
34public:
35 virtual void HandleStageEvent_Implementation(const FStageEventMessage& Message, const FInstancedStruct& ListenerContext);
36 virtual bool ShouldReceiveStageEvent_Implementation(const FStageEventMessage& Message, const FInstancedStruct& ListenerContext);
37};
Definition StageEventBehaviorInterface.h:22
Definition StageEventBehaviorInterface.h:14
Definition StageEventMessage.h:14