PLAYER
Type Definitions
-
PLAYER
-
window.PLAYER Represents the current player's status in the game. This object is defined by stock and is static, meaning it requires a page reload to update. The PLAYER object stores various pieces of information about the player, which are detailed below.
Additional properties (
nickMatcherandlevel) added by IITC in sidebar.setupPlayerStatProperties:
Name Type Description apstring The amount of AP (Access Points) the player currently has.
available_invitesnumber The number of invitations the player can send.
energynumber The amount of XM (Exotic Matter) the player currently holds.
min_ap_for_current_levelnumber The AP required for the player's current level, used for tracking level progress.
min_ap_for_next_levelnumber The AP required for the next level, used for tracking level progress.
nicknamestring The agent name of the player.
teamstring The faction of the player, which can be either "ENLIGHTENED" or "RESISTANCE".
verified_levelnumber Current player level.
Additional properties
nickMatcherRegExp A regular expression used to match the player's agent name in chat. Added by IITC.
levelnumber Backwards compatibility property, equivalent to
verified_level. Added by IITC.