Show / Hide Table of Contents

Class Currency

Inheritance
System.Object
SimpleEntry
Currency
Implements
ILinkableParameterized<System.Boolean>
ILinkableParameterized<SimpleEntry.NamingOptions>
IValidity
ICachesValidity
IHasID
INamed
IReInitializable
IHasReferenceableSerializableID
IHasSerializableID
System.ComponentModel.INotifyPropertyChanged
IDescribable
ISuffixName
IThreadSafeSubscriptions
ISubscriptions<ThreadSafeSubscriptions>
ISubscriptions
ILinkableParameterized<System.Single>
ILinkable
ICategorizedEntry
IController
IViewController
IHasUniversalID
Inherited Members
SimpleEntry.Description()
SimpleEntry.PostLoad()
SimpleEntry.CreatorText(Player)
SimpleEntry.ToString()
SimpleEntry.SaveInRegistrar()
SimpleEntry.UILinkContent(Boolean)
SimpleEntry.UILinkContent(SimpleEntry.NamingOptions)
SimpleEntry.OnLinkClicked(TooltipOrigin, TooltipClickContext, User)
SimpleEntry.ReInitialize()
SimpleEntry.MarkDirty()
SimpleEntry.Destroyed()
SimpleEntry.UserDescription
SimpleEntry.Name
SimpleEntry.Creator
SimpleEntry.NameSuffix
SimpleEntry.CreationTime
SimpleEntry.CachedValidity
SimpleEntry.IsDestroyed
SimpleEntry.OnValidityChanged
SimpleEntry.Initialized
SimpleEntry.MarkedUpName
SimpleEntry.Id
SimpleEntry.Registrar
SimpleEntry.WorldTimeSinceCreation
SimpleEntry.CanBeDeleted
SimpleEntry.Scannable
SimpleEntry.Style
SimpleEntry.ControllerID
SimpleEntry.TrueResult
SimpleEntry.Subscriptions
SimpleEntry.PropertyChanged
Namespace: Eco.Gameplay.Economy
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
public Currency()

Properties

Backed

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

BackingItem

Declaration
public Item BackingItem { get; set; }
Property Value
Type Description
Item

CategoryName

Declaration
public LocString CategoryName { get; }
Property Value
Type Description
LocString

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

IconName

Declaration
public override string IconName { get; }
Property Value
Type Description
System.String
Overrides
SimpleEntry.IconName

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
Type Description
LocString
Overrides
SimpleEntry.TextName

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
SimpleEntry.Initialize()

OnDeserialized()

Declaration
public void OnDeserialized()

OnGoneForever()

Declaration
public void OnGoneForever()

UILinkContent()

Declaration
public override LocString UILinkContent()
Returns
Type Description
LocString
Overrides
SimpleEntry.UILinkContent()

UILinkContent(Single)

Declaration
public LocString UILinkContent(float amount)
Parameters
Type Name Description
System.Single amount
Returns
Type Description
LocString

UILinkContentNoBold(Single)

Declaration
public LocString UILinkContentNoBold(float amount)
Parameters
Type Name Description
System.Single amount
Returns
Type Description
LocString

UILinkContentNoBoldRed(Single)

Declaration
public LocString UILinkContentNoBoldRed(float amount)
Parameters
Type Name Description
System.Single amount
Returns
Type Description
LocString

Implements

ILinkableParameterized<T>
ILinkableParameterized<T>
IValidity
ICachesValidity
IHasID
INamed
IReInitializable
IHasReferenceableSerializableID
IHasSerializableID
System.ComponentModel.INotifyPropertyChanged
IDescribable
ISuffixName
IThreadSafeSubscriptions
ISubscriptions<TSubscriptionsList>
ISubscriptions
ILinkableParameterized<T>
ILinkable
ICategorizedEntry
IController
IViewController
IHasUniversalID

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
CurrencyTooltipLibrary.TotalTooltip(Currency)
CurrencyTooltipLibrary.TotalDebtTooltip(Currency)
CurrencyTooltipLibrary.BalancesTooltip(Currency, TooltipOrigin)
MiscTooltipLibrary.SimpleEntryTooltip(SimpleEntry, User)
MiscTooltipLibrary.SimpleEntryTitle(SimpleEntry)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾