Class Payment
Inheritance
System.Object
Payment
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
public abstract class Payment : Object, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, ICustomValidity, IValidity, IHasWorkParty, IRootDescriber
Constructors
Payment()
Declaration
Properties
ControllerID
Declaration
public ref int ControllerID { get; }
Property Value
Type |
Description |
System.Int32 |
|
Description
Declaration
public abstract string Description { get; }
Property Value
Type |
Description |
System.String |
|
RootDescriber
Declaration
public IDescribable RootDescriber { get; }
Property Value
WorkParty
Declaration
public WorkParty WorkParty { get; set; }
Property Value
Methods
Initialize(WorkParty)
Declaration
public virtual void Initialize(WorkParty parent)
Parameters
OnActivated()
Declaration
public abstract void OnActivated()
Posted(User)
Declaration
public virtual void Posted(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
ShortDescription()
Declaration
public abstract string ShortDescription()
Returns
Type |
Description |
System.String |
|
Valid()
Declaration
public abstract Result Valid()
Returns
WorkFinished()
Declaration
public virtual string WorkFinished()
Returns
Type |
Description |
System.String |
|
Declaration
public abstract string WorkPerformed(Laborer laborer, float percentPerformed)
Parameters
Type |
Name |
Description |
Laborer |
laborer |
|
System.Single |
percentPerformed |
|
Returns
Type |
Description |
System.String |
|
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
System.ComponentModel.PropertyChangedEventHandler |
|
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods