Show / Hide Table of Contents

Class CurrencyAttribute

Inheritance
System.Object
ItemAttribute
CurrencyAttribute
Inherited Members
ItemAttribute.BuildCache(IEnumerable<Item>)
ItemAttribute.Has<T>(Type)
ItemAttribute.Has(Type, Type)
ItemAttribute.TryGet<T>(Type, T)
ItemAttribute.Get<T>(Type)
Namespace: Eco.Gameplay.Items
Assembly: Eco.Gameplay.dll
Syntax
public class CurrencyAttribute : ItemAttribute

Constructors

CurrencyAttribute(Int32)

Determines how many coins max can be created from each item.

Declaration
public CurrencyAttribute(int maxAllowedCoinsPerItem = 10000)
Parameters
Type Name Description
System.Int32 maxAllowedCoinsPerItem

Properties

MaxAllowedCoinsPerItem

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

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