Class Currency
Inheritance
System.Object
Currency
Implements
System.ComponentModel.INotifyPropertyChanged
ISuffixName
Assembly: Eco.Gameplay.dll
Syntax
public class Currency : SimpleEntry, ILinkableParameterized<bool>, ILinkableParameterized<SimpleEntry.NamingOptions>, IValidity, ICachesValidity, IHasID, INamed, IReInitializable, IHasReferenceableSerializableID, IHasSerializableID, INotifyPropertyChanged, IDescribable, ISuffixName, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, ILinkableParameterized<float>, ILinkable, ICategorizedEntry, IController, IViewController, IHasUniversalID
Constructors
Currency()
Declaration
Properties
Backed
Declaration
public bool Backed { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
BackingItem
Declaration
public Item BackingItem { get; set; }
Property Value
CategoryName
Declaration
public LocString CategoryName { get; }
Property Value
CategoryPriority
Declaration
public int CategoryPriority { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Circulation
Declaration
public float Circulation { get; }
Property Value
| Type |
Description |
| System.Single |
|
CoinsPerItem
Declaration
public float CoinsPerItem { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
CurrencyType
Declaration
public CurrencyType CurrencyType { get; set; }
Property Value
IconName
Declaration
public override string IconName { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
IsPlayerCredit
Declaration
public bool IsPlayerCredit { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
PlayerCreditTextLength
Declaration
public static int PlayerCreditTextLength { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
TextName
Declaration
protected override LocString TextName { get; }
Property Value
Overrides
TotalCurrency
Declaration
public float TotalCurrency { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
Methods
CirculationChanged()
Declaration
public void CirculationChanged()
Initialize()
Declaration
public override void Initialize()
Overrides
OnDeserialized()
Declaration
public void OnDeserialized()
OnGoneForever()
Declaration
public void OnGoneForever()
UILinkContent()
Declaration
public override LocString UILinkContent()
Returns
Overrides
UILinkContent(Single)
Declaration
public LocString UILinkContent(float amount)
Parameters
| Type |
Name |
Description |
| System.Single |
amount |
|
Returns
UILinkContentNoBold(Single)
Declaration
public LocString UILinkContentNoBold(float amount)
Parameters
| Type |
Name |
Description |
| System.Single |
amount |
|
Returns
UILinkContentNoBoldRed(Single)
Declaration
public LocString UILinkContentNoBoldRed(float amount)
Parameters
| Type |
Name |
Description |
| System.Single |
amount |
|
Returns
Implements
System.ComponentModel.INotifyPropertyChanged
ISuffixName
Extension Methods