Space Plunder
Loading...
Searching...
No Matches
CustomPlayerState.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"
7#include "GameFramework/PlayerState.h"
9#include "CustomPlayerState.generated.h"
10
11struct FPlayerDeath;
12enum class EDeathType : uint8;
13
14UCLASS()
15class CUSTOMALS_API ACustomPlayerState : public AMenuSystemPlayerState //public APlayerState, public IGenericTeamAgentInterface
16{
17 GENERATED_BODY()
18
19
20public:
21
22
23 UFUNCTION(BlueprintCallable, Category="Player")
24 void PlayerDeath(FPlayerDeath DeathData);
25
26 void AddDeathToKillFeed(FPlayerDeath PlayerDeath, bool bPlayerDeath = true);
27
28protected:
29 UFUNCTION(BlueprintPure, Category = "Player")
30 ACustomPlayerController* GetCustomPlayerController() const{return Cast<ACustomPlayerController>(GetPlayerController());};
31
32
33private:
34
35};
EDeathType
Definition BaseData.h:53
UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent)) class CHATSYSTEM_API UChatSystemComponent
Definition ChatSystemComponent.h:13
Definition CustomPlayerController.h:24
Definition CustomPlayerState.h:16
Definition MenuSystemPlayerState.h:19
Definition BaseData.h:613