Space Plunder
Loading...
Searching...
No Matches
MenuSystemGameState.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 "Data/BaseData.h"
7#include "GameFramework/GameStateBase.h"
8#include "MenuSystemGameState.generated.h"
9
10UCLASS()
11class MENUSYSTEM_API AMenuSystemGameState : public AGameStateBase
12{
13 GENERATED_BODY()
14
15public:
16
17 virtual void UpdatePlayerList();
18
19
20 UPROPERTY(ReplicatedUsing=OnRep_PlayerProfiles, VisibleAnywhere, BlueprintReadOnly, Category="Game State")
21 TArray<FUserProfile> AllProfiles;
22protected:
23
24 UPROPERTY(ReplicatedUsing=OnRep_PlayerStates, VisibleAnywhere, BlueprintReadOnly, Category="Game State")
25 TArray<APlayerState*> AllPlayerStates;
26
27
28 UFUNCTION()
29 void OnRep_PlayerStates();
30 UFUNCTION()
31 void OnRep_PlayerProfiles();
32
33 UFUNCTION(BlueprintImplementableEvent, Category = "Game State")
34 void OnUpdatePlayerStates(const TArray<APlayerState*>& States);
35
36
37};
UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent)) class CHATSYSTEM_API UChatSystemComponent
Definition ChatSystemComponent.h:13
Definition MenuSystemGameState.h:12
Definition BaseData.h:1239