Show / Hide Table of Contents

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
NewTooltipAttributeBase
NewTooltipChildrenAttribute
Inherited Members
NewTooltipAttributeBase.CacheMode
NewTooltipAttributeBase.Flags
NewTooltipAttributeBase.OverrideType
NewTooltipAttributeBase.IgnoreType
NewTooltipAttributeBase.IsIgnoredType(Type)
Namespace: Eco.Gameplay.Systems.NewTooltip
Assembly: Eco.Gameplay.dll
Syntax
public class NewTooltipChildrenAttribute : NewTooltipAttributeBase
Remarks

If the child value is going to be updated during runtime and we want the child tooltip to reflect that, the parent class should implement System.ComponentModel.INotifyPropertyChanged.

Constructors

NewTooltipChildrenAttribute(CacheAs)

Declaration
public NewTooltipChildrenAttribute(CacheAs cacheMode)
Parameters
Type Name Description
CacheAs cacheMode

NewTooltipChildrenAttribute(CacheAs, TTCat)

Declaration
public NewTooltipChildrenAttribute(CacheAs cacheMode, TTCat excludeCategories)
Parameters
Type Name Description
CacheAs cacheMode
TTCat excludeCategories

NewTooltipChildrenAttribute(CacheAs, TTCat, TTFlags, Type, Type[])

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

ExcludeCategories

Declaration
public TTCat ExcludeCategories
Field Value
Type Description
TTCat

Methods

CreatePartInstance(MemberInfo, Type)

Declaration
public override TooltipPartBase CreatePartInstance(MemberInfo member, Type rootType)
Parameters
Type Name Description
System.Reflection.MemberInfo member
System.Type rootType
Returns
Type Description
TooltipPartBase
Overrides
NewTooltipAttributeBase.CreatePartInstance(MemberInfo, Type)

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