Global

Members


arbitration :ExternalMission

Arbitration mission
Type:
Source:

<constant> defaultDeps :Dependency

Default Dependency object
Type:
  • Dependency
Source:

kuva :Array.<ExternalMission>

Kuva missions array
Type:
Source:

<constant> start :Date

Start of Steel Path cycle calculations
Type:
  • Date
Source:

Methods


compileDesription()

Turn the global upgrade into a plain text description
Source:
Returns:
Descriptio
Type
string

getBoss()

Get the sortie's boss
Source:
Returns:
the sortie's boss
Type
string

getCurrentCycle()

Get the current cycle state for Orb Vallis
Source:
Returns:
current cycle state
Type
CurrentCycle

getCurrentEarthCycle()

Get the current Earth Day/Night Cycle
Source:
Returns:
The current Earth Day/Night Cycle
Type
EarthCycle

getDescription()

Get the alert's description text
Source:
Returns:
the description
Type
string

getEndOfDay()

When was the end of the day
Source:
Returns:
end of the day
Type
Date

getEndString()

Get a string indicating how much time is left before the challenge expires
Source:
Returns:
The time left before the challenge expires
Type
string

getEndString()

Get a string indicating how long it will take for the trader to leave
Source:
Returns:
time delta string from now to the end
Type
string

getEndString()

Get a string indicating how long it will take for the trader to leave
Source:
Returns:
time delta string from now to the end
Type
string

getETAString()

Get a string indicating how much time is left before the alert expires
Source:
Returns:
the time left
Type
string

getETAString()

Get a string indicating how much time is left before the deal expires
Source:
Returns:
estimated time remaining on the deal
Type
string

getETAString()

Get a string representation of how long the void fissure will remain active
Source:
Returns:
The string representation of the fissure's remaining time
Type
string

getETAString()

Get how much time is left before the deal expires
Source:
Returns:
The time left before the deal expires
Type
string

getETAString()

Get a string indicating how long it will take for the upgrade to expire
Source:
Returns:
estimated timer of the upgrade
Type
string

getETAString()

Get a string estimating how much time is left before the invasion ends
Source:
Returns:
time delta string from now to the end
Type
string

getETAString()

Get a string indicating how long it will take for the event to start or how long it's been since the news went up
Source:
Returns:
the estimated time of arrival for the event
Type
string

getETAString()

Get a string indicating how much time is left before the alert expires
Source:
Returns:
estimated timer of the alert
Type
string

getETAString()

Gets a string indicating how long it will take for the sortie to end
Source:
Returns:
estimated time of arrival
Type
string

getETAString()

Get a string indicating how much time is left before the syndicate mission expries
Source:
Returns:
time delta string from now to the expiry
Type
string

getExpired()

Get whether the event has expired
Source:
Returns:
whether the event has expired
Type
boolean

getExpired()

Get whether or not the event has expired
Source:
Returns:
whether the event has expired
Type
boolean

getExpired()

Get whether or not the event has expired
Source:
Returns:
Whether or not the event has expired
Type
boolean

getExpired()

Get whether this deal has expired
Source:
Returns:
Whether or not the deal has expired
Type
boolean

getExpired()

Get whether or not this deal has expired
Source:
Returns:
Whether or not the deal has expired
Type
boolean

getExpired()

Get whether or not the event has expired
Source:
Returns:
whether the event has expired
Type
boolean

getExpired()

Get whether or not the event has expired
Source:
Returns:
whether this event has expired
Type
boolean

getExpired()

Get whether or not the event has expired
Source:
Returns:
whether the event has expired
Type
boolean

getExpired()

Get whether the event has expired
Source:
Returns:
whether this is expired
Type
boolean

getFaction()

Get the sortie's faction
Source:
Returns:
the sortie's faction
Type
string

getFirstDayOfWeek()

Gets the first day of the week
Source:
Returns:
first day of the week
Type
Date

getItemType(item [, types])

Returns the type of a given item
Parameters:
Name Type Argument Description
item string The item whose type needs to be determined
types Array.<RewardType> <optional>
The possible types
Source:
Returns:
The type name
Type
string

getItemTypeFull(item [, types])

Returns the full type of a given item
Parameters:
Name Type Argument Description
item string The item whose type needs to be determined
types Array.<RewardType> <optional>
The possible types
Source:
Returns:
The type
Type
RewardType

getLastDayOfWeek()

Get the last day of the week
Source:
Returns:
last day of the week
Type
Date

getLevelString(job)

Determine the level string for the bounty
Parameters:
Name Type Description
job object Original raw job data
Source:
Returns:
level range string
Type
string

getRemainingTime()

Get an estimation of how much time is left before the invasion ends in milliseconds
Source:
Returns:
remaining time in ms
Type
number

getReward()

Get the alert's reward
Source:
Returns:
the reward
Type
Reward

getRewardTypes()

Get an array containing the types of all of the alert's rewards
Source:
Returns:
an array containing the types of all of the alert's rewards
Type
Array.<string>

getRewardTypes()

Get the types of the items being rewarded in the invasion
Source:
Returns:
types of items being rewarded
Type
Array.<string>

getRewardTypes()

Get an array containing the types of all of the nightwave season's rewards
Source:
Returns:
an array containing the types of all of the nightwave season's rewards
Type
Array.<string>

getStartOfDay()

When was the start of the day
Source:
Returns:
start of the day
Type
Date

getStartString()

Get a string indicating how long it will take for the trader to arrive
Source:
Returns:
time delta string from now to the start
Type
string

getStartString()

Get a string indicating how long it will take for the trader to arrive
Source:
Returns:
time delta string from now to the start
Type
string

getTitle(langCode)

The title of the news item in the specified language
Parameters:
Name Type Description
langCode string Ex. 'es', 'de', 'fr'
Source:
Returns:
The title of the news item in the specified language
Type
string

getTypes()

The types of all items that are being rewarded
Source:
Returns:
types as array of string
Type
Array.<string>

getTypesFull()

The types of all the items that are being rewarded
Source:
Returns:
array of reward types
Type
Array.<RewardType>

isActive()

Get whether or not the trader is currently active
Source:
Returns:
whether the trader is active
Type
boolean

isActive()

Get whether the trader is currently active
Source:
Returns:
whether the trader is active
Type
boolean

isAttackerWinning()

Whether or not the attackers are winning. This is always false when the infestation is attacking
Source:
Returns:
whether the attacker is winning
Type
boolean

isDaily()

Get whether or not the challenge is daily
Source:
Returns:
whether the category is daily
Type
boolean

isExpired()

Get whether or not the challenge has expired
Source:
Returns:
Whether or not the challenge has expired
Type
boolean

isExpired()

Get whether or not the sortie has expired
Source:
Returns:
whether the sortie has expired
Type
boolean

isPrimeAccess()

Whether this is about a new Prime Access
Source:
Returns:
whether the news is about a new Prime Access
Type
boolean

isRootChallenge()

Get whether or not this is the weekly root challenge
Source:
Returns:
whether this is the root challenge
Type
boolean

isStream()

Whether this is about a new stream
Source:
Returns:
whether the news is for a stream
Type
boolean

isUpdate()

Whether or not this is about a game update
Source:
Returns:
whether the news is about an update
Type
boolean

parse(data, locale)

Parse kuva & arbitration data
Parameters:
Name Type Description
data object Data to split for kuva/arbitration
locale string locale to translate
Source:
Returns:
Split parsed data
Type
Kuva

parseArray(ParserClass, dataArray, deps [, uniqueField])

Parameters:
Name Type Argument Description
ParserClass object class for parsing data
dataArray Array.<BaseContentObject> array of raw data
deps Dependency shared dependency object
uniqueField * <optional>
field to treat as unique
Source:
Returns:
array of parsed objects
Type
Array.<WorldstateObject>

scrub(mission)

Scrub unnecessary details from the mission
Parameters:
Name Type Description
mission object parsed mission with re-aligned field names
Source:

toString()

The alert's string representation
Source:
Returns:
the string representation
Type
string

toString()

The event's string representation
Source:
Returns:
The string representation of the event
Type
string

toString()

The conclave challenge's string representation
Source:
Returns:
The string representation of the conclave challenge
Type
string

toString()

The alert's string representation
Source:
Returns:
string representation
Type
string

toString()

Returns a string representation of the daily deal
Source:
Returns:
The string representation of the daily deal
Type
string

toString()

The event's string representation
Source:
Returns:
The string representation of the event
Type
string

toString()

Returns a string representation of the fissure
Source:
Returns:
The string representation of the fissure
Type
string

toString()

Returns a string representation of the flash sale
Source:
Returns:
The string representation of the flash sale
Type
string

toString()

Returns a string representation of the upgrade
Source:
Returns:
string representation
Type
string

toString()

The invasion's string representation
Source:
Returns:
string representation of the invasion
Type
string

toString()

The Mission's string representation
Source:
Returns:
Mission's string representation
Type
string

toString()

String representation
Source:
Returns:
string representation
Type
string

toString()

The alert's string representation
Source:
Returns:
string representation of the alert
Type
string

toString()

Returns a string representation of the persistent enemy
Source:
Returns:
string representation
Type
string

toString()

The reward's string representation
Source:
Returns:
reward's string representation
Type
string

toString()

Returns a string representation of the current sanctuary status
Source:
Returns:
a string representation of the current sanctuary status
Type
string

toString()

Returns the sortie's string representation
Source:
Returns:
the string representation
Type
string

toString()

Returns a string representation of the sortie variant
Source:
Returns:
string representation
Type
string

toString()

Returns a string representation of the syndicate mission
Source:
Returns:
the string representation
Type
string

toString()

The event's string representation
Source:
Returns:
the event's string representation
Type
string

toString()

Returns a string representation of the trader
Source:
Returns:
string representation
Type
string

toString()

Returns a string representation of the trader
Source:
Returns:
string representation
Type
string

toString()

The event's string representation
Source:
Returns:
the event's string representation
Type
string

toString()

Returns a string representation of the object
Source:
Returns:
basic representation from the id
Type
string

toString()

The event's string representation
Source:
Returns:
string representation
Type
string

truncateTime(mission)

Truncate time for a semlar-provided mission
Parameters:
Name Type Description
mission object parsed mission with re-aligned field names
Source:

Type Definitions


BaseContentObject

Type:
  • object
Properties:
Name Type Description
_id Identifier object identifier
Activation ContentTimestamp activation timestamp
Expiry ContentTimestamp expiry timestamp
Source:

ContentTimestamp

Type:
  • object
Properties:
Name Type Description
$date LegacyTimestamp | Timestamp timestamp number wrapper
Source:

CurrentCycle

Type:
  • object
Properties:
Name Type Description
state string Current cycle state. One of `warm`, `cold`
toNextMinor number Time remaining in the current cycle state
toNextFull number Time remaining until the next cycle
timeAtPrevious Date Date and time at which the event started
timeAtNext Date Date and time at which the event start
Source:

DuviriCycle

Type:
  • WorldstateObject
Source:

EarthCycle

Type:
  • object
Properties:
Name Type Description
expiry Date The date and time at which the event ends
activation Date The date and time at which the event started
isDay boolean Whether or not this it's daytime
state string Current cycle state. One of `day`, `night`
timeLeft string Time remaining string
rounded Date The date and time at which the event ends, rounded to the nearest minute
start Date The date and time at which the event started, 4 hours before the end
expired boolean Whether or not the event has expired
Source:

ExternalMission

External mission data retrieved from https://10o.io/kuvalog.json
Type:
  • object
Properties:
Name Type Description
activation Date start time
expiry Date end timer
node string formatted node name with planet
enemy string Enemy on tile
type string Mission type of node
archwing boolean whether or not the tile requires archwing
sharkwing boolean whether or not the tile requires sumbersible archwing
Source:

ExternalMission

External mission data retrieved from https://10o.io/kuvalog.json
Type:
  • object
Properties:
Name Type Description
activation Date start time
expiry Date end timer
node string formatted node name with planet
enemy string Enemy on tile
type string Mission type of node
archwing boolean whether or not the tile requires archwing
sharkwing boolean whether or not the tile requires sumbersible archwing
Source:

Identifier

Type:
  • object
Properties:
Name Type Description
$id string older identifier schema
$oid string newer global identifier schema
Source:

InterimStep

Interim step for an event reward system.
Type:
  • object
Properties:
Name Type Description
goal number Goal amount
reward Reward Reward for reaching the step
winnerCount number Amount of players at this step
message object Message received when reaching the interim step
Source:

InvasionParticipant

An invasion participant
Type:
  • object
Properties:
Name Type Description
reward string Reward for supporting this participant in the invasion
faction string Faction of this participant (localized)
factionKey string Faction of this participant (always English)
Source:

Kuva

Stores and parses kuva data from https://10o.io/kuvalog.json
Type:
  • object
Properties:
Name Type Description
kuva Array.<ExternalMission> currently active kuva missions
arbitration ExternalMission current arbitration
Source:

LegacyTimestamp

Type:
  • object
Properties:
Name Type Description
sec number second-based timestamp
Source:

Mission

Mission typeDef
Type:
  • object
Properties:
Name Type Description
node string Mission node name
enemy string Node enemy
type string Mission type of the node
Source:

ProgressStep

Progress for one of multiple stages
Type:
  • object
Properties:
Name Type Description
type string Type of progress
progressAmt number Amount of progress
Source:

RewardType

An object describing a type of reward, including name, description, test function to verify type from a string, thumbnail url, and color
Type:
  • object
Properties:
Name Type Description
name string Name of the reward type
description string Description of the reward type
test string Function for testing the return type against a string
thumbnail string Thumbnail url for this reward type
color string Summary color representing this reward type
Source:

Timestamp

Type:
  • object
Properties:
Name Type Description
$numberLong number millisecond-based timestamp
Source: