Show / Hide Table of Contents

Class ResourceTagCause

Triggers when the item in context has one of the specified tags.

Inheritance
System.Object
BonusCause
ResourceTagCause
Implements
IDescribable
Namespace: Eco.Gameplay.Bonuses
Assembly: Eco.Gameplay.dll
Syntax
public class ResourceTagCause : BonusCause, IDescribable

Constructors

ResourceTagCause()

Declaration
public ResourceTagCause()

Properties

Tags

Tag names to match against Item's tags. Any match triggers.

Declaration
public HashSet<string> Tags { get; set; }
Property Value
Type Description
System.Collections.Generic.HashSet<System.String>

Methods

Description()

Declaration
public override LocString Description()
Returns
Type Description
LocString
Overrides
BonusCause.Description()

IsTriggered(BonusContext)

Declaration
public override bool IsTriggered(BonusContext context)
Parameters
Type Name Description
BonusContext context
Returns
Type Description
System.Boolean
Overrides
BonusCause.IsTriggered(BonusContext)

Implements

IDescribable

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