Space Plunder
Loading...
Searching...
No Matches
QuestPlayerStats.h
Go to the documentation of this file.
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Blueprint/UserWidget.h"
8#include "QuestPlayerStats.generated.h"
9
13UCLASS()
14class QUESTSYSTEM_API UQuestPlayerStats : public UUserWidget, public IRewards
15{
16 GENERATED_BODY()
17
18public:
19
20 virtual void SetCredits(const int32 Value) override;
21 virtual void SetExperience(const int32 Value) override;
22 UFUNCTION(BlueprintImplementableEvent, Category="Quest Player")
23 void OnExperienceSet(const int32 Value) ;
24
25protected:
26 virtual bool Initialize() override;
27 virtual void NativePreConstruct() override;
28 virtual void NativeConstruct() override;
29
30
31
32 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="Notifications|Debugging")
33 bool bDebuggingMode = false;
34
35
36 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta=(BindWidget), Category="Quest|Widgets")
37 class UOverlay* CreditsOverlay = nullptr;
38 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="Quest|Widgets", meta=(BindWidget))
39 class UOverlay* XPOverlay = nullptr;
40 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="Quest|Widgets", meta=(BindWidget))
41 class UProgressBar* XPProgressBar = nullptr;
42
43 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="Quest|Widgets", meta=(BindWidget))
44 class UTextBlock* XPTextBlock = nullptr;
45 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="Quest|Widgets", meta=(BindWidget))
46 class UTextBlock* CreditsTextBlock = nullptr;
47
48};
UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent)) class CHATSYSTEM_API UChatSystemComponent
Definition ChatSystemComponent.h:13
Definition Rewards.h:20
Definition QuestPlayerStats.h:15