mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-28 08:57:32 +01:00
15 lines
408 B
ReStructuredText
15 lines
408 B
ReStructuredText
|
getCurrentAction() Netscript Function
|
||
|
=====================================
|
||
|
|
||
|
.. js:function:: getCurrentAction()
|
||
|
|
||
|
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".
|