Class LegalAction
Inheritance
System.Object
LegalAction
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
public abstract class LegalAction : Object, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, IValidity, IDescribable
Constructors
LegalAction()
Declaration
Properties
ControllerID
Declaration
public ref int ControllerID { get; }
Property Value
Type |
Description |
System.Int32 |
|
InfoboxOnSuccess
Declaration
public GameValue<bool> InfoboxOnSuccess { get; set; }
Property Value
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
Returns
Description()
Declaration
public abstract LocString Description()
Returns
Declaration
protected abstract PostResult Perform(Law law, GameAction action, AccountChangeSet acc)
Parameters
Returns
Declaration
public PostResult PerformAndProcessResult(Law law, GameAction action, AccountChangeSet acc)
Parameters
Returns
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
System.ComponentModel.PropertyChangedEventHandler |
|
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods