Show / Hide Table of Contents

Class CurrencyPayment

Inheritance
System.Object
Payment
ValuePayment
CurrencyPayment
Implements
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
ICustomValidity
IValidity
IHasWorkParty
IRootDescriber
Inherited Members
ValuePayment.AmountPaid
ValuePayment.WorkPerformed(Laborer, Single)
ValuePayment.PayDesc()
ValuePayment.PayType
ValuePayment.Amount
ValuePayment.PayAsYouGo
Payment.Posted(User)
Payment.Initialize(WorkParty)
Payment.ControllerID
Payment.WorkParty
Payment.RootDescriber
Payment.PropertyChanged
Namespace: Eco.Gameplay.Economy.WorkParties
Assembly: Eco.Gameplay.dll
Syntax
public class CurrencyPayment : ValuePayment, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, ICustomValidity, IValidity, IHasWorkParty, IRootDescriber

Constructors

CurrencyPayment()

Declaration
public CurrencyPayment()

Properties

Currency

Declaration
public Currency Currency { get; set; }
Property Value
Type Description
Currency

Description

Declaration
public override string Description { get; }
Property Value
Type Description
System.String
Overrides
Payment.Description

PayFromAccount

Declaration
public BankAccount PayFromAccount { get; set; }
Property Value
Type Description
BankAccount

Methods

OnActivated()

Declaration
public override void OnActivated()
Overrides
Payment.OnActivated()

PayUser(Laborer, Single)

Declaration
protected override string PayUser(Laborer laborer, float amount)
Parameters
Type Name Description
Laborer laborer
System.Single amount
Returns
Type Description
System.String
Overrides
ValuePayment.PayUser(Laborer, Single)

PayUsers(IEnumerable<Laborer>, Single)

Declaration
protected override string PayUsers(IEnumerable<Laborer> laborers, float amount)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<Laborer> laborers
System.Single amount
Returns
Type Description
System.String
Overrides
ValuePayment.PayUsers(IEnumerable<Laborer>, Single)

ShortDescription()

Declaration
public override string ShortDescription()
Returns
Type Description
System.String
Overrides
Payment.ShortDescription()

Valid()

Declaration
public override Result Valid()
Returns
Type Description
Result
Overrides
Payment.Valid()

WorkFinished()

Declaration
public override string WorkFinished()
Returns
Type Description
System.String
Overrides
ValuePayment.WorkFinished()

Implements

IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
ICustomValidity
IValidity
IHasWorkParty
IRootDescriber

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