Class NewTooltipChildrenAttribute
Use on properties returning one or more objects of type that implements IController interface.
Objects returned by this member will have their tooltip members included along with
this object's tooltip. Adding a ExcludeCategories as a parameter
to the attribute will filter tooltips of that type from the child(ren) for this object's tooltip.
Inheritance
System.Object
NewTooltipChildrenAttribute
Assembly: Eco.Gameplay.dll
public class NewTooltipChildrenAttribute : NewTooltipAttributeBase
Constructors
Declaration
public NewTooltipChildrenAttribute(CacheAs cacheMode)
Parameters
Type |
Name |
Description |
CacheAs |
cacheMode |
|
Declaration
public NewTooltipChildrenAttribute(CacheAs cacheMode, TTCat excludeCategories)
Parameters
Type |
Name |
Description |
CacheAs |
cacheMode |
|
TTCat |
excludeCategories |
|
Declaration
public NewTooltipChildrenAttribute(CacheAs cacheMode, TTCat excludeCategories, TTFlags flags, Type overrideType = null, params Type[] ignoreType)
Parameters
Type |
Name |
Description |
CacheAs |
cacheMode |
|
TTCat |
excludeCategories |
|
TTFlags |
flags |
|
System.Type |
overrideType |
|
System.Type[] |
ignoreType |
|
Fields
Declaration
public TTCat ExcludeCategories
Field Value
Methods
Declaration
public override TooltipPartBase CreatePartInstance(MemberInfo member, Type rootType)
Parameters
Type |
Name |
Description |
System.Reflection.MemberInfo |
member |
|
System.Type |
rootType |
|
Returns
Overrides
Extension Methods