Class Tag
Tags represent groups of items, for example tag "wood" can be applied to different types of wood.
Inheritance
System.Object
Tag
Assembly: Eco.Gameplay.dll
Syntax
[IconGroup("Tags")]
public class Tag : ItemRepresentation, ILinkableParameterized<LinkConfig>, IHasID, INamed, IReInitializable, IHasReferenceableSerializableID, IHasSerializableID, IHasIcon, IController, IViewController, IHasUniversalID, ILinkable, IEcopediaEntry
Constructors
Tag(String)
Declaration
Parameters
Type |
Name |
Description |
System.String |
name |
|
Properties
CanBeDeleted
Declaration
public bool CanBeDeleted { get; }
Property Value
Type |
Description |
System.Boolean |
|
DisplayName
Declaration
public override LocString DisplayName { get; }
Property Value
Overrides
DisplayNamePlural
Declaration
public override LocString DisplayNamePlural { get; }
Property Value
Overrides
Hidden
Declaration
public bool Hidden { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IconName
Declaration
public string IconName { get; set; }
Property Value
Type |
Description |
System.String |
|
Id
Declaration
Property Value
Type |
Description |
System.Int32 |
|
IsVisibleInEcopedia
Declaration
public bool IsVisibleInEcopedia { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
IsVisibleInFilter
Declaration
public bool IsVisibleInFilter { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool IsVisibleInTooltip { get; }
Property Value
Type |
Description |
System.Boolean |
|
LocalizedName
Declaration
public LocString LocalizedName { get; set; }
Property Value
Name
Declaration
public override string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
Overrides
PluralName
Declaration
public LocString PluralName { get; set; }
Property Value
Methods
Destroyed()
Declaration
Initialize()
Declaration
ReInitialize()
Declaration
public void ReInitialize()
RepresentsItem(Item)
Declaration
public override bool RepresentsItem(Item other)
Parameters
Type |
Name |
Description |
Item |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
RepresentsItemType(Type)
Declaration
public override bool RepresentsItemType(Type itemType)
Parameters
Type |
Name |
Description |
System.Type |
itemType |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
Operators
Implicit(String to Tag)
Declaration
public static implicit operator Tag(string tagName)
Parameters
Type |
Name |
Description |
System.String |
tagName |
|
Returns
Implements
Extension Methods