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