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

Public Member Functions

boolean floorHasRoomFor (IsoGridSquare square, IsoPlayer character, InventoryItem item, ItemContainer destContainer)
boolean canDropOnFloor (IsoGridSquare square, IsoPlayer character)
IsoGridSquare getNotFullFloorSquare (IsoPlayer character, InventoryItem item, ItemContainer destContainer)
boolean removeItemOnCharacter (IsoPlayer character, InventoryItem item)
InventoryItem transferItem (IsoPlayer character, InventoryItem item, ItemContainer srcContainer, ItemContainer destContainer, IsoGridSquare dropSquare)
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 number GetDropItemOffset (IsoPlayer character, IsoGridSquare square, InventoryItem item)

Additional Inherited Members

Public Attributes inherited from ISBaseObject
string Type
table< string, table< function, unknown > > __eventListeners

Member Function Documentation

◆ canDropOnFloor()

boolean ISTransferAction::canDropOnFloor ( IsoGridSquare square,
IsoPlayer character )

◆ floorHasRoomFor()

boolean ISTransferAction::floorHasRoomFor ( IsoGridSquare square,
IsoPlayer character,
InventoryItem item,
ItemContainer destContainer )

◆ GetDropItemOffset()

number ISTransferAction::GetDropItemOffset ( IsoPlayer character,
IsoGridSquare square,
InventoryItem item )
static

◆ getNotFullFloorSquare()

IsoGridSquare ISTransferAction::getNotFullFloorSquare ( IsoPlayer character,
InventoryItem item,
ItemContainer destContainer )

◆ removeItemOnCharacter()

boolean ISTransferAction::removeItemOnCharacter ( IsoPlayer character,
InventoryItem item )

◆ transferItem()

InventoryItem ISTransferAction::transferItem ( IsoPlayer character,
InventoryItem item,
ItemContainer srcContainer,
ItemContainer destContainer,
IsoGridSquare dropSquare )

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