Show / Hide Table of Contents

Class Debt

Inheritance
System.Object
Debt
Implements
IController
IViewController
IHasUniversalID
Namespace: Eco.Gameplay.Economy
Assembly: Eco.Gameplay.dll
Syntax
public class Debt : Object, IController, IViewController, IHasUniversalID

Constructors

Debt()

Declaration
public Debt()

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
Type Description
User

ControllerID

Declaration
public ref int ControllerID { get; }
Property Value
Type Description
System.Int32

Currency

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

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
Type Description
User

PayIntoAccount

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

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
Type Description
LocString

NotifyPlayers()

Declaration
public void NotifyPlayers()

Pay(User, BankAccount, Single)

Declaration
public Result Pay(User user, BankAccount account, float toPay)
Parameters
Type Name Description
User user
BankAccount account
System.Single toPay
Returns
Type Description
Result

Text(Player)

Declaration
public LocString Text(Player player)
Parameters
Type Name Description
Player player
Returns
Type Description
LocString

Implements

IController
IViewController
IHasUniversalID

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