30 lines
1.1 KiB
C#
30 lines
1.1 KiB
C#
using Filtration.ObjectModel.BlockItemBaseTypes;
|
|
using Filtration.ObjectModel.Enums;
|
|
using Filtration.ObjectModel.Extensions;
|
|
using System;
|
|
|
|
namespace Filtration.ObjectModel.BlockItemTypes
|
|
{
|
|
public class MapIconBlockItem : IconBlockItem
|
|
{
|
|
public MapIconBlockItem()
|
|
{
|
|
Size = IconSize.Largest;
|
|
Color = IconColor.Red;
|
|
Shape = IconShape.Circle;
|
|
}
|
|
|
|
public MapIconBlockItem(IconSize size, IconColor iconColor, IconShape iconShape) : base(size, iconColor, iconShape)
|
|
{
|
|
}
|
|
|
|
public override string PrefixText => "MinimapIcon";
|
|
public override int MaximumAllowed => 1;
|
|
public override string DisplayHeading => "Minimap Icon";
|
|
public override int SortOrder => 29;
|
|
|
|
public override string OutputText => (ThemeComponent != null ? "# " + ThemeComponent.ComponentName + Environment.NewLine : string.Empty) +
|
|
PrefixText + " " + (int)Size + " " + Color.GetAttributeDescription() + " " + Shape.GetAttributeDescription();
|
|
}
|
|
}
|