Payback 0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
LSE_PlayCutscene.h
이 파일의 문서화 페이지로 가기
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
7#include "Data/UI/UIContext.h"
13#include "LSE_PlayCutscene.generated.h"
14
15class ACharacter;
16class UAbilitySystemComponent;
17struct FUIContext;
21UCLASS(EditInlineNew, BlueprintType, Blueprintable)
23{
24 GENERATED_BODY()
25
26public:
27 virtual void OnLoadingStart(const FLevelStreamingContext Context) override;
28 virtual ELevelStreamingEffectResult OnLoadingUpdate(const FLevelStreamingContext Context) override;
29 virtual void OnLoadingEnd(const FLevelStreamingContext Context) override;
30
31public:
32 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Cutscene")
33 FUIContext CutsceneContext;
34
35 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Cutscene", meta = (ClampMin = "0"))
36 int32 CutsceneID = 0;
37
38 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Cutscene")
39 bool bUseTypewriter = false;
40
41 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Cutscene", meta = (ClampMin = "1.0"))
42 float CharactersPerSecond = 40.0f;
43
44protected:
45 UPROPERTY(Transient)
46 TObjectPtr<UScenarioCutsceneWidget> ScenarioCutsceneWidget;
47
48private:
49 TArray<FDT_ScenarioCutsceneTable> BuildCutsceneRows() const;
50 void RestrictPlayerInput(const FLevelStreamingContext& Context);
51 void RestorePlayerInput(const FLevelStreamingContext& Context);
52
53private:
54 TWeakObjectPtr<UAbilitySystemComponent> RestrictedASC;
55 TWeakObjectPtr<ACharacter> RestrictedCharacter;
56 bool bCutsceneStarted = false;
57};
ELevelStreamingEffectResult
Definition ELevelStreamingEnums.h:24
Definition LevelLoadingInterface.h:23
Definition LSE_PlayCutscene.h:23
Definition LevelStreamingEffect.h:121
Definition ScenarioCutsceneWidget.h:30
Definition DT_ScenarioCutsceneTable.h:10
Definition LevelStreamingContext.h:16
Definition UIContext.h:10