UVotingManagerComponent¶
#include <VotingManagerComponent.h>
Inherits from UActorComponent, IReplicatedSubobjectInterface
Public Functions¶
| Name | |
|---|---|
| bool | CanVoteStart(ATBLPlayerController * VotingController, FName VoteOption, UVotingInstance * VotingInstance) |
| virtual void | [[GetLifetimeReplicatedProps]](TArray< FLifetimeProperty > & OutLifetimeProps) const override |
| int32 | GetNumValidInstancesForClass(TSubclassOf< UVotingInstance > VoteClass, ATBLPlayerController * VotingController) |
| int32 | GetNumVoteInstancesForClass(TSubclassOf< UVotingInstance > VoteClass) |
| UVotingManagerComponent() |
Protected Functions¶
| Name | |
|---|---|
| void | BroadcastVoteFinished(const FVotingResults & VoteResults) |
| void | RemoveInstance(UVotingInstance * VotingInstance) |
| void | VoteFinished(const FName & VoteResult) |
Public Attributes¶
| Name | |
|---|---|
| FReplicatedArray_UVotingInstances | VotingInstances |
Protected Attributes¶
| Name | |
|---|---|
| FVoteFinishedSignature | OnVoteFinished |
| TSet< TSubclassOf< UVotingInstance > > | ValidInstances |
Updated on 2025-01-21 at 09:02:25 +0100