Payback 0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
LevelStreamingStateMachine.h
이 파일의 문서화 페이지로 가기
1#pragma once
2
3#include "CoreMinimal.h"
5#include "LevelStreamingStateMachine.generated.h"
6
8
9USTRUCT()
11{
12 GENERATED_BODY()
13
14public:
15 void Initialize(ULevelStreamingSubsystem* LevelStreamingSubsystem);
16 void NotifyPhaseCompleted(ELevelStreamingPhase Phase);
17 void NotifyAsyncLoadCompleted();
18 void NotifyBundleLoadCompleted();
19 void NotifyLevelShown();
20 void BeginLoad();
21 void Reset();
22
23public:
24 FORCEINLINE bool IsBusy() const
25 {
26 return CurrentState != ELevelStreamingFlowState::Idle;
27 }
28
30 {
31 return CurrentState;
32 }
33
34private:
35 void TransitionTo(ELevelStreamingFlowState NewState);
36 void ProcessState();
37
38private:
41
42private:
43 UPROPERTY()
44 TObjectPtr<ULevelStreamingSubsystem> Owner;
45
46private:
48};
ELevelStreamingPhase
Definition ELevelStreamingEnums.h:7
EDuringLoadGate
Definition ELevelStreamingEnums.h:60
ELevelStreamingFlowState
Definition ELevelStreamingEnums.h:50
Definition LevelStreamingSubsystem.h:38
virtual void Initialize(FSubsystemCollectionBase &Collection) override
Definition LevelStreamingSubsystem.cpp:329
Definition LevelStreamingStateMachine.h:11
FORCEINLINE ELevelStreamingFlowState GetState() const
Definition LevelStreamingStateMachine.h:29
FORCEINLINE bool IsBusy() const
Definition LevelStreamingStateMachine.h:24