#include <SkillWidget.h>
◆ USkillWidget()
| USkillWidget::USkillWidget |
( |
const FObjectInitializer & | ObjectInitializer | ) |
|
|
explicit |
11 :Super(ObjectInitializer)
12{
13
14}
◆ Initialize()
| bool USkillWidget::Initialize |
( |
| ) |
|
|
overrideprotectedvirtual |
18{
19 const bool Success = Super::Initialize();
21 if (!ensure(
LabelText !=
nullptr))
return false;
22 if (!ensure(
ValueText !=
nullptr))
return false;
23 if (!ensure(
IconImage !=
nullptr))
return false;
25 if (!ensure(
AddButton !=
nullptr))
return false;
29 return true;
30}
◆ NativeConstruct()
| void USkillWidget::NativeConstruct |
( |
| ) |
|
|
overrideprotectedvirtual |
39{
40 Super::NativeConstruct();
42
43}
◆ NativePreConstruct()
| void USkillWidget::NativePreConstruct |
( |
| ) |
|
|
overrideprotectedvirtual |
33{
34 Super::NativePreConstruct();
35
36}
◆ OnAddButtonClicked()
| void USkillWidget::OnAddButtonClicked |
( |
| ) |
|
|
protected |
46{
49}
FString Name
Definition BaseData.h:784
◆ OnSubtractButtonClicked()
| void USkillWidget::OnSubtractButtonClicked |
( |
| ) |
|
|
protected |
◆ SetSkill()
| void USkillWidget::SetSkill |
( |
const FSkill & | Data | ) |
|
59{
61
62
63
64
65
66
67
69 {
71 }
73 {
75 }
77 {
79 {
81 }
82 else
83 {
85 }
86 }
87}
float Value2
Definition BaseData.h:788
float Value
Definition BaseData.h:786
FText ValueFormat
Definition BaseData.h:790
bool bEditable
Definition BaseData.h:792
◆ AddButton
| class UButton* USkillWidget::AddButton = nullptr |
|
protected |
◆ bEditable
| bool USkillWidget::bEditable = false |
|
protected |
◆ IconImage
| class UImage* USkillWidget::IconImage = nullptr |
|
protected |
◆ LabelText
| class UTextBlock* USkillWidget::LabelText = nullptr |
|
protected |
◆ MinusButton
| class UButton* USkillWidget::MinusButton = nullptr |
|
protected |
◆ ModifierButtons
| class UHorizontalBox* USkillWidget::ModifierButtons = nullptr |
|
protected |
◆ OnEditSkill
| FOnEditSkill USkillWidget::OnEditSkill |
◆ SkillData
◆ ValueText
| class UTextBlock* USkillWidget::ValueText = nullptr |
|
protected |
The documentation for this class was generated from the following files:
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/BaseHelpers/Source/BaseHelpers/Public/Widgets/SkillWidget.h
- T:/Unreal/Unreal Projects/SpaceAdventure52/SpaceAdventure/Plugins/BaseHelpers/Source/BaseHelpers/Private/Widgets/SkillWidget.cpp