Project Zomboid Lua Docs 42.20.3
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 (InventoryItem item)
void addToMenu (ISContextMenu context)
boolean dropItems (InventoryItem[] items)
boolean isValid (string itemType)
void perform (ISBaseTimedAction previousAction, string itemType)
 ISHealthPanel::HApplyPoultice (ISHealthPanel panel, BodyPart bodyPart, string itemType, string menuLabel, table actionClass)
Public Member Functions inherited from ISHealthPanel::BaseHandler
boolean isInjured ()
void checkItems ()
void checkContainerItems (ItemContainer container, ItemContainer[] childContainers)
boolean dropItems (InventoryItem[] items)
void addItem (InventoryItem[] items, InventoryItem item)
string[] getAllItemTypes (InventoryItem[] items)
InventoryItem getItemOfType (InventoryItem[] items, string type)
InventoryItem getItemOfTag (InventoryItem[] items, string type)
InventoryItem[] getAllItemsOfType (InventoryItem[] items, string type)
void onMenuOptionSelected (unknown arg1, unknown arg2, unknown arg3, unknown arg4, unknown arg5, unknown arg6, unknown arg7, unknown arg8)
ISGrabCorpseItem ISInventoryTransferAction toPlayerInventory (InventoryItem item, ISBaseTimedAction previousAction)
IsoPlayer getDoctor ()
IsoPlayer getPatient ()
 ISHealthPanel::BaseHandler (ISHealthPanel panel, BodyPart bodyPart)
Public Member Functions inherited from ISBaseObject
void initialise ()
ISBaseObject derive (string type)
boolean instanceof (unknown object, 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
ISHealthPanel panel
BodyPart bodyPart
table items
Public Attributes inherited from ISBaseObject
string Type
ISBaseObject SuperType
table< string, table< function, unknown > > __eventListeners

Member Function Documentation

◆ addToMenu()

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

◆ checkItem()

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

◆ dropItems()

boolean ISHealthPanel::HApplyPoultice::dropItems ( InventoryItem[] items)

◆ ISHealthPanel::HApplyPoultice()

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

◆ isValid()

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

◆ perform()

void ISHealthPanel::HApplyPoultice::perform ( ISBaseTimedAction previousAction,
string 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: