Class NegatedNameAttribute
For boolean properties that serve as context, this will be the negated name that we also add to context (so the bool 'Bought' can have a negated context name 'Sold' that is shown to the player). Note: if you want a dynamic name for the tab, create a property named ComponentTabName in the class and make it synctoview.
Inheritance
System.Object
NegatedNameAttribute
Namespace: Eco.Core.Controller
Assembly: Eco.Core.dll
Syntax
public class NegatedNameAttribute : Attribute
Constructors
NegatedNameAttribute(String)
Declaration
public NegatedNameAttribute(string negatedName)
Parameters
Type | Name | Description |
---|---|---|
System.String | negatedName |
Fields
NegatedName
Declaration
public string NegatedName
Field Value
Type | Description |
---|---|
System.String |