소환 패널의 개별 슬롯 UI (View)
More...
#include <SummonSlotWidget.h>
|
|
| USummonSlotWidget (const FObjectInitializer &ObjectInitializer) |
| void | InitSlot (int32 InIndex) |
| | 슬롯의 인덱스를 초기화합니다.
|
| void | UpdateSlotInfo (UTexture2D *IconTexture, int32 InCost) |
| | 소환수 데이터를 받아 UI를 갱신합니다.
|
| void | ScheduleReveal (UTexture2D *IconTexture, int32 InCost, float DelayTime) |
| | 딜레이를 가지고 슬롯 정보를 갱신하도록 예약합니다. (데이터 주도적 설계)
|
| void | PlayIntroAnimation () |
| | 슬롯 등장 애니메이션을 재생합니다.
|
| void | PlayShiftAnimation () |
| | 옆에서 당겨져 오는(Shift) 애니메이션을 재생합니다.
|
| void | SetShortcutTextVisibility (bool bShow) |
| | 키보드/마우스 모드일 때 단축키 텍스트의 가시성을 변경합니다.
|
|
|
FOnSummonSlotClicked | OnSlotClicked |
| | 슬롯 클릭 알림 델리게이트
|
|
|
virtual void | NativeConstruct () override |
|
virtual void | NativeDestruct () override |
소환 패널의 개별 슬롯 UI (View)
아이콘, 코스트 표시 및 등장 애니메이션(Pop-up)을 담당합니다.
◆ InitSlot()
| void USummonSlotWidget::InitSlot |
( |
int32 | InIndex | ) |
|
슬롯의 인덱스를 초기화합니다.
- Parameters
-
◆ PlayIntroAnimation()
| void USummonSlotWidget::PlayIntroAnimation |
( |
| ) |
|
슬롯 등장 애니메이션을 재생합니다.
새로 추가된 슬롯임을 강조할 때 호출합니다.
◆ PlayShiftAnimation()
| void USummonSlotWidget::PlayShiftAnimation |
( |
| ) |
|
옆에서 당겨져 오는(Shift) 애니메이션을 재생합니다.
빈자리를 채울 때 사용됩니다.
◆ ScheduleReveal()
| void USummonSlotWidget::ScheduleReveal |
( |
UTexture2D * | IconTexture, |
|
|
int32 | InCost, |
|
|
float | DelayTime ) |
딜레이를 가지고 슬롯 정보를 갱신하도록 예약합니다. (데이터 주도적 설계)
- Parameters
-
| IconTexture | 예약할 아이콘 |
| InCost | 예약할 소환 비용 |
| DelayTime | 몇 초 뒤에 등장할 것인가 |
◆ SetShortcutTextVisibility()
| void USummonSlotWidget::SetShortcutTextVisibility |
( |
bool | bShow | ) |
|
키보드/마우스 모드일 때 단축키 텍스트의 가시성을 변경합니다.
- Parameters
-
| bShow | true면 텍스트 노출, false면 숨김 |
◆ UpdateSlotInfo()
| void USummonSlotWidget::UpdateSlotInfo |
( |
UTexture2D * | IconTexture, |
|
|
int32 | InCost ) |
소환수 데이터를 받아 UI를 갱신합니다.
- Parameters
-
| IconTexture | 표시할 아이콘 (nullptr 처리 포함) |
| InCost | 소환 비용 |
◆ ShortcutKeyImage
| TSoftObjectPtr<UTexture2D> USummonSlotWidget::ShortcutKeyImage = nullptr |
|
protected |
기획자가 에디터에서 설정할 단축키 이미지
이 필드에 값을 입력하면 PC(키보드) 모드에서 해당 텍스트가 버튼에 뜹니다.
The documentation for this class was generated from the following files:
- Source/Paradise/Public/UI/Widgets/Ingame/SummonSlotWidget.h
- Source/Paradise/Private/UI/Widgets/Ingame/SummonSlotWidget.cpp