M_MSCLoader_PopupSetting_AddTextBox - piotrulos/MSCModLoader GitHub Wiki

AddTextBox(String, String, String, String, Boolean) Method

Add TextBox where user can type any text (string value returns on confirm)

Definition

Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.3.1.346

C#

public <a href="T_MSCLoader_SettingsTextBox">SettingsTextBox</a> AddTextBox(
	string settingID,
	string name,
	string value,
	string placeholderText,
	bool visibleByDefault = true
)

Parameters

  String
Your unique settings ID
  String
Name of text box
  String
Default TextBox value
  String
Placeholder text (like "Enter text...")
  Boolean  (Optional)
Show text box by default (default true)

Return Value

SettingsTextBox
SettingsTextBox

See Also

Reference

PopupSetting Class
AddTextBox Overload
MSCLoader Namespace

⚠️ **GitHub.com Fallback** ⚠️