mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-19 22:23:51 +01:00
e9dfe3c389
* Updated ram cost of documentation * v0.47.3 Co-authored-by: Samuel A. Lamb <samuei@users.noreply.github.com>
16 lines
428 B
ReStructuredText
16 lines
428 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".
|