Class SimpleNamedOption
Represents a basic selectable option we can pass to the client for selecting custom stuff in popups.
Inheritance
System.Object
SimpleNamedOption
Implements
System.ComponentModel.INotifyPropertyChanged
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
MarkedUpName
Declaration
public LocString MarkedUpName { get; }
Property Value
Name
Declaration
public string Name { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Declaration
public LocString Tooltip { get; set; }
Property Value
Methods
OnLinkClicked(TooltipOrigin, TooltipClickContext, User)
Declaration
public virtual void OnLinkClicked(TooltipOrigin origin, TooltipClickContext clickContext, User user)
Parameters
UILinkContent()
Declaration
public virtual LocString UILinkContent()
Returns
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type |
Description |
| System.ComponentModel.PropertyChangedEventHandler |
|
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods