24 lines
460 B
C#
24 lines
460 B
C#
namespace zero.Api.Models;
|
|
|
|
/// <summary>
|
|
/// The modifier displays a small icon (with hover text) next to the main item icon
|
|
/// </summary>
|
|
public struct TreeItemModifier
|
|
{
|
|
/// <summary>
|
|
/// Name of the modifier
|
|
/// </summary>
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// Icon to display
|
|
/// </summary>
|
|
public string Icon { get; set; }
|
|
|
|
public TreeItemModifier(string name, string icon)
|
|
{
|
|
Name = name;
|
|
Icon = icon;
|
|
}
|
|
}
|