Table of Contents

Class TextInputSetting

Namespace
Exiled.API.Features.Core.UserSettings
Assembly
Exiled.API.dll

Represents a text input setting.

public class TextInputSetting : SettingBase, IWrapper<ServerSpecificSettingBase>, IWrapper<SSTextArea>
Inheritance
TextInputSetting
Implements
IWrapper<ServerSpecificSettingBase>
IWrapper<SSTextArea>
Inherited Members
Extension Methods

Constructors

TextInputSetting(int, string, FoldoutMode, TextAlignmentOptions, string, HeaderSetting, Action<Player, SettingBase>)

Initializes a new instance of the TextInputSetting class.

public TextInputSetting(int id, string label, SSTextArea.FoldoutMode foldoutMode = FoldoutMode.NotCollapsable, TextAlignmentOptions alignment = TextAlignmentOptions.TopLeft, string hintDescription = null, HeaderSetting header = null, Action<Player, SettingBase> onChanged = null)

Parameters

id int
label string
foldoutMode SSTextArea.FoldoutMode
alignment TextAlignmentOptions
hintDescription string
header HeaderSetting
onChanged Action<Player, SettingBase>

Properties

Alignment

Gets or sets the text alignment options.

public TextAlignmentOptions Alignment { get; set; }

Property Value

TextAlignmentOptions

Base

Gets the base UserSettings.ServerSpecific.SSTextArea that this class is wrapping.

public SSTextArea Base { get; }

Property Value

SSTextArea

FoldoutMode

Gets or sets the foldout mode.

public SSTextArea.FoldoutMode FoldoutMode { get; set; }

Property Value

SSTextArea.FoldoutMode

Label

Gets or sets the text for the setting.

public string Label { get; set; }

Property Value

string

Methods

ToString()

Returns a representation of this TextInputSetting.

public override string ToString()

Returns

string

A string in human-readable format.