Payback 0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
UWeaponBasedSkillSlotWidget 클래스 참조

#include <WeaponBasedSkillSlotWidget.h>

UWeaponBasedSkillSlotWidget에 대한 상속 다이어그램 :
Inheritance graph
UWeaponBasedSkillSlotWidget에 대한 협력 다이어그램:
Collaboration graph

Public 멤버 함수

void UpdateWeaponIcon (FGameplayTag WeaponTag)
 
- USkillSlotWidget(으)로부터 상속된 Public 멤버 함수
virtual void SetAbilitySystemComponent (AActor *InOwner) override
 
FORCEINLINE EInputIconType GetInputIcon () const
 
FORCEINLINE const FText & GetKeyboardKeyText () const
 
FORCEINLINE EMouseButtonType GetMouseButton () const
 
- UUserWidgetBase(으)로부터 상속된 Public 멤버 함수
UUserPresenterBase * RequestPresenter ()
 
UUserPresenterBase * FindPresenter () const
 
void ReleasePresenter ()
 
virtual void BindPresenter_Implementation (UObject *Presenter) override
 
virtual void UnbindPresenter_Implementation (UObject *Presenter) override
 
virtual void ResetAbilitySystemComponent (AActor *InOwner)
 
virtual UAbilitySystemComponent * GetAbilitySystemComponent () const override
 
virtual void OnPushedToLayer ()
 
virtual void OnPoppedFromLayer ()
 
virtual void OnActivated ()
 
virtual void OnDeactivated ()
 
void Activate ()
 
void Deactivate ()
 
bool CanBePushedToLayer () const
 
FORCEINLINE UWaitForWidgetActivation * GetActivationHandle ()
 
FORCEINLINE TSubclassOf< UUserPresenterBase > GetWidgetPresenterClass () const
 
FORCEINLINE FGameplayTag GetLayerTag () const
 
FORCEINLINE void SetLayerTag (const FGameplayTag InTag)
 
FORCEINLINE bool IsPrimary () const
 
FORCEINLINE void SetPrimary (const bool InPrimary)
 
FORCEINLINE EWidgetState GetWidgetState () const
 
FORCEINLINE void SetWidgetState (const EWidgetState InState)
 
FORCEINLINE bool HasAppearanceAnim () const
 
FORCEINLINE bool HasDisappearanceAnim () const
 
- IWidgetViewInterface(으)로부터 상속된 Public 멤버 함수
void BindPresenter (UObject *Presenter)
 
void UnbindPresenter (UObject *Presenter)
 

Protected 멤버 함수

void OnWeaponChanged (FGameplayTag WeaponTag)
 무기가 변경되었을 때 호출되는 블루프린트 이벤트입니다.
 
- USkillSlotWidget(으)로부터 상속된 Protected 멤버 함수
virtual void NativeConstruct () override
 
virtual void NativeDestruct () override
 
void StartCooldownUpdateTimer ()
 
void StopCooldownUpdateTimer ()
 
void UnbindCooldownTagEvent ()
 
void UpdateCooldownProgress ()
 
void BindCooldownTagEvent ()
 
void SetCooldownProgress (float InProgress)
 
virtual void NativePreConstruct () override
 
virtual void OnSlotRefreshed ()
 
void OnCooldownStarted ()
 
void OnCooldownCompleted ()
 
void OnCooldownTagChanged (const FGameplayTag Tag, int32 NewCount)
 
- UUserWidgetBase(으)로부터 상속된 Protected 멤버 함수
virtual void OnWidgetStateChanged (EWidgetState InState)
 
virtual void OnWidgetActivated ()
 
virtual void OnWidgetDeactivated ()
 
void OnPushedToLayer_Internal ()
 
void OnPoppedFromLayer_Internal ()
 
void OnActivated_Internal ()
 
void OnDeactivated_Internal ()
 

Protected 속성

FSlateBrush StaffIconTexture
 
FSlateBrush SwordIconTexture
 
- USkillSlotWidget(으)로부터 상속된 Protected 속성
bool bUseCooldownGauge = false
 
bool bReverseGaugeFillDirection = false
 
float SkillIconCooldownOpacity = 0.37f
 
FGameplayTag CooldownTargetAbilityTag = FGameplayTag::EmptyTag
 
FName ProgressParameterName = TEXT("Progress")
 
EInputIconType InputIcon
 
FText KeyboardKeyText
 
EMouseButtonType MouseButton
 
FSlateBrush KeyBoxImageBrush
 
FSlateBrush IconBrush
 
FSlateBrush GaugeBrush
 
TObjectPtr< UImage > SkillIcon
 
TObjectPtr< UImage > GaugeIcon
 
TObjectPtr< UImage > ReadyGlowImage
 
TObjectPtr< UImage > MouseLeftIcon
 
TObjectPtr< UImage > MouseRightIcon
 
TObjectPtr< UOverlay > MouseButtonIcon
 
TObjectPtr< UTextBlock > KeyText
 
TObjectPtr< UImage > KeyBoxImage
 
TObjectPtr< UOverlay > KeyboardKeyIcon
 
TObjectPtr< UWidgetAnimation > PingPong
 
TObjectPtr< UMaterialInstanceDynamic > GaugeMaterial
 
- UUserWidgetBase(으)로부터 상속된 Protected 속성
TSubclassOf< UUserPresenterBase > PresenterClass
 
EWidgetState WidgetState
 
TObjectPtr< UAbilitySystemComponent > ASC
 
FGameplayTag LayerTag
 
bool bPrimary = false
 
TObjectPtr< UWidgetAnimation > AppearanceAnim
 
TObjectPtr< UWidgetAnimation > DisappearanceAnim
 

상세한 설명

장착 무기에 맞춰 액션 아이콘을 교체하는 스킬 슬롯입니다.

멤버 함수 문서화

◆ OnWeaponChanged()

void UWeaponBasedSkillSlotWidget::OnWeaponChanged ( FGameplayTag  WeaponTag)
protected

무기가 변경되었을 때 호출되는 블루프린트 이벤트입니다.

매개변수
WeaponTag변경된 무기의 태그입니다.

다음에 의해서 참조됨 : UpdateWeaponIcon().

이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ UpdateWeaponIcon()

void UWeaponBasedSkillSlotWidget::UpdateWeaponIcon ( FGameplayTag  WeaponTag)

장착 무기에 맞는 텍스처를 적용하며, 미지정 무기나 텍스처에는 기본 IconBrush를 사용합니다.

매개변수
WeaponTag현재 무기 태그입니다. 무기가 없으면 빈 태그가 전달됩니다.
10{
11 if (SkillIcon == nullptr)
12 {
13 return;
14 }
15
16 OnWeaponChanged(WeaponTag);
17
19 {
20 SkillIcon->SetBrush(FSlateBrush());
21 return;
22 }
23
24 const FSlateBrush* WeaponIconBrush = &IconBrush;
25
26 if (WeaponTag.MatchesTag(TAG_WEAPON_STAFF) && StaffIconTexture.GetResourceObject())
27 {
28 WeaponIconBrush = &StaffIconTexture;
29 }
30 else if (WeaponTag.MatchesTag(TAG_WEAPON_SWORD) && SwordIconTexture.GetResourceObject())
31 {
32 WeaponIconBrush = &SwordIconTexture;
33 }
34
35 SkillIcon->SetBrush(*WeaponIconBrush);
36}
FSlateBrush IconBrush
Definition SkillSlotWidget.h:114
TObjectPtr< UImage > SkillIcon
Definition SkillSlotWidget.h:121
EInputIconType InputIcon
Definition SkillSlotWidget.h:102
void OnWeaponChanged(FGameplayTag WeaponTag)
무기가 변경되었을 때 호출되는 블루프린트 이벤트입니다.
FSlateBrush StaffIconTexture
Definition WeaponBasedSkillSlotWidget.h:35
FSlateBrush SwordIconTexture
Definition WeaponBasedSkillSlotWidget.h:39

다음을 참조함 : USkillSlotWidget::IconBrush, USkillSlotWidget::InputIcon, None, OnWeaponChanged(), USkillSlotWidget::SkillIcon, StaffIconTexture, SwordIconTexture.

다음에 의해서 참조됨 : UPlayerSkillHUDWidget::SetAbilitySystemComponent().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:

멤버 데이터 문서화

◆ StaffIconTexture

FSlateBrush UWeaponBasedSkillSlotWidget::StaffIconTexture
protected

지팡이를 장착했을 때 표시할 액션 아이콘입니다.

다음에 의해서 참조됨 : UpdateWeaponIcon().

◆ SwordIconTexture

FSlateBrush UWeaponBasedSkillSlotWidget::SwordIconTexture
protected

검을 장착했을 때 표시할 액션 아이콘입니다.

다음에 의해서 참조됨 : UpdateWeaponIcon().


이 클래스에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: