Show / Hide Table of Contents

Class LegalAction

Inheritance
System.Object
LegalAction
InviteResident_LegalAction
MoneyTransferBase_LegalAction
RecordCustomStat
ChangePropertyOwner_LegalAction
ChangeReputation_LegalAction
Conditional_LegalAction
IgnoreAuth_LegalAction
Prevent_LegalAction
RevokeCitizenship_LegalAction
SeizeBankAccount_LegalAction
SendNotice
Implements
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
IValidity
IDescribable
Namespace: Eco.Gameplay.Civics
Assembly: Eco.Gameplay.dll
Syntax
public abstract class LegalAction : Object, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, IValidity, IDescribable

Constructors

LegalAction()

Declaration
protected LegalAction()

Properties

ControllerID

Declaration
public ref int ControllerID { get; }
Property Value
Type Description
System.Int32

InfoboxOnSuccess

Declaration
public GameValue<bool> InfoboxOnSuccess { get; set; }
Property Value
Type Description
GameValue<System.Boolean>

Methods

ContainsAction(Type)

Declaration
public virtual bool ContainsAction(Type type)
Parameters
Type Name Description
System.Type type
Returns
Type Description
System.Boolean

DescribeForNotification(Law, GameAction)

Declaration
public virtual LocString DescribeForNotification(Law law, GameAction action)
Parameters
Type Name Description
Law law
GameAction action
Returns
Type Description
LocString

Description()

Declaration
public abstract LocString Description()
Returns
Type Description
LocString

Perform(Law, GameAction, AccountChangeSet)

Declaration
protected abstract PostResult Perform(Law law, GameAction action, AccountChangeSet acc)
Parameters
Type Name Description
Law law
GameAction action
AccountChangeSet acc
Returns
Type Description
PostResult

PerformAndProcessResult(Law, GameAction, AccountChangeSet)

Declaration
public PostResult PerformAndProcessResult(Law law, GameAction action, AccountChangeSet acc)
Parameters
Type Name Description
Law law
GameAction action
AccountChangeSet acc
Returns
Type Description
PostResult

Events

PropertyChanged

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
System.ComponentModel.PropertyChangedEventHandler

Implements

IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
IValidity
IDescribable

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
☀
☾