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

Public Member Functions

void addToQueue (ISBaseTimedAction action)
integer indexOf (ISBaseTimedAction action)
integer indexOfType (string type)
void removeFromQueue (ISBaseTimedAction action)
void clearQueue ()
void onCompleted (ISBaseTimedAction action)
void resetQueue ()
void cancelQueue ()
void tick ()
boolean isCurrentActionAddingOtherActions ()
 ISTimedActionQueue (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 ()

Static Public Member Functions

static ISTimedActionQueue getTimedActionQueue (IsoPlayer character)
static ISTimedActionQueue add (ISBaseTimedAction action)
static ISTimedActionQueue addAfter (ISBaseTimedAction previousAction, ISBaseTimedAction action)
static ISTimedActionQueue queueActions (IsoPlayer character, umbrella::ISQueueActionsAction::AddActionsFunction addActionsFunction, unknown arg1, unknown arg2, unknown arg3, unknown arg4, unknown arg5, unknown arg6, unknown arg7, unknown arg8, unknown arg9, unknown arg10)
static void addGetUpAndThen (IsoPlayer character, ISBaseTimedAction action)
static ISTimedActionQueue clear (IsoPlayer character)
static boolean hasAction (ISBaseTimedAction action)
static boolean hasActionType (IsoPlayer character, string type)
static boolean isPlayerDoingAction (IsoPlayer playerObj)
static void onTick ()

Public Attributes

ISBaseTimedAction current
IsoPlayer character
ISBaseTimedAction[] queue
Public Attributes inherited from ISBaseObject
string Type
table< string, table< function, unknown > > __eventListeners

Static Public Attributes

static table< IsoPlayer, ISTimedActionQueuequeues
static boolean shouldResetGameSpeed

Constructor & Destructor Documentation

◆ ISTimedActionQueue()

ISTimedActionQueue::ISTimedActionQueue ( IsoPlayer character)

Member Function Documentation

◆ add()

ISTimedActionQueue ISTimedActionQueue::add ( ISBaseTimedAction action)
static

◆ addAfter()

ISTimedActionQueue ISTimedActionQueue::addAfter ( ISBaseTimedAction previousAction,
ISBaseTimedAction action )
static

◆ addGetUpAndThen()

void ISTimedActionQueue::addGetUpAndThen ( IsoPlayer character,
ISBaseTimedAction action )
static

◆ addToQueue()

void ISTimedActionQueue::addToQueue ( ISBaseTimedAction action)

◆ cancelQueue()

void ISTimedActionQueue::cancelQueue ( )

◆ clear()

ISTimedActionQueue ISTimedActionQueue::clear ( IsoPlayer character)
static

◆ clearQueue()

void ISTimedActionQueue::clearQueue ( )

◆ getTimedActionQueue()

ISTimedActionQueue ISTimedActionQueue::getTimedActionQueue ( IsoPlayer character)
static

◆ hasAction()

boolean ISTimedActionQueue::hasAction ( ISBaseTimedAction action)
static

◆ hasActionType()

boolean ISTimedActionQueue::hasActionType ( IsoPlayer character,
string type )
static

◆ indexOf()

integer ISTimedActionQueue::indexOf ( ISBaseTimedAction action)

◆ indexOfType()

integer ISTimedActionQueue::indexOfType ( string type)

◆ isCurrentActionAddingOtherActions()

boolean ISTimedActionQueue::isCurrentActionAddingOtherActions ( )

◆ isPlayerDoingAction()

boolean ISTimedActionQueue::isPlayerDoingAction ( IsoPlayer playerObj)
static

◆ onCompleted()

void ISTimedActionQueue::onCompleted ( ISBaseTimedAction action)

◆ onTick()

void ISTimedActionQueue::onTick ( )
static

◆ queueActions()

ISTimedActionQueue ISTimedActionQueue::queueActions ( IsoPlayer character,
umbrella::ISQueueActionsAction::AddActionsFunction addActionsFunction,
unknown arg1,
unknown arg2,
unknown arg3,
unknown arg4,
unknown arg5,
unknown arg6,
unknown arg7,
unknown arg8,
unknown arg9,
unknown arg10 )
static

◆ removeFromQueue()

void ISTimedActionQueue::removeFromQueue ( ISBaseTimedAction action)

◆ resetQueue()

void ISTimedActionQueue::resetQueue ( )

◆ tick()

void ISTimedActionQueue::tick ( )

Member Data Documentation

◆ character

IsoPlayer ISTimedActionQueue::character

◆ current

ISBaseTimedAction ISTimedActionQueue::current

◆ queue

ISBaseTimedAction [] ISTimedActionQueue::queue

◆ queues

table<IsoPlayer, ISTimedActionQueue> ISTimedActionQueue::queues
static

◆ shouldResetGameSpeed

boolean ISTimedActionQueue::shouldResetGameSpeed
static

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