Class: PssAlliance

Classes_API~PssAlliance(rawAlliance)

Represents a PssAlliances (fleets).

Constructor

new PssAlliance(rawAlliance)

constructor - Creates an instance of PssAlliance based on the given data.

Parameters:
Name Type Description
rawAlliance Array.<any>

An array representing an alliance (fleet) as returned by the PSS Fleet Data API.

Source:

Members

allianceId :integer

allianceId - The AllianceId of the Alliance.

Type:
  • integer
Source:

allianceName :string

allianceName - The AllianceName of the Alliance.

Type:
  • string
Source:

championshipScore :integer

championshipScore - The ChampionshipScore of the Alliance.

Type:
  • integer
Source:

divisionDesignId :integer

divisionDesignId - The DivisionDesignId of the tournament division of the Alliance.

Type:
  • integer
Source:

numberOfApprovedMembers :integer

numberOfApprovedMembers - The numberOfApprovedMembers (unapproved member count) of the Alliance.

Type:
  • integer
Source:

numberOfMembers :integer

numberOfMembers - The NumberOfMembers (total member count) of the Alliance.

Type:
  • integer
Source:

score :integer

score - The Score (sum of the number of stars obtained by each member) of the Alliance.

Type:
  • integer
Source:

trophy :integer

trophy - The Trophy (sum of the trophies of each member) of the Alliance.

Type:
  • integer
Source: