Options
EEex_Options_AddTab
Warning
This function is currently undocumented.
EEex_Options_Check
Summary
Checks if the option with the given id exists and is equal to the given value.
Parameters:
Name |
Type |
Default Value |
Description |
|---|---|---|---|
id |
string |
The id of the option whose value is to be checked. |
|
value |
|
The value to check against the option. |
Return Values:
Type |
Description |
|---|---|
boolean |
|
EEex_Options_Close
Summary
Closes the "EEex Options" menu if it is currently open.
EEex_Options_Get
Summary
Returns the option object with the given id.
Parameters:
Name |
Type |
Default Value |
Description |
|---|---|---|---|
id |
string |
The id of the option to be fetched. |
Return Values:
Type |
Description |
|---|---|
EEex_Options_Option | nil |
See summary / The Option Table for more details. |
EEex_Options_MarshalKeybind
Summary
Returns a string representing the given keybind table.
Parameters:
Name |
Type |
Default Value |
Description |
|---|---|---|---|
keybind |
table |
A table representing the keybind to marshal. |
Return Values:
Type |
Description |
|---|---|
string |
See summary. |
EEex_Options_Open
Summary
Opens the "EEex Options" menu if it is currently closed.
EEex_Options_Option.new
Summary
Creates a new EEex_Options_Option instance.
Parameters:
Name |
Type |
Default Value |
Description |
|---|---|---|---|
o |
table |
|
The object to become the |
Return Values:
Type |
Description |
|---|---|
EEex_Options_Option |
See summary. |
The Option Table
Key |
Value Type |
Description |
|---|---|---|
accessor |
EEex_Options_Accessor |
This field is currently undocumented. |
default |
|
This field is currently undocumented. |
requiresRestart |
boolean |
This field is currently undocumented. |
storage |
EEex_Options_Private_Storage |
This field is currently undocumented. |
EEex_Options_Option:get()
Summary
Returns the current, in-effect value of the option.
Note
Some options delay applying changes made to their value; these changes will only be visible at a later time, such as after a restart.
Return Values:
Type |
Description |
|---|---|
|
See summary. |
EEex_Options_Option:getDefault()
Summary
Returns the default value of the option.
Return Values:
Type |
Description |
|---|---|
|
See summary. |
EEex_Options_Option:set()
Summary
Sets the value of the option.
Note
Some options delay applying changes made to their value; these changes will only be visible at a later time, such as after a restart.
Parameters:
Name |
Type |
Default Value |
Description |
|---|---|---|---|
newValue |
|
The value to set the option to. |
Return Values:
Type |
Description |
|---|---|
|
Returns the value the option was set to after constraints were applied to |
EEex_Options_Register
Summary
Registers option under id. Options must be registered to be functional.
Parameters:
Name |
Type |
Default Value |
Description |
|---|---|---|---|
id |
string |
The unique id to register |
|
option |
EEex_Options_Option |
The option being registered. |
Return Values:
Type |
Description |
|---|---|
EEex_Options_Option |
Returns |
EEex_Options_Set
Summary
If it exists, sets the option with the given id to value.
Parameters:
Name |
Type |
Default Value |
Description |
|---|---|---|---|
id |
string |
The id of the option whose value is to be set. |
|
value |
|
The value to set the option to. If |
Return Values:
Type |
Description |
|---|---|
|
The new value of the option, or |
EEex_Options_UnmarshalKeybind
Summary
Returns a table representing the given keybindStr string.
Parameters:
Name |
Type |
Default Value |
Description |
|---|---|---|---|
keybindStr |
string |
A string representing the keybind to unmarshal. |
Return Values:
Type |
Description |
|---|---|
table |
See summary / The Keybind Table for more details. |