Options
All
  • Public
  • Public/Protected
  • All
Menu

Manager handling factions.

Hierarchy

  • FactionManager

Index

Constructors

  • Creates a new manager handling factions.

    Parameters

    • ns: NS

    Returns FactionManager

Properties

_allFactions: Faction[]

All factions, as a Faction instance.

_augmentationMap: AugmentationMap = {}

All augmentations offered by a faction.

_ns: NS

The Netscript object.

Methods

  • Get all augmentations offered by all factions.

    Returns AugmentationMap

    All factions' augmentations, by faction name.

  • Returns all factions which meet join requirements, as Faction instances.

    Returns Faction[]

    All factions which can be joined.

  • Returns all joined factions, as Faction instances.

    Returns Faction[]

    All factions that have been joined.

  • Get all augmentations offered by all factions which aren't owned yet.

    Returns AugmentationMap

    All factions' augmentations, by faction name.

  • Get all augmentations offered by all factions which can be purchased.

    Returns AugmentationMap

    All factions' augmentations, by faction name.

  • Returns all factions which haven't been joined, as Faction instances.

    Returns Faction[]

    All factions that haven't been joined.

Generated using TypeDoc