csharp
public record class CurrencyDefinitionA currency: gold, tokens, marks, karma — all one type.
Remarks
⚠ Every member is settable, for the YAML binder's reason — see ModifierDefinition.
Fields and properties (6)
public string DisplayNameWhat it is called.
public string TagWhat holding any of it is — Currency.Gold. Empty for one nothing asks about.
public long CapThe most anybody may hold. Zero for no cap.
public CurrencyScope ScopeWhose pile it is.
public float DecayPerDayHow much of it evaporates per day, as a fraction. Zero for none.
public List<CurrencyConversionDefinition> ConversionsWhat it turns into.
Methods (1)
public override void CollectTags(ICollection<string> tags)Every tag this definition mentions, so the content build can bake the tag table.
Used by (7)
- ContentVixen.Gameplay.Economy.Tests
- CurrencyVixen.Gameplay.Economy
- EconomyLibraryVixen.Gameplay.Economy
- EconomyLibraryTestsVixen.Gameplay.Economy.Tests
- EconomyModuleVixen.Gameplay.Economy
- TypeRegistrationVixen.Gameplay.Economy
- Vixen_Gameplay_Economy_CurrencyDefinitionSerializerVixen.Gameplay.Economy