KLingo Project Documentation 1.0.0
Unreal Engine 5.6 C++ Project Documentation
로딩중...
검색중...
일치하는것 없음
UListActorComponent.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
7#pragma once
8
9#include "CoreMinimal.h"
10#include "Components/ActorComponent.h"
11#include "UListActorComponent.generated.h"
17UCLASS(ClassGroup=(Custom), meta=(BlueprintSpawnableComponent))
18class COFFEELIBRARY_API UListActorComponent : public UActorComponent
19{
20 GENERATED_BODY()
21public:
23 UPROPERTY(EditInstanceOnly, BlueprintReadWrite, Category="List")
24 TArray<AActor*> ArrayActors;
25
27 UPROPERTY(EditAnywhere, Category="List")
28 TSubclassOf<AActor> ClassFilter;
29
31 UFUNCTION(CallInEditor, Category="List", meta=(DevelopmentOnly, DisplayName="Assign Item (Replace)"))
32 void AssignItemReplace();
33
35 UFUNCTION(CallInEditor, Category="List", meta=(DevelopmentOnly, DisplayName="Assign Item (Append)"))
36 void AssignItemAppend();
37
39 UFUNCTION(CallInEditor, Category="List", meta=(DevelopmentOnly, DisplayName="Sort by Name (Asc)"))
40 void SortByNameAsc();
41
43 UFUNCTION(CallInEditor, Category="List", meta=(DevelopmentOnly, DisplayName="Sort by Name (Desc)"))
44 void SortByNameDesc();
45
46#if WITH_EDITOR
47protected:
49 int32 GatherSelectedItem(TArray<AActor*>& Out) const;
51 void AssignInternal(bool bAppend);
52#endif
53};