Show / Hide Table of Contents

Namespace Eco.Gameplay.Systems.NewTooltip

Classes

NewTooltipAttribute

Marks a method, property, or field as a 'TooltipPart'. Tooltip parts will be composed to form the tooltip for a type.

NewTooltipAttributeBase

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.

NewTooltipImage

Marks a method, property, or field as a tooltip image. Image with highest priority will be displayed as image for object's tooltip. Conent of a tooltip part will be used as image ID

NewTooltipTitle

Marks a method, property, or field as a tooltip title. Title with highest priority will be displayed as title for object's tooltip.

OldTooltipSubscriptions

Class created to profile lookup performance using benchmarks. For testing purposes only.

ParamExplanation

Lists params relevant to the player, optionally showing currently assigned values of passed in instances, along with descriptions of each.

PropertyExplanationAttribute

SpeciesExtensions

SpeciesTooltip

TooltipCacheErrorDetection

TooltipChildrenPart

TooltipClickContext

Tracks the context of how the tooltip was clicked.

TooltipExtensions

TooltipManagerServer

Handles constructing tooltips from a set of tooltip parts for controllers, using caching to prevent duplicate queries, and error detection to detect non-dirted parts, etc. See Tooltip.md for a full description.

TooltipPart

Server side implmentation of the tooltip part, built from members with NewTooltip attributes on them. It stores all the relevant data about the part and shares it with the client. It also contains the actual cached data for each tooltip part, which is used to get the text when a user queries a tooltip.

TooltipPartBase

TooltipPartBase.GetValueFromMember

Delegate that defines what parameters can members defining tooltip parts take.

TooltipSection

A single section for a tooltip that contains a title and some content, can be wrapped by line or foldable.

TooltipSubExtensions

TooltipSubscriptions

Helper class to manage the subscriptions to tooltips by users. Tracks which parts are dirty, informs users of them on an interval, and clears the cache. They are recached the next time they are queried (ie, lazily).

TooltipWrapper<T>

TTFlags

Interfaces

IHasPosition

ITooltipSubscriptions

☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾