Show / Hide Table of Contents

Class SimpleNamedOption

Represents a basic selectable option we can pass to the client for selecting custom stuff in popups.

Inheritance
System.Object
SimpleNamedOption
Implements
INamed
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
ILinkable
IHasSerializableID
Namespace: Eco.Gameplay.Systems.RegistrarSystem
Assembly: Eco.Gameplay.dll
Syntax
public class SimpleNamedOption : Object, INamed, IController, IViewController, IHasUniversalID, INotifyPropertyChanged, ILinkable, IHasSerializableID

Constructors

SimpleNamedOption()

Declaration
public SimpleNamedOption()

Properties

Category

Declaration
public string Category { get; set; }
Property Value
Type Description
System.String

ControllerID

Declaration
public ref int ControllerID { get; }
Property Value
Type Description
System.Int32

LinkTitle

Declaration
public LocString LinkTitle { get; set; }
Property Value
Type Description
LocString

MarkedUpName

Declaration
public LocString MarkedUpName { get; }
Property Value
Type Description
LocString

Name

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String

Tooltip

Declaration
public LocString Tooltip { get; set; }
Property Value
Type Description
LocString

Methods

OnLinkClicked(TooltipOrigin, TooltipClickContext, User)

Declaration
public virtual void OnLinkClicked(TooltipOrigin origin, TooltipClickContext clickContext, User user)
Parameters
Type Name Description
TooltipOrigin origin
TooltipClickContext clickContext
User user

UILinkContent()

Declaration
public virtual LocString UILinkContent()
Returns
Type Description
LocString

Events

PropertyChanged

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type Description
System.ComponentModel.PropertyChangedEventHandler

Implements

INamed
IController
IViewController
IHasUniversalID
System.ComponentModel.INotifyPropertyChanged
ILinkable
IHasSerializableID

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
MiscTooltipLibrary.SimpleNamedOptionTooltip(SimpleNamedOption)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾