KLingo Project Documentation 1.0.0
Unreal Engine 5.6 C++ Project Documentation
로딩중...
검색중...
일치하는것 없음
ULoadingCircleManager.h
이 파일의 문서화 페이지로 가기
1// Copyright (c) 2025 Doppleddiggong. All rights reserved. Unauthorized copying, modification, or distribution of this file, via any medium is strictly prohibited. Proprietary and confidential.
2#pragma once
3
8#include "CoreMinimal.h"
9#include "Macro.h"
10#include "Subsystems/LocalPlayerSubsystem.h"
11#include "ULoadingCircleManager.generated.h"
12
17UCLASS()
18class ONEPIECE_API ULoadingCircleManager : public ULocalPlayerSubsystem
19{
20 GENERATED_BODY()
21
22public:
24
26
28 UFUNCTION(BlueprintCallable, Category = "Loading")
29 void Show();
30
32 UFUNCTION(BlueprintCallable, Category = "Loading")
33 void Hide();
34
37 UFUNCTION(BlueprintCallable, Category = "Loading")
38 void LoadingCircle(bool bShow);
39
41 UFUNCTION(BlueprintPure, Category = "Loading")
42 int32 GetLoadingCount() const;
43
44protected:
46 void EnsureWidgetForWorld(UWorld* World);
47
48protected:
49 UPROPERTY()
50 TSubclassOf<class ULoadginCircle> CircleWidgetClass;
51
52 UPROPERTY()
53 TObjectPtr<class ULoadginCircle> CircleWidget;
54
56 int32 LoadingCount = 0;
57};
YiSan 전반에서 사용하는 공용 인터페이스를 선언합니다.
네트워크 대기 상태를 표시하는 로딩 서클 위젯입니다.
전역 로딩 서클의 표시 여부를 관리하는 LocalPlayerSubsystem입니다.
DEFINE_LOCALPLAYER_SUBSYSTEM_GETTER_INLINE(ULoadingCircleManager)