mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-01-12 08:17:34 +01:00
DOCUMENTATION: Clarify type of returned value of ns.gang.getOtherGangInformation (#1882)
This commit is contained in:
parent
ef87174e3f
commit
bcbaf3e224
@ -9,11 +9,11 @@ Get information about the other gangs.
|
|||||||
**Signature:**
|
**Signature:**
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
getOtherGangInformation(): GangOtherInfo;
|
getOtherGangInformation(): Record<string, GangOtherInfoObject>;
|
||||||
```
|
```
|
||||||
**Returns:**
|
**Returns:**
|
||||||
|
|
||||||
[GangOtherInfo](./bitburner.gangotherinfo.md)
|
Record<string, [GangOtherInfoObject](./bitburner.gangotherinfoobject.md)<!-- -->>
|
||||||
|
|
||||||
Object containing territory and power information about all gangs.
|
Object containing territory and power information about all gangs.
|
||||||
|
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
||||||
|
|
||||||
[Home](./index.md) > [bitburner](./bitburner.md) > [GangOtherInfo](./bitburner.gangotherinfo.md)
|
|
||||||
|
|
||||||
## GangOtherInfo interface
|
|
||||||
|
|
||||||
|
|
||||||
**Signature:**
|
|
||||||
|
|
||||||
```typescript
|
|
||||||
interface GangOtherInfo
|
|
||||||
```
|
|
@ -79,7 +79,6 @@
|
|||||||
| [GangMemberAscension](./bitburner.gangmemberascension.md) | |
|
| [GangMemberAscension](./bitburner.gangmemberascension.md) | |
|
||||||
| [GangMemberInfo](./bitburner.gangmemberinfo.md) | |
|
| [GangMemberInfo](./bitburner.gangmemberinfo.md) | |
|
||||||
| [GangMemberInstall](./bitburner.gangmemberinstall.md) | |
|
| [GangMemberInstall](./bitburner.gangmemberinstall.md) | |
|
||||||
| [GangOtherInfo](./bitburner.gangotherinfo.md) | |
|
|
||||||
| [GangOtherInfoObject](./bitburner.gangotherinfoobject.md) | |
|
| [GangOtherInfoObject](./bitburner.gangotherinfoobject.md) | |
|
||||||
| [GangTaskStats](./bitburner.gangtaskstats.md) | Object representing data representing a gang member task. |
|
| [GangTaskStats](./bitburner.gangtaskstats.md) | Object representing data representing a gang member task. |
|
||||||
| [GangTerritory](./bitburner.gangterritory.md) | |
|
| [GangTerritory](./bitburner.gangterritory.md) | |
|
||||||
|
7
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
7
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -858,11 +858,6 @@ interface GangOtherInfoObject {
|
|||||||
territory: number;
|
territory: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @public */
|
|
||||||
interface GangOtherInfo {
|
|
||||||
[key: string]: GangOtherInfoObject;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Object representing data representing a gang member task.
|
* Object representing data representing a gang member task.
|
||||||
* @public
|
* @public
|
||||||
@ -4022,7 +4017,7 @@ export interface Gang {
|
|||||||
*
|
*
|
||||||
* @returns Object containing territory and power information about all gangs.
|
* @returns Object containing territory and power information about all gangs.
|
||||||
*/
|
*/
|
||||||
getOtherGangInformation(): GangOtherInfo;
|
getOtherGangInformation(): Record<string, GangOtherInfoObject>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get information about a specific gang member.
|
* Get information about a specific gang member.
|
||||||
|
Loading…
Reference in New Issue
Block a user