Space Plunder
Loading...
Searching...
No Matches
KillFeedWidget.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"
7#include "Data/MenuData.h"
8#include "KillFeedWidget.generated.h"
9
10
11UCLASS()
12class MENUSYSTEM_API UKillFeedWidget : public UUserWidget
13{
14 GENERATED_BODY()
15
16public:
17 UKillFeedWidget(const FObjectInitializer& ObjectInitializer);
18
19 virtual bool Initialize() override;
20
21 UFUNCTION(BlueprintCallable, Category="Menu System|Multiplayer")
22 void AddKill(const FPlayerDeath& PlayerDeath);
23
24protected:
25 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, meta=(BindWidget), Category="Menu System|Kill Feed")
26 class UScrollBox* ScrollBox;
27 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Menu System|Kill Feed")
28 TMap<EDeathType, class UTexture2D*> DeathIconMap;
29
30
31 //- Glitched? //
32 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Menu System|Kill Feed")
33 int32 MaxMessages = 5;
34
35 UPROPERTY(EditAnywhere, Category="Menu System|Kill Feed")
36 TSubclassOf<class UKillFeedMessageWidget> KillFeedMessageClass;
37
38};
EDeathType
Definition BaseData.h:53
UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent)) class CHATSYSTEM_API UChatSystemComponent
Definition ChatSystemComponent.h:13
Definition KillFeedMessageWidget.h:11
Definition KillFeedWidget.h:13
Definition BaseData.h:613