Class CivicsConfig.ElectionSettings
Inheritance
System.Object
CivicsConfig.ElectionSettings
Assembly: Eco.Gameplay.dll
Syntax
public class ElectionSettings : Object
Constructors
ElectionSettings()
Declaration
public ElectionSettings()
Properties
AnonymousVoting
Declaration
public bool AnonymousVoting { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
EndElectionEarlyWhenThisPercentHaveVoted
Declaration
public float EndElectionEarlyWhenThisPercentHaveVoted { get; set; }
Property Value
Type |
Description |
System.Single |
|
MaximumElectionHours
Declaration
public float MaximumElectionHours { get; set; }
Property Value
Type |
Description |
System.Single |
|
MaxPercentTwitchVotes
Declaration
public float MaxPercentTwitchVotes { get; set; }
Property Value
Type |
Description |
System.Single |
|
MinimumDaysBetweenElectionsOfThisType
Declaration
public float MinimumDaysBetweenElectionsOfThisType { get; set; }
Property Value
Type |
Description |
System.Single |
|
MinimumPercentOfEligibleVotersRequired
Declaration
public float MinimumPercentOfEligibleVotersRequired { get; set; }
Property Value
Type |
Description |
System.Single |
|
PercentOfAllVotersToInstantLose
Declaration
public float PercentOfAllVotersToInstantLose { get; set; }
Property Value
Type |
Description |
System.Single |
|
PercentOfAllVotersToInstantWin
Declaration
public float PercentOfAllVotersToInstantWin { get; set; }
Property Value
Type |
Description |
System.Single |
|
TwitchNonSubscriberVoteWeight
Declaration
public float TwitchNonSubscriberVoteWeight { get; set; }
Property Value
Type |
Description |
System.Single |
|
TwitchSubscriberVoteWeight
Declaration
public float TwitchSubscriberVoteWeight { get; set; }
Property Value
Type |
Description |
System.Single |
|
Methods
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Extension Methods