Payback 0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
LevelStreamingDeque.h
이 파일의 문서화 페이지로 가기
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "UObject/Object.h"
7#include "LevelStreamingDeque.generated.h"
8
9class ULevelStreaming;
10
11USTRUCT()
12struct CK_UE_API FLevelStreamingDeque
13{
14 GENERATED_BODY()
15
16public:
18
19public:
20 void PushBack(ULevelStreaming* Element);
21 ULevelStreaming* PopFront();
22 bool TryPopFront(OUT ULevelStreaming*& Element);
23 bool Contains(const ULevelStreaming* Element) const;
24 bool TryExtract(ULevelStreaming* Element, OUT ULevelStreaming*& OutElement);
25 void Empty();
26 ULevelStreaming* PeekFront() const;
27
28public:
29 FORCEINLINE int Size() const
30 {
31 return ArrayInternal.Num();
32 }
33
34 FORCEINLINE bool IsEmpty() const
35 {
36 return ArrayInternal.IsEmpty();
37 }
38
39private:
40 UPROPERTY(meta = (AllowPrivateAccess = "true"))
41 TArray<TWeakObjectPtr<ULevelStreaming>> ArrayInternal;
42};
Definition LevelStreamingDeque.h:13
FORCEINLINE int Size() const
Definition LevelStreamingDeque.h:29
FORCEINLINE bool IsEmpty() const
Definition LevelStreamingDeque.h:34