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

#include <LevelStreamingContext.h>

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

Public 멤버 함수

 FLevelStreamingContext ()
 

정적 Public 멤버 함수

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

Public 속성

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

생성자 & 소멸자 문서화

◆ FLevelStreamingContext()

FLevelStreamingContext::FLevelStreamingContext ( )
inline
ELevelStreamingPhase Phase
Definition LevelStreamingContext.h:45
int32 ExecutingEffectIndex
Definition LevelStreamingContext.h:42

멤버 함수 문서화

◆ CreateContext()

FLevelStreamingContext FLevelStreamingContext::CreateContext ( TWeakObjectPtr< ULevelStreaming >  InOriginalWorld,
TWeakObjectPtr< ULevelStreaming >  InTargetWorld,
const FEffectChainExecutor Executor 
)
inlinestatic
51{
52 if (InOriginalWorld.IsValid() == false)
53 {
54 LOG_ERROR(LogCKLevel, "LevelToLoad가 유효하지 않아, '%s' 를 만들 수 없습니다.", NAMEOF(FLevelStreamingContext));
55 }
56
57 if (InTargetWorld.IsValid() == false)
58 {
59 LOG_ERROR(LogCKLevel, "LevelToUnload가 유효하지 않아, '%s' 를 만들 수 없습니다.", NAMEOF(FLevelStreamingContext));
60 }
61
62 ensureMsgf(Executor.GetChainIndex() >= 0, TEXT("FLevelStreamContext: InExecutingEffectIndex is out of range"));
63
65
66 Context.Phase = Executor.GetPhase();
67 Context.TargetStreamingLevel = InOriginalWorld.Get();
68 Context.OriginalStreamingLevel = InTargetWorld.Get();
69 Context.ExecutingEffectIndex = Executor.GetChainIndex();
70
71 if (Context.OriginalStreamingLevel)
72 {
73 Context.OriginalWorld = Context.OriginalStreamingLevel->GetWorld();
74 }
75
76 if (Context.OriginalWorld)
77 {
78 Context.PlayerController = Context.OriginalWorld->GetFirstPlayerController();
79 }
80
81 if (Context.TargetStreamingLevel)
82 {
83 Context.TargetWorld = Context.TargetStreamingLevel->GetWorld();
84 }
85
86 return Context;
87}
#define LOG_ERROR(Category, Format,...)
Definition CK_UE.h:40
#define NAMEOF(Type)
Definition CK_UE.h:30
int32 GetChainIndex() const
현재 ChainIndex를 반환합니다.
Definition LevelStreamingEffect.h:78
ELevelStreamingPhase GetPhase() const
현재 Phase를 반환합니다.
Definition LevelStreamingEffect.h:72
Definition LevelStreamingContext.h:16
FLevelStreamingContext()
Definition LevelStreamingContext.h:20
TObjectPtr< ULevelStreaming > OriginalStreamingLevel
Definition LevelStreamingContext.h:33
TObjectPtr< APlayerController > PlayerController
Definition LevelStreamingContext.h:39
TObjectPtr< ULevelStreaming > TargetStreamingLevel
Definition LevelStreamingContext.h:36
TObjectPtr< UWorld > OriginalWorld
Definition LevelStreamingContext.h:27
TObjectPtr< UWorld > TargetWorld
Definition LevelStreamingContext.h:30
이 함수를 호출하는 함수들에 대한 그래프입니다.:

멤버 데이터 문서화

◆ ExecutingEffectIndex

int32 FLevelStreamingContext::ExecutingEffectIndex

◆ OriginalStreamingLevel

TObjectPtr<ULevelStreaming> FLevelStreamingContext::OriginalStreamingLevel

◆ OriginalWorld

TObjectPtr<UWorld> FLevelStreamingContext::OriginalWorld

◆ Phase

ELevelStreamingPhase FLevelStreamingContext::Phase

◆ PlayerController

TObjectPtr<APlayerController> FLevelStreamingContext::PlayerController

◆ TargetStreamingLevel

TObjectPtr<ULevelStreaming> FLevelStreamingContext::TargetStreamingLevel

◆ TargetWorld

TObjectPtr<UWorld> FLevelStreamingContext::TargetWorld

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