|
Project Zomboid Lua Docs 42.13.0
Unofficial documentation for Project Zomboid's Lua
|
Public Member Functions | |
| void | add (MainOptions::GameOption option) |
| MainOptions::GameOption | get (string optionName) |
| void | apply () |
| void | storeCurrentValues () |
| void | restoreOriginalValues () |
| void | toUI () |
| void | onChange (MainOptions::GameOption option) |
| MainOptions::GameOptions () | |
| Public Member Functions inherited from ISBaseObject | |
| void | initialise () |
| ISBaseObject | derive (string type) |
| void | addEventListener (string _event, function _callback, unknown _target) |
| void | removeEventListener (string _event, function _callback) |
| void | triggerEvent (string _event, unknown ...) |
| void | clearEventListeners () |
| ISBaseObject () | |
Public Attributes | |
| boolean | changed |
| table | options |
| Public Attributes inherited from ISBaseObject | |
| string | Type |
| table< string, table< function, unknown > > | __eventListeners |
| void MainOptions::GameOptions::add | ( | MainOptions::GameOption | option | ) |
| void MainOptions::GameOptions::apply | ( | ) |
| MainOptions::GameOption MainOptions::GameOptions::get | ( | string | optionName | ) |
| MainOptions::GameOptions::MainOptions::GameOptions | ( | ) |
| void MainOptions::GameOptions::onChange | ( | MainOptions::GameOption | option | ) |
| void MainOptions::GameOptions::restoreOriginalValues | ( | ) |
| void MainOptions::GameOptions::storeCurrentValues | ( | ) |
| void MainOptions::GameOptions::toUI | ( | ) |
| boolean MainOptions::GameOptions::changed |
| table MainOptions::GameOptions::options |