Skip to content

Sein Vote State

Struct · FSeinVoteState

#include "Data/SeinVoteState.h"

deterministic: safe in simulation code

An open vote. It resolves as soon as its outcome is decided, or fails when it expires, and is then removed; the Vote Resolved visual event reports the result. Only players still playing are counted.

FGameplayTag VoteType

Blueprint read-only

Vote identity tag (e.g., SeinARTS.Vote.SkipCinematic.Intro, MyGame.Vote.ConcedeMatch). Tag semantics are designer-territory.

TMap<FSeinPlayerID, int32> Votes

Blueprint read-only

The ballot of each player who has voted: 1 for yes, 0 for no.

int32 RequiredThreshold · default 1

Blueprint read-only

Yes votes a Threshold vote needs to pass. Other resolutions ignore it.

ESeinVoteResolution Resolution · default ESeinVoteResolution::Majority

Blueprint read-only

How this vote is decided.

int32 InitiatedAtTick · default 0

Blueprint read-only

Simulation tick the vote opened on.

int32 ExpiresAtTick · default 0

Blueprint read-only

Tick at which the vote auto-resolves as Failed if not already passed.

FSeinPlayerID Initiator

Blueprint read-only

Player who started the vote.