Blizzard / s2client-proto

StarCraft II Client - protocol definitions used to communicate with StarCraft II.
MIT License
3.76k stars 431 forks source link

Observing Mineral/Vespene amount of all Players #50

Open LordBlackhawk opened 6 years ago

LordBlackhawk commented 6 years ago

Is it possible to observe the Mineral/Vespene amount of all Players watching the game only once?

I know, that I can set "player_id" while call to "IgnoreReplay" to watch the replay from the view of the different players. In this case I can observe only the Mineral/Vespene amount of the current player. As expected...

If I set "player_id" to 0 while "IgnoreReplay", I have the view of an observer watching the game. But in this case I do not know how to get Mineral/Vespene Amounts. In my opinion all of them should be observable.

If not yet possible, may I propose a new feature?

AnthonyBrunasso commented 6 years ago

I can add this as an enhancement request and add it to my queue. I'm not sure when I'll be able to get around to it but this should be possible to add.

LordBlackhawk commented 6 years ago

Would it be possible to do the same with GetRawActions(). Currently GetRawActions() returns nothing for the observer, although the observer is able to see all actions.