Payback 0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
FLevelStreamingContext 구조체 참조

#include <LevelStreamingContext.h>

FLevelStreamingContext에 대한 협력 다이어그램:
Collaboration graph

Public 멤버 함수

 FLevelStreamingContext ()
 
 FLevelStreamingContext (UWorld *InOriginalWorld, UWorld *InTargetWorld, int32 InExecutingEffectIndex, ELevelStreamingPhase InPhase)
 

정적 Public 멤버 함수

static FLevelStreamingContext CreateContext (TWeakObjectPtr< ULevelStreaming > InOriginalWorld, TWeakObjectPtr< ULevelStreaming > InTargetWorld, const FEffectChainExecutor &Executor)
 

Public 속성

TObjectPtr< UWorld > OriginalWorld
 
TObjectPtr< UWorld > TargetWorld
 
TObjectPtr< APlayerController > PlayerController
 
int32 ExecutingEffectIndex
 
ELevelStreamingPhase Phase
 

생성자 & 소멸자 문서화

◆ FLevelStreamingContext() [1/2]

FLevelStreamingContext::FLevelStreamingContext ( )
ELevelStreamingPhase Phase
Definition LevelStreamingContext.h:35
int32 ExecutingEffectIndex
Definition LevelStreamingContext.h:32
이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ FLevelStreamingContext() [2/2]

FLevelStreamingContext::FLevelStreamingContext ( UWorld *  InOriginalWorld,
UWorld *  InTargetWorld,
int32  InExecutingEffectIndex,
ELevelStreamingPhase  InPhase 
)
7{
8 ensureMsgf(InOriginalWorld, TEXT("FLevelStreamContext: CurrentWorld is null"));
9 ensureMsgf(InTargetWorld, TEXT("FLevelStreamContext: TargetWorld is null"));
10 ensureMsgf(InExecutingEffectIndex >= 0, TEXT("FLevelStreamContext: InExecutingEffectIndex is out of range"));
11
12 Phase = InPhase;
13 OriginalWorld = InOriginalWorld;
14 TargetWorld = InTargetWorld;
15 ExecutingEffectIndex = InExecutingEffectIndex;
16 PlayerController = OriginalWorld ? OriginalWorld->GetFirstPlayerController() : nullptr;
17}
TObjectPtr< APlayerController > PlayerController
Definition LevelStreamingContext.h:29
TObjectPtr< UWorld > OriginalWorld
Definition LevelStreamingContext.h:23
TObjectPtr< UWorld > TargetWorld
Definition LevelStreamingContext.h:26

멤버 함수 문서화

◆ CreateContext()

FLevelStreamingContext FLevelStreamingContext::CreateContext ( TWeakObjectPtr< ULevelStreaming >  InOriginalWorld,
TWeakObjectPtr< ULevelStreaming >  InTargetWorld,
const FEffectChainExecutor Executor 
)
static
21{
22 UWorld* TargetWorld = nullptr;
23 UWorld* OriginalWorld = nullptr;
24
25 if (LevelToLoad.IsValid())
26 {
27 TargetWorld = LevelToLoad.Get()->GetWorld();
28 }
29 else
30 {
31 LOG_ERROR(LogCKLevel, "LevelToLoad가 유효하지 않아, '%s' 를 만들 수 없습니다.", NAMEOF(FLevelStreamingContext));
32 }
33
34 if (LevelToUnload.IsValid())
35 {
36 OriginalWorld = LevelToUnload.Get()->GetWorld();
37 }
38 else
39 {
40 LOG_ERROR(LogCKLevel, "LevelToUnload가 유효하지 않아, '%s' 를 만들 수 없습니다.", NAMEOF(FLevelStreamingContext));
41 }
42
44}
#define LOG_ERROR(Category, Format,...)
Definition CK_UE.h:32
#define NAMEOF(Type)
Definition CK_UE.h:26
int32 GetChainIndex() const
현재 ChainIndex를 반환합니다.
Definition EffectChainExecutor.h:75
ELevelStreamingPhase GetPhase() const
현재 Phase를 반환합니다.
Definition EffectChainExecutor.h:69
Definition LevelStreamingContext.h:10
FLevelStreamingContext()
Definition LevelStreamingContext.cpp:3
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:

멤버 데이터 문서화

◆ ExecutingEffectIndex

int32 FLevelStreamingContext::ExecutingEffectIndex

◆ OriginalWorld

TObjectPtr<UWorld> FLevelStreamingContext::OriginalWorld

◆ Phase

ELevelStreamingPhase FLevelStreamingContext::Phase

◆ PlayerController

TObjectPtr<APlayerController> FLevelStreamingContext::PlayerController

◆ TargetWorld

TObjectPtr<UWorld> FLevelStreamingContext::TargetWorld

이 구조체에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: