Show / Hide Table of Contents

Class ElectionResult

Inheritance
System.Object
ElectionResult
Namespace: Eco.Gameplay.Civics.Elections
Assembly: Eco.Gameplay.dll
Syntax
public class ElectionResult : Object

Constructors

ElectionResult()

Declaration
public ElectionResult()

Fields

CachedAllVotes

Data about all votes, filled in on-demand.

Declaration
public LocString CachedAllVotes
Field Value
Type Description
LocString

NoVotes

Declaration
public float NoVotes
Field Value
Type Description
System.Single

SimpleResults

Declaration
public SimpleResult[] SimpleResults
Field Value
Type Description
SimpleResult[]

YesVotes

Declaration
public float YesVotes
Field Value
Type Description
System.Single

Properties

Description

Declaration
public string Description { get; set; }
Property Value
Type Description
System.String

Finished

Declaration
public bool Finished { get; set; }
Property Value
Type Description
System.Boolean

LosingUsers

Declaration
public User[] LosingUsers { get; set; }
Property Value
Type Description
User[]

Passed

Declaration
public bool Passed { get; set; }
Property Value
Type Description
System.Boolean

RoundResultsForEachChoice

Each voting round, sorted in descending order based on final results.

Declaration
public RoundsForChoice[] RoundResultsForEachChoice { get; set; }
Property Value
Type Description
RoundsForChoice[]

Tied

Declaration
public bool Tied { get; set; }
Property Value
Type Description
System.Boolean

Vetoed

Declaration
public bool Vetoed { get; set; }
Property Value
Type Description
System.Boolean

Vetoer

Declaration
public User Vetoer { get; set; }
Property Value
Type Description
User

Voters

Declaration
public User[] Voters { get; set; }
Property Value
Type Description
User[]

WinningChoiceNames

Declaration
public string[] WinningChoiceNames { get; set; }
Property Value
Type Description
System.String[]

WinningChoices

Declaration
public ElectionChoiceID[] WinningChoices { get; set; }
Property Value
Type Description
ElectionChoiceID[]

WinningUsers

Declaration
public User[] WinningUsers { get; set; }
Property Value
Type Description
User[]

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾