|
Project Zomboid Lua Docs 29123
Unofficial documentation for Project Zomboid's Lua
|
Public Member Functions | |
| void | setController (JoypadControllerData controller) |
| void | clearController () |
| boolean | isConnected () |
| void | setActive (boolean isActive) |
| boolean | isFocusOnElementOrDescendant (ISUIElement ui) |
| void | startNavigation () |
| void | endNavigation () |
| JoypadData () | |
| 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 | |
| integer | id |
| JoypadControllerData | controller |
| boolean | isActive |
| boolean | isDoingNavigation |
| ISUIElement | currentNavigateUI |
| integer | player |
| ISUIElement | focus |
| ISUIElement | lastfocus |
| ISUIElement | prevfocus |
| ISUIElement | prevprevfocus |
| boolean | inMainMenu |
| ISJoypadListBox | listBox |
| Public Attributes inherited from ISBaseObject | |
| string | Type |
| table< string, table< function, unknown > > | __eventListeners |
| JoypadData::JoypadData | ( | ) |
| void JoypadData::clearController | ( | ) |
| void JoypadData::endNavigation | ( | ) |
| boolean JoypadData::isConnected | ( | ) |
| boolean JoypadData::isFocusOnElementOrDescendant | ( | ISUIElement | ui | ) |
| void JoypadData::setActive | ( | boolean | isActive | ) |
| void JoypadData::setController | ( | JoypadControllerData | controller | ) |
| void JoypadData::startNavigation | ( | ) |
| JoypadControllerData JoypadData::controller |
| ISUIElement JoypadData::currentNavigateUI |
| ISUIElement JoypadData::focus |
| integer JoypadData::id |
| boolean JoypadData::inMainMenu |
| boolean JoypadData::isActive |
| boolean JoypadData::isDoingNavigation |
| ISUIElement JoypadData::lastfocus |
| ISJoypadListBox JoypadData::listBox |
| integer JoypadData::player |
| ISUIElement JoypadData::prevfocus |
| ISUIElement JoypadData::prevprevfocus |