Project Zomboid Lua Docs 29123
Unofficial documentation for Project Zomboid's Lua
Loading...
Searching...
No Matches
umbrella::ModOptions::ComboBox Class Reference
Inheritance diagram for umbrella::ModOptions::ComboBox:
umbrella::ModOptions::BaseOption

Public Member Functions

 fun (option:umbrella::ModOptions::ComboBox, selected:integer) onChange
 fun (option:umbrella::ModOptions::ComboBox, selected:integer) onChangeApply
void addItem (string name, boolean selected)
integer getValue ()
void setValue (integer value)
Public Member Functions inherited from umbrella::ModOptions::BaseOption
void setEnabled (string bool)

Public Attributes

combobox type
string[] values
table boolean isEnabled
integer selected
ISComboBox element
Public Attributes inherited from umbrella::ModOptions::BaseOption
string id
string name
string tooltip
table element

Member Function Documentation

◆ addItem()

void umbrella::ModOptions::ComboBox::addItem ( string name,
boolean selected )

◆ fun() [1/2]

umbrella::ModOptions::ComboBox::fun ( option:umbrella::ModOptions::ComboBox ,
selected:integer  )

◆ fun() [2/2]

umbrella::ModOptions::ComboBox::fun ( option:umbrella::ModOptions::ComboBox ,
selected:integer  )

◆ getValue()

integer umbrella::ModOptions::ComboBox::getValue ( )

◆ setValue()

void umbrella::ModOptions::ComboBox::setValue ( integer value)

Member Data Documentation

◆ element

ISComboBox umbrella::ModOptions::ComboBox::element

◆ isEnabled

table boolean umbrella::ModOptions::ComboBox::isEnabled

◆ selected

integer umbrella::ModOptions::ComboBox::selected

◆ type

combobox umbrella::ModOptions::ComboBox::type

◆ values

string [] umbrella::ModOptions::ComboBox::values

The documentation for this class was generated from the following file: