17 virtual void NativePreConstruct()
override;
18 virtual void NativeConstruct()
override;
20 UFUNCTION(BlueprintCallable, Category=
"Menu System|Lobby")
21 void SetPlayers(
const TArray<FUserProfile>& Players)
const;
22 UFUNCTION(BlueprintCallable, Category=
"Menu System|Lobby")
24 UFUNCTION(BlueprintCallable, Category=
"Menu System|Lobby")
25 void StartCountdown(
const int32 Delay);
26 UFUNCTION(BlueprintCallable, Category=
"Menu System|Lobby")
27 void CancelCountdown();
29 UFUNCTION(BlueprintCallable, Category=
"Menu System|Lobby")
32 UFUNCTION(BlueprintCallable, Category=
"Menu System|Lobby")
33 bool GetIsLoading()
const{
return bIsLoading;};
34 UFUNCTION(BlueprintCallable, Category=
"Menu System|Lobby")
35 bool GetIsHostLobby()
const{
return bHostLobby;};
40 virtual bool Initialize()
override;
42 UFUNCTION(BlueprintImplementableEvent, Category=
"Menu System|Lobby")
43 void LoadingStarted();
45 void CountdownStarted();
47 void CountdownCanceled();
49 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="
Menu System")
50 FString StartButtonText = "Start Game";
51 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="
Menu System")
52 FString StartButtonAltText = "Cancel";
54 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category="In Game
Menu")
55 TArray<
bool> ClientButtons = {
true,
false,
false,
false,
false };
58 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category=
"Menu System", meta = (BindWidget))
63 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="
Menu System", meta = (BindWidget))
66 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="
Menu System", meta = (BindWidget))
67 class UTextBlock* CountDownTextBlock =
nullptr;
71 void MenuButtonSelected(const int32 Index);
73 void ClientMenuButtonSelected(const int32 Index);
76 void SetCountdownTextBlock() const;
79 bool bIsLoading = false;
80 bool bCounting = false;
82 bool bHostLobby = false;
83 int32 CountdownTime = 10;
84 int32 CountdownTimeTotal = 15;
86 FTimerHandle CountdownTimerHandle;
UCLASS(Blueprintable, BlueprintType, ClassGroup=(BucciGames), meta=(BlueprintSpawnableComponent)) class CHATSYSTEM_API UChatSystemComponent
Definition ChatSystemComponent.h:13