Class CivicsTooltip
Tooltip handler for Civics tooltips.
TypeTooltip hands over the tooltip generation logic to this class for type properties that are being hovered.
Inheritance
System.Object
CivicsTooltip
Namespace: Eco.Gameplay.Civics.Misc
Assembly: Eco.Gameplay.dll
Syntax
public static class CivicsTooltip : Object
Methods
GetOrAddCachedTooltip(Type)
Tries to get the tooltip text for a specific type from cache -- if it isn't cached, generates, caches, then returns it.
Cached tooltips are localized.
Declaration
public static LocString GetOrAddCachedTooltip(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type |
Returns
Type | Description |
---|---|
LocString |