Class Debt
Inheritance
System.Object
Debt
Assembly: Eco.Gameplay.dll
Syntax
public class Debt : Object, IController, IViewController, IHasUniversalID
Constructors
Debt()
Declaration
Properties
Amount
Declaration
public float Amount { get; set; }
Property Value
Type |
Description |
System.Single |
|
Borrower
Declaration
public string Borrower { get; set; }
Property Value
Type |
Description |
System.String |
|
BorrowerUser
Declaration
public User BorrowerUser { get; }
Property Value
ControllerID
Declaration
public ref int ControllerID { get; }
Property Value
Type |
Description |
System.Int32 |
|
Currency
Declaration
public Currency Currency { get; set; }
Property Value
DueDate
Declaration
public double DueDate { get; set; }
Property Value
Type |
Description |
System.Double |
|
InterestPercent
Declaration
public float InterestPercent { get; set; }
Property Value
Type |
Description |
System.Single |
|
Lender
Declaration
public string Lender { get; set; }
Property Value
Type |
Description |
System.String |
|
LenderUser
Declaration
public User LenderUser { get; }
Property Value
PayIntoAccount
Declaration
public BankAccount PayIntoAccount { get; set; }
Property Value
Methods
Concerns(String)
Declaration
public bool Concerns(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Boolean |
|
DueText()
Declaration
public LocString DueText()
Returns
NotifyPlayers()
Declaration
public void NotifyPlayers()
Pay(User, BankAccount, Single)
Declaration
public Result Pay(User user, BankAccount account, float toPay)
Parameters
Returns
Text(Player)
Declaration
public LocString Text(Player player)
Parameters
Type |
Name |
Description |
Player |
player |
|
Returns
Implements
Extension Methods