mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-11-19 13:16:56 +00:00
18 lines
456 B
C#
18 lines
456 B
C#
namespace EHR;
|
|
|
|
public class TextOptionItem : OptionItem
|
|
{
|
|
public TextOptionItem(int id, string name, TabGroup tab, int defaultValue = 0, bool isSingleValue = false) : base(id, name, defaultValue, tab, isSingleValue)
|
|
{
|
|
IsText = true;
|
|
IsHeader = true;
|
|
}
|
|
|
|
public bool CollapsesSection { get; set; }
|
|
|
|
// Getter
|
|
public override string GetString()
|
|
{
|
|
return Translator.GetString(Name);
|
|
}
|
|
} |