Progression¶
-
class
ourdestiny.d2progression(progression_db_json, profile_object_in, progression_live_json=None)¶ Bases:
ourdestiny.common.d2displaypropertiesThe object that represents an in-game “progression”, meaning any ranking or reputation system, such as Glory Ranks or destination factions.
Parameters: - progression_db_json – The JSON obtained from the database containing the data about the progression
- profile_object_in (ourdestiny.d2profile) – The profile object that owns this progression
Variables: - name (string) – The name of the progression
- description (string) – The description of the progression
- units (string) – The units used for how this progression counts progress
- steps (List[d2progressionstep]) – A list of dicts each with information about steps for progressing through ranks of progression, such as individual glory ranks
- reward_items (list[ourdestiny.ProgressionRewardItem]) – A list of reward items
- visible (bool) – A boolean variable displaying whether this should be visible or not
- scope (ProgressionScope) – The scope of the progression
- daily_progress (integer) – The current daily progress made on this progression
- daily_limit (integer) – The limit of progress that can be made on this progression in a day
- weekly_progress (integer) – The current weekly progress made on this progression
- weekly_limit (integer) – The limit of progress that can be made on this progression in a week
- current_progress (integer) – The current total progress made on this progression
- level (integer) – The current level of this progression
- level_cap (integer) – The level cap of this progression
- step_index (integer) – The index of the current step
- current_step (d2progressionstep) – If it is accessible, the step the character is currently on
- current_reset_count (integer) – If the progression can be reset, the number of times it has been reset
-
class
ourdestiny.d2progressionstep(step_json)¶ An object representing a step in a progression
Parameters: step_json – A JSON containing data about the step in question
Variables: - step_name (string) – The name of the step, if it has one
- display_effect_type (ProgressionStepDisplayEffect) – The display effect type that should be used for this progression
- progress_total (integer) – The current progress made on this step
-
class
ourdestiny.ProgressionRewardItem(progression_item_json, profile_object_in)¶ Bases:
ourdestiny.item.d2itemA reward item from a progression, inheriting from ourdestiny.d2item with extra attributes provided
Parameters: - progression_item_json (dict) – The JSON data of the item obtained from the API
- profile_object_in (ourdestiny.d2profile) – The object was used to create this item
Variables: - rewarded_at_level – The level of the progression at which this item is rewarded
- acquisition_behaviour – How the item will behave when it is acquired
-
class
ourdestiny.ProgressionRewardItemAcquisitionBehaviour¶ An enumeration. See https://bungie-net.github.io/multi/schema_Destiny-DestinyProgressionRewardItemAcquisitionBehavior.html
-
Instant= 0¶ Means that as soon as the progression is completed, the item will be acquired.
-
PlayerClaimRequired= 1¶ Means that player action is required to claim the item.
-
-
class
ourdestiny.ProgressionScope¶ An enumeration. See https://bungie-net.github.io/multi/schema_Destiny-DestinyProgressionScope.html
-
class
ourdestiny.ProgressionStepDisplayEffect¶ An enumeration. See https://bungie-net.github.io/multi/schema_Destiny-DestinyProgressionStepDisplayEffect.html