Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 35 additions & 7 deletions app/data/activities.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,38 @@
# https://bungie-net.github.io/multi/schema_Destiny-Entities-Characters-DestinyCharacterActivitiesComponent.html#schema_Destiny-Entities-Characters-DestinyCharacterActivitiesComponent

ACTIVITY_NAMES = {
0: 'Unknown (0)',
32: 'Private Matches (all)',
0: 'None',
2: 'Story',
3: 'Normal Strikes',
4: 'Raid',
6: 'Explore',
5: 'All PvP',
6: 'Patrol',
7: 'All PvE',
9: 'Reserved9',
10: 'Control',
11: 'Reserved11',
12: 'Clash',
13: 'Reserved13',
15: 'Crimson Doubles',
16: 'Nightfall Strikes',
17: 'Prestige Nightfall',
18: 'All Strikes',
19: 'Iron Banner',
20: 'Reserved20',
21: 'Reserved21',
22: 'Reserved22',
24: 'Reserved24',
25: 'Mayhem',
26: 'Reserved26',
27: 'Reserved27',
28: 'Reserved28',
29: 'Reserved29',
30: 'Reserved30',
31: 'Supremacy',
32: 'Private Matches (all)',
37: 'Survival',
38: 'Countdown',
39: 'Trials of the Nine',
40: 'Social',
41: 'Trials of the Nine Countdown',
42: 'Trials of the Nine Survival',
Expand All @@ -21,6 +42,7 @@
46: 'Scored Nightfall Strikes',
47: 'Scored Prestige Nightfall',
48: 'Rumble',
49: 'Doubles (all)',
50: 'Doubles',
51: 'Private Matches Clash',
52: 'Private Matches Control',
Expand All @@ -35,10 +57,13 @@
61: 'Scorched',
62: 'Team Scorched',
63: 'Gambit',
64: 'PvE Competitive (all)',
65: 'Breakthrough',
66: 'Forge',
67: 'Salvage',
68: 'Iron Banner Salvage',
69: 'Competitive',
70: 'Quickplay',
71: 'Clash: Quickplay',
72: 'Clash: Competitive',
73: 'Control: Quickplay',
Expand All @@ -56,10 +81,13 @@
85: 'Dares of Eternity',
86: 'Offensive',
87: 'Lost Sector',
88: "Rift",
89: "Zone Control",
90: "Iron Banner Rift"
88: 'Rift',
89: 'Zone Control',
90: 'Iron Banner Rift',
91: 'Iron Banner Zone Control',
92: 'Relic',
93: 'The Lawless Frontier'
}

PVP_ACTIVITIES = [84, 81, 80, 74, 73, 72, 71, 68, 65, 62, 61, 60, 59, 50, 48, 43, 45, 44, 41, 42, 37, 38, 31, 25, 15]
PVP_ACTIVITIES = [92, 91, 90, 89, 84, 81, 80, 74, 73, 72, 71, 68, 65, 62, 61, 60, 59, 50, 48, 43, 45, 44, 41, 42, 37, 38, 31, 25, 15]
GAMBIT_ACTIVITIES = [75, 63]