Show / Hide Table of Contents

Class Pay_LegalAction

Inheritance
System.Object
LegalAction
MoneyTransferBase_LegalAction
TaxPayBase_LegalAction
Pay_LegalAction
Implements
System.ComponentModel.INotifyPropertyChanged
IExecutiveAction
IController
IViewController
IHasUniversalID
IDescribable
ICustomValidity
IValidity
Inherited Members
TaxPayBase_LegalAction.GovernmentTransferUsers(LocString, Single, Currency, BankAccount, GameValue<IAlias>, IContextObject, Settlement, Boolean, Boolean, Boolean, AccountChangeSet, Boolean)
MoneyTransferBase_LegalAction.Valid()
MoneyTransferBase_LegalAction.PerformExecutiveAction(User, IContextObject, Settlement, AccountChangeSet)
MoneyTransferBase_LegalAction.Perform(Law, GameAction, AccountChangeSet)
MoneyTransferBase_LegalAction.CheckJurisdiction(Eval<BankAccount>, Settlement, Boolean, LocString)
MoneyTransferBase_LegalAction.DescribeUnableToPay()
MoneyTransferBase_LegalAction.Currency
MoneyTransferBase_LegalAction.Amount
MoneyTransferBase_LegalAction.PreventIfUnableToPay
LegalAction.PerformAndProcessResult(Law, GameAction, AccountChangeSet)
LegalAction.ContainsAction(Type)
LegalAction.DescribeForNotification(Law, GameAction)
LegalAction.InfoboxOnSuccess
LegalAction.ControllerID
LegalAction.PropertyChanged
Namespace: Eco.Gameplay.Civics.Laws.LegalActions.Money
Assembly: Eco.Gameplay.dll
Syntax
public class Pay_LegalAction : TaxPayBase_LegalAction, INotifyPropertyChanged, IExecutiveAction, IController, IViewController, IHasUniversalID, IDescribable, ICustomValidity, IValidity

Constructors

Pay_LegalAction()

Declaration
public Pay_LegalAction()

Properties

PayFromGovernmentAccount

Declaration
public GameValue<BankAccount> PayFromGovernmentAccount { get; set; }
Property Value
Type Description
GameValue<BankAccount>

Recipients

Declaration
public GameValue<IAlias> Recipients { get; set; }
Property Value
Type Description
GameValue<IAlias>

Methods

Description()

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

DoTransfer(LocString, IContextObject, Settlement, Single, Currency, Boolean, AccountChangeSet)

Declaration
protected override PostResult DoTransfer(LocString description, IContextObject context, Settlement jurisdictionSettlement, float amount, Currency currency, bool preventIfUnableToPay, AccountChangeSet acc)
Parameters
Type Name Description
LocString description
IContextObject context
Settlement jurisdictionSettlement
System.Single amount
Currency currency
System.Boolean preventIfUnableToPay
AccountChangeSet acc
Returns
Type Description
PostResult
Overrides
MoneyTransferBase_LegalAction.DoTransfer(LocString, IContextObject, Settlement, Single, Currency, Boolean, AccountChangeSet)

Implements

System.ComponentModel.INotifyPropertyChanged
IExecutiveAction
IController
IViewController
IHasUniversalID
IDescribable
ICustomValidity
IValidity

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