Show / Hide Table of Contents

Class UILinkExtensions

Inheritance
System.Object
UILinkExtensions
Namespace: Eco.Gameplay.Systems.TextLinks
Assembly: Eco.Gameplay.dll
Syntax
public static class UILinkExtensions : Object

Methods

ShortUILink(ILinkable, Int32)

Declaration
public static LocString ShortUILink(this ILinkable linkable, int length = 13)
Parameters
Type Name Description
ILinkable linkable
System.Int32 length
Returns
Type Description
LocString

UILink(ILinkable)

Declaration
public static LocString UILink(this ILinkable linkable)
Parameters
Type Name Description
ILinkable linkable
Returns
Type Description
LocString

UILink(ILinkable, LocString)

Declaration
public static LocString UILink(this ILinkable linkable, LocString content)
Parameters
Type Name Description
ILinkable linkable
LocString content
Returns
Type Description
LocString

UILink(Type, LocString)

Declaration
public static LocString UILink(this Type type, LocString content)
Parameters
Type Name Description
System.Type type
LocString content
Returns
Type Description
LocString

UILink<T>(ILinkableParameterized<T>, T)

Declaration
public static LocString UILink<T>(this ILinkableParameterized<T> linkable, T param)
Parameters
Type Name Description
ILinkableParameterized<T> linkable
T param
Returns
Type Description
LocString
Type Parameters
Name Description
T

UILinkPlural(ILinkableParameterized<LinkConfig>, Int32)

Helper for showing plural if count != 1, and regular otherwise.

Declaration
public static LocString UILinkPlural(this ILinkableParameterized<LinkConfig> linkable, int count = 2)
Parameters
Type Name Description
ILinkableParameterized<LinkConfig> linkable
System.Int32 count
Returns
Type Description
LocString
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾