Payback 0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
ConstellationEntryWidget.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 "UI/UserWidgetBase.h"
7#include "ConstellationEntryWidget.generated.h"
8
10class UImage;
11class UTextBlock;
12class UTexture2D;
13
19UCLASS()
21{
22 GENERATED_BODY()
23
24public:
25 void SetupEntry(UConstellationBase* InConstellation, UTexture2D* InIcon, const FText& InConstellationName, const FText& InReactionTagText);
26
27public:
29 {
30 return BoundConstellation.Get();
31 }
32
33protected:
34 // 태그별 색상 등 연출은 BP 에서 처리한다.
35 UFUNCTION(BlueprintImplementableEvent, Category = "UI|Constellation")
36 void OnEntrySetup(UConstellationBase* InConstellation);
37
38protected:
39 UPROPERTY(BlueprintReadOnly, Category = "UI|Constellation", meta = (BindWidget))
40 TObjectPtr<UImage> ConstellationIcon;
41
42 UPROPERTY(BlueprintReadOnly, Category = "UI|Constellation", meta = (BindWidget))
43 TObjectPtr<UTextBlock> ConstellationNameText;
44
45 // 이 성좌가 반응하는 방송 태그.
46 UPROPERTY(BlueprintReadOnly, Category = "UI|Constellation", meta = (BindWidget))
47 TObjectPtr<UTextBlock> ReactionTagText;
48
49 UPROPERTY(Transient)
50 TWeakObjectPtr<UConstellationBase> BoundConstellation;
51};
Definition ConstellationBase.h:35
Definition ConstellationEntryWidget.h:21
FORCEINLINE UConstellationBase * GetBoundConstellation() const
Definition ConstellationEntryWidget.h:28
Definition UserWidgetBase.h:33