Payback 0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
LSE_FakeLoading.h
이 파일의 문서화 페이지로 가기
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
7#include "LSE_FakeLoading.generated.h"
8
10
11
12UCLASS(EditInlineNew, BlueprintType, Blueprintable)
14{
15 GENERATED_BODY()
16
17public:
18 void SetFakeLoadingTime(float InFakeLoadingTime);
19
20public:
21 virtual void OnLoadingStart(const FLevelStreamingContext Context) override;
22 virtual ELevelStreamingEffectResult OnLoadingUpdate(const FLevelStreamingContext Context) override;
23 virtual void OnLoadingEnd(const FLevelStreamingContext Context) override;
24
25private:
26 void NotifyFakeLoadingStarted(const FLevelStreamingContext& Context);
27
28protected:
29 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "LevelLoadEffect")
30 float FakeLoadingTime = 2.0f;
31
32 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "LevelLoadEffect")
33 float ElapsedTime = 0.0f;
34
35private:
36 TWeakObjectPtr<AUStageFlowDefinition> CurrentFlowDefinition;
37 bool bStartedFakeLoading = false;
38 bool bNotifiedFakeLoadingStarted = false;
39};
ELevelStreamingEffectResult
Definition ELevelStreamingEnums.h:24
Definition StageFlowDefinition.h:27
Definition LevelLoadingInterface.h:23
Definition LSE_FakeLoading.h:14
Definition LevelStreamingEffect.h:121
Definition LevelStreamingContext.h:16