30 lines
1.1 KiB
C++
Executable file
30 lines
1.1 KiB
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "Blueprint/UserWidget.h"
|
|
#include "CharacterProgress.h"
|
|
#include "PlayerProgress.h"
|
|
#include "MissionPlayerAndCharacterWidget.generated.h"
|
|
|
|
UCLASS(Blueprintable, EditInlineNew)
|
|
class UMissionPlayerAndCharacterWidget : public UUserWidget {
|
|
GENERATED_BODY()
|
|
public:
|
|
UMissionPlayerAndCharacterWidget();
|
|
protected:
|
|
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
|
void UpdateValues(int32 PlayerRank, int32 PlayerStars, int32 CharacterLevel, float CharacterProgress);
|
|
|
|
UFUNCTION(BlueprintCallable)
|
|
void StepCounter(float TimeScale, bool& CounterFinished);
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
|
void PingPlayerRank();
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
|
void PingCharacterLevel(int32 Level, int32 Stars);
|
|
|
|
UFUNCTION(BlueprintCallable)
|
|
void InitCounter(FPlayerProgress PlayerProgressStart, FCharacterProgress CharacterProgressStart, FPlayerProgress PlayerProgressFinish, FCharacterProgress CharacterProgressFinish);
|
|
|
|
};
|
|
|