bitburner-src/doc/source/netscript/bladeburnerapi/getCurrentAction.rst
2021-03-11 16:48:00 -05:00

17 lines
429 B
ReStructuredText

getCurrentAction() Netscript Function
=====================================
.. js:function:: getCurrentAction()
:RAM cost: 1 GB
Returns an object that represents the player's current Bladeburner action::
{
type: Type of Action
name: Name of Action
}
If the player is not performing an action, the function will return an object
with the 'type' property set to "Idle".