Payback 0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
StageEventSenderComponent.h
이 파일의 문서화 페이지로 가기
1#pragma once
2
3#include "CK_UE.h"
4#include "Components/ActorComponent.h"
5#include "StageEventSenderComponent.generated.h"
6
7UCLASS(ClassGroup = (CK), meta = (BlueprintSpawnableComponent))
8class CK_UE_API UStageEventSenderComponent : public UActorComponent
9{
10 GENERATED_BODY()
11
12public:
14
15public:
16 // Payload 없이 이벤트 식별 정보와 발신 Actor를 전달한다.
17 UFUNCTION(BlueprintCallable, Category = "StageEvent")
18 void Send(const AActor* Caller, FName SectionID = NAME_None);
19
20public:
21 FORCEINLINE void SetEventIDToSend(FName NewEventIDToSend)
22 {
23 EventIDToSend = NewEventIDToSend;
24 }
25
26 UFUNCTION(BlueprintPure, Category = "StageEvent")
27 FORCEINLINE FName GetEventIDToSend() const
28 {
29 return EventIDToSend;
30 }
31
32#if WITH_EDITOR
33
34private:
35 UFUNCTION()
36 TArray<FString> GetStageEventOptions() const;
37#endif
38
39protected:
40 // 실행할 Storyboard 항목 ID. 처리 유형 태그는 각 Processor에서 지정한다.
41 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "StageEvent", meta = (GetOptions = "GetStageEventOptions"))
42 FName EventIDToSend = NAME_None;
43};
Definition StageEventSenderComponent.h:9
FORCEINLINE void SetEventIDToSend(FName NewEventIDToSend)
Definition StageEventSenderComponent.h:21