ascendedguard / sc2replay-csharp

C# Library for parsing Starcraft 2 Replay files
MIT License
56 stars 20 forks source link

League? #37

Open aKalisch opened 11 years ago

aKalisch commented 11 years ago

Since realease of SC2 2.0.5 the league of your own and your opponent will be saved in the replay.

Is it possible to implement that to the parser?

ascendedguard commented 11 years ago

It should be possible, I've also seen "Swarm Level" and a lot of other player information in the headers.

I think a decision needs to be made though on either where to add these fields without making breaking changes for existing users, OR clean up the class format and release a breaking version (2.0) that adds the new fields available for HOTS.

aKalisch commented 11 years ago

Implement it to the players object right beside color, iswinner etc. so you could easily extend your application to this type of info ;)

I think there's nothing that break the old classes from other user.

As I could see: The ReplayInitData extends the Player Class when parsing the info of replay.initdata.

This could be easily extended I think

Would do it if i got that knowhow about parsing replays.