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

Public Member Functions

boolean isValid ()
void update ()
void start ()
void serverStart ()
void stop ()
boolean complete ()
void perform ()
void animEvent (string event, string parameter)
 ISAttachItemHotbar (IsoPlayer character, InventoryItem item, string slot, integer slotIndex, umbrella::ISHotbar::AttachDefinition slotDef)
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

InventoryItem item
string slot
integer slotIndex
umbrella::ISHotbar::AttachDefinition slotDef
boolean fromHotbar
boolean useProgressBar
boolean ignoreHandsWounds
number animSpeed
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

Constructor & Destructor Documentation

◆ ISAttachItemHotbar()

ISAttachItemHotbar::ISAttachItemHotbar ( IsoPlayer character,
InventoryItem item,
string slot,
integer slotIndex,
umbrella::ISHotbar::AttachDefinition slotDef )

Member Function Documentation

◆ animEvent()

void ISAttachItemHotbar::animEvent ( string event,
string parameter )

◆ complete()

boolean ISAttachItemHotbar::complete ( )

◆ isValid()

boolean ISAttachItemHotbar::isValid ( )

◆ perform()

void ISAttachItemHotbar::perform ( )

◆ serverStart()

void ISAttachItemHotbar::serverStart ( )

◆ start()

void ISAttachItemHotbar::start ( )

◆ stop()

void ISAttachItemHotbar::stop ( )

◆ update()

void ISAttachItemHotbar::update ( )

Member Data Documentation

◆ animSpeed

number ISAttachItemHotbar::animSpeed

◆ fromHotbar

boolean ISAttachItemHotbar::fromHotbar

◆ ignoreHandsWounds

boolean ISAttachItemHotbar::ignoreHandsWounds

◆ item

InventoryItem ISAttachItemHotbar::item

◆ slot

string ISAttachItemHotbar::slot

◆ slotDef

umbrella::ISHotbar::AttachDefinition ISAttachItemHotbar::slotDef

◆ slotIndex

integer ISAttachItemHotbar::slotIndex

◆ useProgressBar

boolean ISAttachItemHotbar::useProgressBar

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