Project Zomboid Lua Docs 42.20.3
Unofficial documentation for Project Zomboid's Lua
Loading...
Searching...
No Matches
ISHealthPanel::BaseHandler Class Reference
Inheritance diagram for ISHealthPanel::BaseHandler:
ISBaseObject ISHealthPanel::HApplyBandage ISHealthPanel::HApplyPoultice ISHealthPanel::HCleanBurn ISHealthPanel::HDisinfect ISHealthPanel::HRemoveBandage ISHealthPanel::HRemoveBullet ISHealthPanel::HRemoveGlass ISHealthPanel::HRemoveSplint ISHealthPanel::HRemoveStitch ISHealthPanel::HSplint ISHealthPanel::HStitch

Public Member Functions

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

ISHealthPanel panel
BodyPart bodyPart
table items
Public Attributes inherited from ISBaseObject
string Type
ISBaseObject SuperType
table< string, table< function, unknown > > __eventListeners

Member Function Documentation

◆ addItem()

void ISHealthPanel::BaseHandler::addItem ( InventoryItem[] items,
InventoryItem item )

◆ checkContainerItems()

void ISHealthPanel::BaseHandler::checkContainerItems ( ItemContainer container,
ItemContainer[] childContainers )

◆ checkItems()

void ISHealthPanel::BaseHandler::checkItems ( )

◆ dropItems()

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

◆ getAllItemsOfType()

InventoryItem[] ISHealthPanel::BaseHandler::getAllItemsOfType ( InventoryItem[] items,
string type )

◆ getAllItemTypes()

string[] ISHealthPanel::BaseHandler::getAllItemTypes ( InventoryItem[] items)

◆ getDoctor()

IsoPlayer ISHealthPanel::BaseHandler::getDoctor ( )

◆ getItemOfTag()

InventoryItem ISHealthPanel::BaseHandler::getItemOfTag ( InventoryItem[] items,
string type )

◆ getItemOfType()

InventoryItem ISHealthPanel::BaseHandler::getItemOfType ( InventoryItem[] items,
string type )

◆ getPatient()

IsoPlayer ISHealthPanel::BaseHandler::getPatient ( )

◆ ISHealthPanel::BaseHandler()

ISHealthPanel::BaseHandler::ISHealthPanel::BaseHandler ( ISHealthPanel panel,
BodyPart bodyPart )

◆ isInjured()

boolean ISHealthPanel::BaseHandler::isInjured ( )

◆ onMenuOptionSelected()

void ISHealthPanel::BaseHandler::onMenuOptionSelected ( unknown arg1,
unknown arg2,
unknown arg3,
unknown arg4,
unknown arg5,
unknown arg6,
unknown arg7,
unknown arg8 )

◆ toPlayerInventory()

ISGrabCorpseItem ISInventoryTransferAction ISHealthPanel::BaseHandler::toPlayerInventory ( InventoryItem item,
ISBaseTimedAction previousAction )

Member Data Documentation

◆ bodyPart

BodyPart ISHealthPanel::BaseHandler::bodyPart

◆ items

table ISHealthPanel::BaseHandler::items

◆ panel

ISHealthPanel ISHealthPanel::BaseHandler::panel

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