Skip to content

Commit ace2863

Browse files
committed
Adds a guess for 5v5 replay attributes.
I'm not sure how to figure out exactly which attribute id maps to which team setup. Still, candidates for 5v5 and probably 6v6 among other rarer custom teams must be accounted for to parse those respective replays.
1 parent e06c905 commit ace2863

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sc2reader/objects.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,11 @@ def __init__(self, data):
147147
self.name = "TeamsFFA"
148148
self.value = int(self.value[0])
149149

150+
# Complete guesses here, there are several ids that might be correct
151+
elif self.id == 0x07D7:
152+
self.name = "Teams5v5"
153+
self.value = int(self.value[0])
154+
150155
def __repr__(self):
151156
return str(self)
152157

0 commit comments

Comments
 (0)