Project Zomboid Lua Docs 42.13.0
Unofficial documentation for Project Zomboid's Lua
Loading...
Searching...
No Matches
ISHealthPanel::HApplyPoultice Class Reference
Inheritance diagram for ISHealthPanel::HApplyPoultice:
ISHealthPanel::BaseHandler ISBaseObject ISHealthPanel::HApplyComfrey ISHealthPanel::HApplyGarlic ISHealthPanel::HApplyPlantain

Public Member Functions

void checkItem (nil item)
void addToMenu (ISContextMenu context)
boolean dropItems (nil items)
boolean isValid (nil itemType)
void perform (nil previousAction, nil itemType)
 ISHealthPanel::HApplyPoultice (nil panel, nil bodyPart, string itemType, string menuLabel, table actionClass)
Public Member Functions inherited from ISHealthPanel::BaseHandler
boolean isInjured ()
void checkItems ()
void checkContainerItems (nil container, nil childContainers)
boolean dropItems (nil items)
void addItem (nil items, nil item)
table getAllItemTypes (nil items)
unknown getItemOfType (nil items, nil type)
unknown getItemOfTag (nil items, nil type)
table getAllItemsOfType (nil items, nil type)
void onMenuOptionSelected (nil arg1, nil arg2, nil arg3, nil arg4, nil arg5, nil arg6, nil arg7, nil arg8)
ISGrabCorpseItem ISInventoryTransferAction toPlayerInventory (nil item, nil previousAction)
unknown getDoctor ()
unknown getPatient ()
 ISHealthPanel::BaseHandler (nil panel, nil bodyPart)
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

string itemType
string menuLabel
table actionClass
Public Attributes inherited from ISHealthPanel::BaseHandler
table items
Public Attributes inherited from ISBaseObject
string Type
table< string, table< function, unknown > > __eventListeners

Member Function Documentation

◆ addToMenu()

void ISHealthPanel::HApplyPoultice::addToMenu ( ISContextMenu context)

◆ checkItem()

void ISHealthPanel::HApplyPoultice::checkItem ( nil item)

◆ dropItems()

boolean ISHealthPanel::HApplyPoultice::dropItems ( nil items)

◆ ISHealthPanel::HApplyPoultice()

ISHealthPanel::HApplyPoultice::ISHealthPanel::HApplyPoultice ( nil panel,
nil bodyPart,
string itemType,
string menuLabel,
table actionClass )

◆ isValid()

boolean ISHealthPanel::HApplyPoultice::isValid ( nil itemType)

◆ perform()

void ISHealthPanel::HApplyPoultice::perform ( nil previousAction,
nil itemType )

Member Data Documentation

◆ actionClass

table ISHealthPanel::HApplyPoultice::actionClass

◆ itemType

string ISHealthPanel::HApplyPoultice::itemType

◆ menuLabel

string ISHealthPanel::HApplyPoultice::menuLabel

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