#include <LevelStreamingStateMachine.h>
◆ BeginLoad()
| void FLevelStreamingStateMachine::BeginLoad |
( |
| ) |
|
20{
23 Owner->EnterPreLoadingState();
24}
#define NAMEOF(Type)
Definition CK_UE.h:30
Definition LevelStreamingStateMachine.h:11
void TransitionTo(ELevelStreamingFlowState NewState)
Definition LevelStreamingStageMachine.cpp:68
TObjectPtr< ULevelStreamingSubsystem > Owner
Definition LevelStreamingStateMachine.h:44
◆ GetState()
30 {
32 }
ELevelStreamingFlowState CurrentState
Definition LevelStreamingStateMachine.h:39
◆ Initialize()
7{
8 Owner = LevelStreamingSubsystem;
9}
◆ IsBusy()
| FORCEINLINE bool FLevelStreamingStateMachine::IsBusy |
( |
| ) |
const |
|
inline |
◆ NotifyAsyncLoadCompleted()
| void FLevelStreamingStateMachine::NotifyAsyncLoadCompleted |
( |
| ) |
|
28{
30
31 if (
Owner->HandleAsyncLoadCompleted() ==
false)
32 {
33 return;
34 }
35
38}
EDuringLoadGate DuringLoadGates
Definition LevelStreamingStateMachine.h:40
void ProcessState()
Definition LevelStreamingStageMachine.cpp:127
◆ NotifyBundleLoadCompleted()
| void FLevelStreamingStateMachine::NotifyBundleLoadCompleted |
( |
| ) |
|
42{
44 {
45 return;
46 }
47
50}
◆ NotifyLevelShown()
| void FLevelStreamingStateMachine::NotifyLevelShown |
( |
| ) |
|
54{
56 {
57 return;
58 }
59
61 Owner->PlacePlayerInLevel();
62 Owner->HandleLevelShown();
64 Owner->StartChain(ELevelStreamingPhase::PostLoad);
65}
◆ NotifyPhaseCompleted()
146{
147 switch (Phase)
148 {
149 case ELevelStreamingPhase::PreLoad:
150 {
152 {
153 return;
154 }
155
157 Owner->EnterDuringLoadState();
159 break;
160 }
161
162 case ELevelStreamingPhase::DuringLoad:
163 {
165 {
166 return;
167 }
168
170 Owner->HandleDuringLoadChainCompleted();
172 break;
173 }
174
175 case ELevelStreamingPhase::PostLoad:
176 {
178 {
179 return;
180 }
181
183 Owner->EnterIdleState();
184 break;
185 }
186
187 default:
188 {
190 }
191 }
192}
#define LOG_ERROR(Category, Format,...)
Definition CK_UE.h:40
ELevelStreamingFlowState
Definition ELevelStreamingEnums.h:50
◆ ProcessState()
| void FLevelStreamingStateMachine::ProcessState |
( |
| ) |
|
|
private |
128{
130 {
131 return;
132 }
133
135 {
136 return;
137 }
138
141 Owner->EnterAwaitShownState();
142}
◆ Reset()
| void FLevelStreamingStateMachine::Reset |
( |
| ) |
|
◆ TransitionTo()
69{
70 bool bValidTransition = false;
71
73 {
75 {
77 break;
78 }
79
81 {
83 break;
84 }
85
87 {
89 break;
90 }
91
93 {
95 break;
96 }
97
99 {
101 break;
102 }
103 }
104
105 const FString From = *UEnum::GetValueAsString(
CurrentState);
106 const FString To = *UEnum::GetValueAsString(NewState);
107
108 if (bValidTransition == false)
109 {
111 return;
112 }
113 else
114 {
116 }
117
119 {
121 }
122
124}
#define LOG_INFO(Category, Format,...)
Definition CK_UE.h:38
◆ ULevelStreamingSubsystem
◆ CurrentState
◆ DuringLoadGates
◆ Owner
이 구조체에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: