5#include "CoreMinimal.h"
7#include "GameFramework/PlayerController.h"
8#include "Templates/SubclassOf.h"
9#include "SteamBeaconPlayerController.h"
10#include "ProjectXPlayerControllerMainMenu.generated.h"
28 virtual void ClientSetHUD_Implementation(TSubclassOf<AHUD> NewHUDClass)
override;
30 virtual void EndPlay(
const EEndPlayReason::Type EndPlayReason)
override;
31 virtual void SetupInputComponent()
override;
32 UFUNCTION(BlueprintImplementableEvent)
33 void OnCharacterClassSelected(TSubclassOf<
AProjectXCharacter> CharacterClass,
bool bChangeCamera = true);
34 UFUNCTION(BlueprintImplementableEvent)
36 UFUNCTION(BlueprintImplementableEvent)
38 UFUNCTION(BlueprintImplementableEvent)
39 void OnCosmeticTypeSelected(
ECosmeticType Type,
bool bChangeCamera = true);
40 UFUNCTION(BlueprintImplementableEvent)
41 void OnIsAllySelected(
bool bIsAlly,
bool bChangeCamera = true);
44 void PushToTalkPartyChannelPressed();
45 void PushToTalkPartyChannelReleased();
46 void PushToTogglePartyChannel();
48 bool bUsingPushToTalk = true;
50 bool bPPTToggle = false;
53 UPROPERTY(BlueprintAssignable)
54 FSelectedCosmeticSignature OnCosmeticSelectedEvent;
55 UPROPERTY(BlueprintAssignable)
56 FSelectedCosmeticSignature OnCosmeticDeselectedEvent;
57 UPROPERTY(BlueprintAssignable)
58 FSelectedWeaponSignature OnWeaponSelectedEvent;
59 UPROPERTY(BlueprintAssignable)
60 FSelectClassSignature OnCharacterSelectedEvent;
61 UPROPERTY(BlueprintAssignable)
62 FSelectedCosmeticTypeSignature OnCosmeticTypeSelectedEvent;
63 UPROPERTY(BlueprintAssignable)
64 FSelectAllySignature OnIsAllySelectedEvent;
65 UPROPERTY(BlueprintAssignable)
66 FVivoxVOIPSignature OnPushToTalkPressed;
67 UPROPERTY(BlueprintAssignable)
68 FVivoxVOIPSignature OnPushToTalkReleased;
70 UFUNCTION(BlueprintCallable)
71 void SelectWeapon(const FString& WeaponID,
bool bChangeCamera = true);
72 UFUNCTION(BlueprintCallable)
74 UFUNCTION(BlueprintCallable)
76 UFUNCTION(BlueprintCallable)
77 void SelectCharacterClass(TSubclassOf<
AProjectXCharacter> CharacterClass,
bool bChangeCamera = true);
78 UFUNCTION(BlueprintCallable)
79 void SelectCosmeticType(
ECosmeticType CosmeticType,
bool bChangeCamera = true);
80 UFUNCTION(BlueprintCallable)
81 void SelectIsAlly(
bool bIsAlly,
bool bChangeCamera = true);
82 UFUNCTION(BlueprintCallable)
83 bool CanUsePlayButton() const;
ECosmeticType
Definition: CosmeticAssetBase.h:21
DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FSelectedCosmeticSignature, ECosmeticType, CosmeticType, TSubclassOf< UWeaponInstance >, WeaponClass, UCosmeticAssetBase *, CosmeticAsset)
DECLARE_DYNAMIC_MULTICAST_DELEGATE(FVivoxVOIPSignature)
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FSelectedCosmeticTypeSignature, ECosmeticType, Type)
Definition: ProjectXCharacter.h:128
virtual void BeginPlay() override
Definition: ProjectXCharacter.cpp:179
virtual void EndPlay(const EEndPlayReason::Type EndPlayReason) override
Definition: ProjectXCharacter.cpp:1207
Definition: ProjectXPlayerControllerMainMenu.h:25
Definition: CosmeticAssetBase.h:106
Definition: WeaponInstance.h:220