2019-03-03 04:08:54 +01:00
|
|
|
getGangInformation() Netscript Function
|
|
|
|
========================================
|
|
|
|
|
|
|
|
.. js:function:: getGangInformation()
|
|
|
|
|
2021-03-07 10:37:56 +01:00
|
|
|
:RAM cost: 2 GB
|
2019-03-03 04:08:54 +01:00
|
|
|
:returns: An object with the gang information.
|
|
|
|
|
|
|
|
The object has the following structure::
|
|
|
|
|
|
|
|
{
|
|
|
|
faction: Name of faction that the gang belongs to ("Slum Snakes", etc.)
|
|
|
|
isHacking: Boolean indicating whether or not its a hacking gang
|
|
|
|
moneyGainRate: Money earned per second
|
|
|
|
power: Gang's power for territory warfare
|
|
|
|
respect: Gang's respect
|
|
|
|
respectGainRate: Respect earned per second
|
|
|
|
territory: Amount of territory held. Returned in decimal form, not percentage
|
|
|
|
territoryClashChance: Clash chance. Returned in decimal form, not percentage
|
|
|
|
wantedLevel: Gang's wanted level
|
|
|
|
wantedLevelGainRate: Wanted level gained/lost per second (negative for losses)
|
|
|
|
}
|
2021-03-12 08:51:56 +01:00
|
|
|
|
|
|
|
Get general information about the gang
|