Show / Hide Table of Contents

Class CivicAction_StartCandidateElection

Inheritance
System.Object
CivicAction
CivicAction_StartCandidateElection
Implements
IValidity
IDescribable
IRPCAuthChecks
ISettlementAssociated
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
Inherited Members
CivicAction.Failed(User)
CivicAction.ElectionStarted(User, Election)
CivicAction.CanEdit(User)
CivicAction.Initialize(Settlement)
CivicAction.IsSameAction(CivicAction)
CivicAction.IsNull()
CivicAction.TableHeader
CivicAction.Settlement
CivicAction.Subject
CivicAction.ContainedElementName
CivicAction.ControllerID
CivicAction.PropertyChanged
Namespace: Eco.Gameplay.Civics.Elections
Assembly: Eco.Gameplay.dll
Syntax
[DoesNotNeedCivicArticle]
public class CivicAction_StartCandidateElection : CivicAction, IValidity, IDescribable, IRPCAuthChecks, ISettlementAssociated, IController, IViewController, IHasUniversalID, INotifyPropertyChanged

Constructors

CivicAction_StartCandidateElection()

Declaration
public CivicAction_StartCandidateElection()

Properties

NotifyOnPerform

This is overriden to false for this action because this action invokes another global OkBox(LocString) that is tailored for elections.

Declaration
public override bool NotifyOnPerform { get; }
Property Value
Type Description
System.Boolean
Overrides
CivicAction.NotifyOnPerform

Position

Declaration
public ElectedTitle Position { get; set; }
Property Value
Type Description
ElectedTitle

Methods

CanExecute(User)

Declaration
public override Result CanExecute(User user)
Parameters
Type Name Description
User user
Returns
Type Description
Result
Overrides
CivicAction.CanExecute(User)

Description()

Declaration
public override LocString Description()
Returns
Type Description
LocString
Overrides
CivicAction.Description()

Perform(User, Election)

Declaration
public override Result Perform(User user, Election proposingElection)
Parameters
Type Name Description
User user
Election proposingElection
Returns
Type Description
Result
Overrides
CivicAction.Perform(User, Election)

ValidateParamsOnSubmit()

Declaration
public override void ValidateParamsOnSubmit()
Overrides
CivicAction.ValidateParamsOnSubmit()

Implements

IValidity
IDescribable
IRPCAuthChecks
ISettlementAssociated
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged

Extension Methods

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