Show / Hide Table of Contents

Class ValuePayment

Inheritance
System.Object
Payment
ValuePayment
CurrencyPayment
ReputationPayment
Implements
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
ICustomValidity
IValidity
IHasWorkParty
IRootDescriber
Inherited Members
Payment.Valid()
Payment.OnActivated()
Payment.ShortDescription()
Payment.Posted(User)
Payment.Initialize(WorkParty)
Payment.Description
Payment.ControllerID
Payment.WorkParty
Payment.RootDescriber
Payment.PropertyChanged
Namespace: Eco.Gameplay.Economy.WorkParties
Assembly: Eco.Gameplay.dll
Syntax
public abstract class ValuePayment : Payment, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, ICustomValidity, IValidity, IHasWorkParty, IRootDescriber

Constructors

ValuePayment()

Declaration
protected ValuePayment()

Fields

AmountPaid

Declaration
public float AmountPaid
Field Value
Type Description
System.Single

Properties

Amount

Declaration
public float Amount { get; set; }
Property Value
Type Description
System.Single

PayAsYouGo

Declaration
public bool PayAsYouGo { get; set; }
Property Value
Type Description
System.Boolean

PayType

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

Methods

PayDesc()

Declaration
protected string PayDesc()
Returns
Type Description
System.String

PayUser(Laborer, Single)

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

PayUsers(IEnumerable<Laborer>, Single)

Declaration
protected abstract 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

WorkFinished()

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

WorkPerformed(Laborer, Single)

Declaration
public override string WorkPerformed(Laborer laborer, float percentPerformed)
Parameters
Type Name Description
Laborer laborer
System.Single percentPerformed
Returns
Type Description
System.String
Overrides
Payment.WorkPerformed(Laborer, Single)

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