Show / Hide Table of Contents

Class NewTooltipAttributeBase

Inheritance
System.Object
NewTooltipAttributeBase
NewTooltipAttribute
NewTooltipChildrenAttribute
Namespace: Eco.Gameplay.Systems.NewTooltip
Assembly: Eco.Gameplay.dll
Syntax
public abstract class NewTooltipAttributeBase : Attribute

Constructors

NewTooltipAttributeBase(CacheAs, TTFlags, Type, Type[])

Declaration
protected NewTooltipAttributeBase(CacheAs cacheMode, TTFlags flags, Type overrideType, Type[] ignoreType)
Parameters
Type Name Description
CacheAs cacheMode
TTFlags flags
System.Type overrideType
System.Type[] ignoreType

Fields

CacheMode

Declaration
public CacheAs CacheMode
Field Value
Type Description
CacheAs

Flags

Declaration
public TTFlags Flags
Field Value
Type Description
TTFlags

IgnoreType

Declaration
public Type[] IgnoreType
Field Value
Type Description
System.Type[]

OverrideType

Declaration
public Type OverrideType
Field Value
Type Description
System.Type

Methods

CreatePartInstance(MemberInfo, Type)

Creates tooltip part instance that represents tooltip part defined by this attribute and member it's applied to.

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

IsIgnoredType(Type)

Chech whether the specified type is ignored and doesn't really have this tooltip.

Declaration
public bool IsIgnoredType(Type type)
Parameters
Type Name Description
System.Type type
Returns
Type Description
System.Boolean

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