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
As sc2_typeeenums.h says, "All units and abilities are represented as unsigned numbers in the StarCraft II engine. This can make issue abilities unnecessarily hard."
This fact is also true with the proto API. As it is, any equivalent implementation of the sc2api client in another language will have to define its own equivalent of these enums, or force its users to figure out the unit indexes themselves.
Is it possible to define this as a protobuf enum as part of the protocol sent by the game?
The text was updated successfully, but these errors were encountered:
https://github.com/Blizzard/s2client-api/blob/master/include/sc2api/sc2_typeenums.h
As sc2_typeeenums.h says, "All units and abilities are represented as unsigned numbers in the StarCraft II engine. This can make issue abilities unnecessarily hard."
This fact is also true with the proto API. As it is, any equivalent implementation of the sc2api client in another language will have to define its own equivalent of these enums, or force its users to figure out the unit indexes themselves.
Is it possible to define this as a protobuf enum as part of the protocol sent by the game?
The text was updated successfully, but these errors were encountered: