31 virtual void GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps)
const override;
34 UFUNCTION(BlueprintCallable, Category =
"SpeakStage")
37 UFUNCTION(BlueprintCallable, Category =
"SpeakStage")
38 FORCEINLINE int32 GetCurrentStepIndex()
const {
return CurrentStepIndex; }
40 UFUNCTION(BlueprintCallable, Category =
"SpeakStage")
41 FString GetCurrentQuestion() const;
43 UFUNCTION(BlueprintCallable, Category = "SpeakStage")
44 int32 GetTotalQuestionsCount();
46 UFUNCTION(BlueprintCallable, Category = "SpeakStage")
47 int32 GetTotalQuestions() const;
53 UFUNCTION(BlueprintCallable, Category = "SpeakStage")
60 UFUNCTION(BlueprintCallable, Category = "SpeakStage")
75 UFUNCTION(NetMulticast, Reliable)
76 void Multicast_NotifySpeakQuestStarted(const FString& PlayerName);
81 void OnRep_CurrentSpeaker();
92 UPROPERTY(BlueprintAssignable, Category = "SpeakStage|Events")
93 FOnSpeakerChangedDelegate OnSpeakerChanged;
97 UPROPERTY(ReplicatedUsing = OnRep_CurrentSpeaker)
101 UPROPERTY(Replicated)
102 int32 CurrentStepIndex;