LEAP Documentation 40220
Documentation for the LEAP project
PostGameScreen.h
Go to the documentation of this file.
1// Copyright Blue Isle Studios Inc 2018. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "GameFramework/Actor.h"
8#include "PostGameScreen.generated.h"
9
10DECLARE_DYNAMIC_MULTICAST_DELEGATE(FPlayersRestartedSignature);
11
14
15USTRUCT(BlueprintType)
17{
18 GENERATED_USTRUCT_BODY()
19public:
20 UPROPERTY(BlueprintReadOnly)
21 AProjectXPlayerState* PlayerState = NULL;
22 UPROPERTY(BlueprintReadOnly)
23 TSubclassOf<AProjectXCharacter> SpawnedCharacterClass = NULL;
24};
25
26UCLASS()
27class PROJECTX_API APostGameScreen : public AActor,public IReactsToMatchEvents
28{
29 GENERATED_BODY()
30
31public:
32 // Sets default values for this actor's properties
34 UFUNCTION(BlueprintImplementableEvent)
35 void PlayerSpawned(const TArray<FPodiumPawn>& PodiumPawns);
36 UFUNCTION(BlueprintImplementableEvent)
37 void K2_InitPostGameScreen(float Duration);
38 UFUNCTION()
39 void InitPostGameScreen(float Duration);
40
41protected:
42 // Called when the game starts or when spawned
43 virtual void BeginPlay() override;
44 void SpawnPodiumPawns();
45
46 UPROPERTY(EditDefaultsOnly, Category = PostGameScreen)
47 int32 NumberOfTopPlayers;
48};
DECLARE_DYNAMIC_MULTICAST_DELEGATE(FPlayersRestartedSignature)
Definition: PostGameScreen.h:28
Definition: ProjectXCharacter.h:128
virtual void BeginPlay() override
Definition: ProjectXCharacter.cpp:179
Definition: ProjectXPlayerState.h:238
Definition: ReactsToMatchEvents.h:16
Definition: PostGameScreen.h:17