Project Zomboid Lua Docs 29123
Unofficial documentation for Project Zomboid's Lua
Loading...
Searching...
No Matches
ISLightSourceRadialMenu Class Reference
Inheritance diagram for ISLightSourceRadialMenu:
ISBaseObject

Public Member Functions

void center ()
Recipe getInsertBatteryRecipe (InventoryItem item, ArrayList< ItemContainer > containerList)
Recipe getRemoveBatteryRecipe (InventoryItem item, ArrayList< ItemContainer > containerList)
void fillMenuForItem (ISRadialMenu menu, InventoryItem item)
void fillMenu ()
void display ()
void onEquipLight (InventoryItem item, boolean primary)
void onInsertBattery (InventoryItem item)
void onRemoveBattery (InventoryItem item)
void onToggle (InventoryItem item)
void onLightCandle (InventoryItem item)
void onExtinguishCandle (InventoryItem item)
 ISLightSourceRadialMenu (nil character)
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 ()

Static Public Member Functions

static boolean checkKey (integer key)
static void onKeyPressed (integer key)
static void onKeyRepeat (integer key)
static void onKeyReleased (integer key)

Public Attributes

IsoPlayer character
integer playerNum
Public Attributes inherited from ISBaseObject
string Type
table< string, table< function, unknown > > __eventListeners

Constructor & Destructor Documentation

◆ ISLightSourceRadialMenu()

ISLightSourceRadialMenu::ISLightSourceRadialMenu ( nil character)

Member Function Documentation

◆ center()

void ISLightSourceRadialMenu::center ( )

◆ checkKey()

boolean ISLightSourceRadialMenu::checkKey ( integer key)
static

◆ display()

void ISLightSourceRadialMenu::display ( )

◆ fillMenu()

void ISLightSourceRadialMenu::fillMenu ( )

◆ fillMenuForItem()

void ISLightSourceRadialMenu::fillMenuForItem ( ISRadialMenu menu,
InventoryItem item )

◆ getInsertBatteryRecipe()

Recipe ISLightSourceRadialMenu::getInsertBatteryRecipe ( InventoryItem item,
ArrayList< ItemContainer > containerList )

◆ getRemoveBatteryRecipe()

Recipe ISLightSourceRadialMenu::getRemoveBatteryRecipe ( InventoryItem item,
ArrayList< ItemContainer > containerList )

◆ onEquipLight()

void ISLightSourceRadialMenu::onEquipLight ( InventoryItem item,
boolean primary )

◆ onExtinguishCandle()

void ISLightSourceRadialMenu::onExtinguishCandle ( InventoryItem item)

◆ onInsertBattery()

void ISLightSourceRadialMenu::onInsertBattery ( InventoryItem item)

◆ onKeyPressed()

void ISLightSourceRadialMenu::onKeyPressed ( integer key)
static

◆ onKeyReleased()

void ISLightSourceRadialMenu::onKeyReleased ( integer key)
static

◆ onKeyRepeat()

void ISLightSourceRadialMenu::onKeyRepeat ( integer key)
static

◆ onLightCandle()

void ISLightSourceRadialMenu::onLightCandle ( InventoryItem item)

◆ onRemoveBattery()

void ISLightSourceRadialMenu::onRemoveBattery ( InventoryItem item)

◆ onToggle()

void ISLightSourceRadialMenu::onToggle ( InventoryItem item)

Member Data Documentation

◆ character

IsoPlayer ISLightSourceRadialMenu::character

◆ playerNum

integer ISLightSourceRadialMenu::playerNum

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