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

Public Member Functions

boolean isValid ()
void update ()
void doActionAnim (ItemContainer cont)
void startActionAnim ()
void start ()
void playSourceContainerOpenSound ()
void playSourceContainerCloseSound ()
void playDestContainerOpenSound ()
void playDestContainerCloseSound ()
string getSoundName ()
void stop ()
void forceComplete ()
void perform ()
boolean isAlreadyTransferred (InventoryItem item)
boolean floorHasRoomFor (IsoGridSquare square, InventoryItem item)
boolean canDropOnFloor (IsoGridSquare square)
IsoGridSquare getNotFullFloorSquare (InventoryItem item)
void transferItem (InventoryItem item)
void setOnComplete (function func, unknown arg1, unknown arg2, unknown arg3, unknown arg4, unknown arg5, unknown arg6, unknown arg7, unknown arg8)
number getTimeDelta ()
boolean canMergeAction (ISBaseTimedAction action)
void checkQueueList ()
void setAllowMissingItems (boolean allow)
string[] getExtraLogData ()
 ISInventoryTransferAction (IsoPlayer character, InventoryItem item, ItemContainer srcContainer, ItemContainer destContainer, number time)
Public Member Functions inherited from ISBaseTimedAction
boolean isValidStart ()
void isValid ()
boolean isUsingTimeout ()
void update ()
void forceComplete ()
void forceStop ()
void forceCancel ()
number getJobDelta ()
unknown resetJobDelta ()
boolean waitToStart ()
void start ()
boolean isStarted ()
void stop ()
void perform ()
number getDuration ()
void create ()
void begin ()
void setCurrentTime (number time)
void setTime (number time)
number adjustMaxTime (number maxTime)
void setActionAnim (CharacterActionAnims|string _action, nil _displayItemModels)
void setOverrideHandModels (InventoryItem _primaryHand, InventoryItem _secondaryHand, boolean _resetModel)
void setOverrideHandModelsString (string _primaryHand, string _secondaryHand, boolean _resetModel)
void overrideWeaponType ()
void restoreWeaponType ()
void setAnimVariable (string _key, string _val)
ISBaseTimedAction addAfter (ISBaseTimedAction action)
void beginAddingActions ()
boolean endAddingActions ()
void getDeltaModifiers (MoveDeltaModifiers deltas)
 ISBaseTimedAction (IsoPlayer 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 ()

Public Attributes

boolean dontAdd
number maxTime
ItemContainer selectedContainer
string jobType
number transactionId
boolean started
ItemContainer sourceContainerOpened
integer sourceContainerOpenSound
ItemContainer destContainerOpened
integer destContainerOpenSound
InventoryItem item
umbrella::ISInventoryTransferAction::QueueItem[] queueList
function onCompleteFunc
table onCompleteArgs
boolean allowMissingItems
ItemContainer srcContainer
ItemContainer destContainer
umbrella::ISInventoryTransferAction::Transaction transactions
boolean loopedAction
Public Attributes inherited from ISBaseTimedAction
number maxTime
LuaTimedActionNew action
boolean _isAddingActions
number _numAddedActions
IsoPlayer character
boolean stopOnWalk
boolean stopOnRun
boolean stopOnAim
number caloriesModifier
boolean useProgressBar
boolean forceProgressBar
boolean loopedAction
Path path
string name
NetTimedAction netAction
Public Attributes inherited from ISBaseObject
string Type
table< string, table< function, unknown > > __eventListeners

Static Public Attributes

static integer putSound
static ItemContainer putSoundContainer

Constructor & Destructor Documentation

◆ ISInventoryTransferAction()

ISInventoryTransferAction::ISInventoryTransferAction ( IsoPlayer character,
InventoryItem item,
ItemContainer srcContainer,
ItemContainer destContainer,
number time )

Member Function Documentation

◆ canDropOnFloor()

boolean ISInventoryTransferAction::canDropOnFloor ( IsoGridSquare square)

◆ canMergeAction()

boolean ISInventoryTransferAction::canMergeAction ( ISBaseTimedAction action)

◆ checkQueueList()

void ISInventoryTransferAction::checkQueueList ( )

◆ doActionAnim()

void ISInventoryTransferAction::doActionAnim ( ItemContainer cont)

◆ floorHasRoomFor()

boolean ISInventoryTransferAction::floorHasRoomFor ( IsoGridSquare square,
InventoryItem item )

◆ forceComplete()

void ISInventoryTransferAction::forceComplete ( )

◆ getExtraLogData()

string[] ISInventoryTransferAction::getExtraLogData ( )

◆ getNotFullFloorSquare()

IsoGridSquare ISInventoryTransferAction::getNotFullFloorSquare ( InventoryItem item)

◆ getSoundName()

string ISInventoryTransferAction::getSoundName ( )

◆ getTimeDelta()

number ISInventoryTransferAction::getTimeDelta ( )

◆ isAlreadyTransferred()

boolean ISInventoryTransferAction::isAlreadyTransferred ( InventoryItem item)

◆ isValid()

boolean ISInventoryTransferAction::isValid ( )

◆ perform()

void ISInventoryTransferAction::perform ( )

◆ playDestContainerCloseSound()

void ISInventoryTransferAction::playDestContainerCloseSound ( )

◆ playDestContainerOpenSound()

void ISInventoryTransferAction::playDestContainerOpenSound ( )

◆ playSourceContainerCloseSound()

void ISInventoryTransferAction::playSourceContainerCloseSound ( )

◆ playSourceContainerOpenSound()

void ISInventoryTransferAction::playSourceContainerOpenSound ( )

◆ setAllowMissingItems()

void ISInventoryTransferAction::setAllowMissingItems ( boolean allow)

◆ setOnComplete()

void ISInventoryTransferAction::setOnComplete ( function func,
unknown arg1,
unknown arg2,
unknown arg3,
unknown arg4,
unknown arg5,
unknown arg6,
unknown arg7,
unknown arg8 )

◆ start()

void ISInventoryTransferAction::start ( )

◆ startActionAnim()

void ISInventoryTransferAction::startActionAnim ( )

◆ stop()

void ISInventoryTransferAction::stop ( )

◆ transferItem()

void ISInventoryTransferAction::transferItem ( InventoryItem item)

◆ update()

void ISInventoryTransferAction::update ( )

Member Data Documentation

◆ allowMissingItems

boolean ISInventoryTransferAction::allowMissingItems

◆ destContainer

ItemContainer ISInventoryTransferAction::destContainer

◆ destContainerOpened

ItemContainer ISInventoryTransferAction::destContainerOpened

◆ destContainerOpenSound

integer ISInventoryTransferAction::destContainerOpenSound

◆ dontAdd

boolean ISInventoryTransferAction::dontAdd

◆ item

InventoryItem ISInventoryTransferAction::item

◆ jobType

string ISInventoryTransferAction::jobType

◆ loopedAction

boolean ISInventoryTransferAction::loopedAction

◆ maxTime

number ISInventoryTransferAction::maxTime

◆ onCompleteArgs

table ISInventoryTransferAction::onCompleteArgs

◆ onCompleteFunc

function ISInventoryTransferAction::onCompleteFunc

◆ putSound

integer ISInventoryTransferAction::putSound
static

◆ putSoundContainer

ItemContainer ISInventoryTransferAction::putSoundContainer
static

◆ queueList

umbrella::ISInventoryTransferAction::QueueItem [] ISInventoryTransferAction::queueList

◆ selectedContainer

ItemContainer ISInventoryTransferAction::selectedContainer

◆ sourceContainerOpened

ItemContainer ISInventoryTransferAction::sourceContainerOpened

◆ sourceContainerOpenSound

integer ISInventoryTransferAction::sourceContainerOpenSound

◆ srcContainer

ItemContainer ISInventoryTransferAction::srcContainer

◆ started

boolean ISInventoryTransferAction::started

◆ transactionId

number ISInventoryTransferAction::transactionId

◆ transactions

umbrella::ISInventoryTransferAction::Transaction ISInventoryTransferAction::transactions

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