Payback 0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
PlayerDeathFlowDefinition.h
이 파일의 문서화 페이지로 가기
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
6#include "Data/UI/UIContext.h"
7#include "PlayerDeathFlowDefinition.generated.h"
8
9
10class AActor;
12class UUserWidgetBase;
13
14
15UCLASS(Abstract, Blueprintable, BlueprintType, EditInlineNew, DefaultToInstanced, meta = (ShowWorldContextPin))
17{
18 GENERATED_BODY()
19
20public:
22
23public:
24 UFUNCTION(BlueprintCallable, Category = "Death")
25 bool StartPlayerDeathFlow(UPlayerManagementSubsystem* InPlayerManagementSubsystem, AActor* InPlayerActor);
26
27public:
28 UFUNCTION(BlueprintPure, Category = "Death")
29 FORCEINLINE UUserWidgetBase* GetActiveDeathWidget() const
30 {
31 return ActiveDeathWidget.Get();
32 }
33
34 UFUNCTION(BlueprintPure, Category = "Death")
35 FORCEINLINE FUIContext GetDeathPopupContext() const
36 {
37 return DeathPopupContext;
38 }
39
40protected:
41 virtual void HandleFlowStarted(UObject* InFlowOwner) override;
42 virtual void HandleFlowReset() override;
43 virtual void PlayDeathFlow_Implementation(UPlayerManagementSubsystem* InPlayerManagementSubsystem, AActor* InPlayerActor) { }
44
45protected:
46 UFUNCTION(BlueprintNativeEvent, Category = "Death")
47 void PlayDeathFlow(UPlayerManagementSubsystem* InPlayerManagementSubsystem, AActor* InPlayerActor);
48
49 UFUNCTION(BlueprintCallable, Category = "Death", meta = (BlueprintProtected = "true"))
50 void CacheLastStageEventBeforeDeath(UPlayerManagementSubsystem* InPlayerManagementSubsystem) const;
51
52protected:
53 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "UI")
54 FUIContext DeathPopupContext;
55
56 UPROPERTY(Transient)
57 TWeakObjectPtr<UUserWidgetBase> ActiveDeathWidget;
58};
Definition PlayerDeathFlowDefinition.h:17
virtual void PlayDeathFlow_Implementation(UPlayerManagementSubsystem *InPlayerManagementSubsystem, AActor *InPlayerActor)
Definition PlayerDeathFlowDefinition.h:43
Definition PlayerFlowDefinitionBase.h:15
Definition PlayerManagementSubsystem.h:42
Definition UserWidgetBase.h:33
Definition UIContext.h:10