You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Bot object should have an attribute time where the cumulative time for the team shown in the GUI is made available. This is useful for example when benchmarking different strategies. There's no way at the moment to programmatically access that value, as far as I could see.
Of course the client could time itself, but this has its own pitfalls. So it's better to just make that value available, even if we all know it's not super precise...
The text was updated successfully, but these errors were encountered:
Sure, makes sense. But the cumulative time is not so interesting, no? You’d still have to do calculations and store it somewhere. Personally I would calculate it myself.
Well, if you want to do any statistics you'll need to elaborate a bit, you are right. But if you just want to print it out to quickly check, it's good enough. Given that it is trivial to add and that it is available in the GUI it seems natural to expose the attribute through the bot API. I agree it's not super useful, but it's odd that it's missing from the API.
The
Bot
object should have an attributetime
where the cumulative time for the team shown in the GUI is made available. This is useful for example when benchmarking different strategies. There's no way at the moment to programmatically access that value, as far as I could see.Of course the client could time itself, but this has its own pitfalls. So it's better to just make that value available, even if we all know it's not super precise...
The text was updated successfully, but these errors were encountered: