Blizzard / Blizzard/s2protocol
Unit canceled from the queue of a building
- Dominant language
- Python
- Stars
- 641
- Forks
- 118
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I have a question regarding how to get a specific event from the replay.
In particular, I'm trying to compute the supply block time.
I would like to know if it is possible, using your s2protocol library, to know when a player cancels a building unit (e.g. A marine is produced and then canceled from a Barracks before spawning).
I have not been able to find any data or documentation regarding this event, although, since your client correctly shows the unit disappearing from the building's queue, I assume it is stored somewhere in the replay.
Any help would be greatly appreciated
Thanks
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the s2protocol replay-decoding library and its event documentation for cancellation data; the issue names no file, test, or entry point to run. Done means establishing whether a canceled queued unit is exposed by the replay and documenting or implementing a supported way to retrieve it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100