ajbdev / phpsc2replay

Automatically exported from code.google.com/p/phpsc2replay
0 stars 1 forks source link

Add duration in SC2ReplayUtils #53

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In SC2ReplayUtils we have mineral and gas used, but it lacks 'duration'.
A few months ago, I created my own SC2ReplayDuration class with an array 
mapping idAction => duration.
But idAction are changing every replay, and it is difficult to maintain.

If you are OK with this, I can add 'duration' field in every value in 
SC2ReplayUtils. I'm sure it can be useful to other people out there.

Original issue reported on code.google.com by webmaste...@gtempaccount.com on 1 Aug 2011 at 7:35

GoogleCodeExporter commented 8 years ago
Sure, go ahead and make the changes. Sorry for the late reply :)
Maintaining the duration will also be difficult, but probably less of a hassle 
than the  ability ID approach.

Original comment by zsol.z...@gmail.com on 28 Sep 2011 at 7:18

GoogleCodeExporter commented 8 years ago

Original comment by zsol.z...@gmail.com on 28 Sep 2011 at 7:19