Class ElectionProcess
Inheritance
System.Object
ElectionProcess
Implements
ISuffixName
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
public class ElectionProcess : SimpleProposable, ILinkableParameterized<SimpleEntry.NamingOptions>, ICachesValidity, IDescribable, IProposable, IHasID, IReInitializable, IHasReferenceableSerializableID, IHostedObject, INamed, IHasTeleportOption, IHasSerializableID, ILinkableParameterized<bool>, ILinkable, ICustomValidity, IValidity, ISuffixName, ISingleEditingUser, IPlayerUseTracking, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, ISettlementAssociated, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, IRPCAuthChecks, ISpecialRegistrarEntry
Constructors
ElectionProcess()
Declaration
Properties
AnonymousVoting
Declaration
public bool AnonymousVoting { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
CanBeDeleted
Declaration
public override bool CanBeDeleted { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
EndElectionEarlyWhenThisPercentHaveVoted
Declaration
public float EndElectionEarlyWhenThisPercentHaveVoted { get; set; }
Property Value
Type |
Description |
System.Single |
|
HowToProceedIfElectionsEndInATie
Declaration
public TiedElectionOptions HowToProceedIfElectionsEndInATie { get; set; }
Property Value
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 |
|
SpecialType
Declaration
public int SpecialType { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
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 |
|
Vetoers
Declaration
public IAlias Vetoers { get; set; }
Property Value
Voters
Declaration
public IAlias Voters { get; set; }
Property Value
VotersChanged
Declaration
public ThreadSafeAction VotersChanged { get; }
Property Value
WhoCanStartElections
Declaration
public IAlias WhoCanStartElections { get; set; }
Property Value
Methods
Description()
Declaration
public override LocString Description()
Returns
Overrides
Initialize()
Declaration
public override void Initialize()
Overrides
TestCanStartElectionAndNotify(User)
Declaration
public Result TestCanStartElectionAndNotify(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Returns
Valid()
Declaration
public override Result Valid()
Returns
Overrides
Implements
ISuffixName
System.ComponentModel.INotifyPropertyChanged
Extension Methods