Class TaxPayBase_LegalAction
Inheritance
System.Object
TaxPayBase_LegalAction
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Namespace: Eco.Gameplay.Civics.Laws.LegalActions.Money
Assembly: Eco.Gameplay.dll
Syntax
public abstract class TaxPayBase_LegalAction : MoneyTransferBase_LegalAction, INotifyPropertyChanged, IExecutiveAction, IController, IViewController, IHasUniversalID, IDescribable, ICustomValidity, IValidity
Constructors
TaxPayBase_LegalAction()
Declaration
protected TaxPayBase_LegalAction()
Methods
GovernmentTransferUsers(LocString, Single, Currency, BankAccount, GameValue<IAlias>, IContextObject, Settlement, Boolean, Boolean, Boolean, AccountChangeSet, Boolean)
Declaration
protected PostResult GovernmentTransferUsers(LocString description, float amount, Currency currency, BankAccount governmentAccount, GameValue<IAlias> target, IContextObject context, Settlement jurisdictionSettlement, bool canTransferNonCitizens, bool taxing, bool preventIfUnableToPay, AccountChangeSet acc, bool taxAll)
Parameters
| Type | Name | Description |
|---|---|---|
| LocString | description | |
| System.Single | amount | |
| Currency | currency | |
| BankAccount | governmentAccount | |
| GameValue<IAlias> | target | |
| IContextObject | context | |
| Settlement | jurisdictionSettlement | |
| System.Boolean | canTransferNonCitizens | |
| System.Boolean | taxing | |
| System.Boolean | preventIfUnableToPay | |
| AccountChangeSet | acc | |
| System.Boolean | taxAll |
Returns
| Type | Description |
|---|---|
| PostResult |
Implements
System.ComponentModel.INotifyPropertyChanged