Blizzard / Blizzard/s2client-api
'None' values for various types
Open
- Dominant language
- C++
- Stars
- 1.7k
- Forks
- 280
- PR merge metrics
- No merged PRs in 30d
Description
It would be quite nice if there were 'None' values for various types such as Race, UnitTypeID, etc, whose internal int is 0. This is very useful for 'error return' cases, such as not currently knowing what race the enemy is, or for returning a 'None' type for a prerequisite when a unit doesn't have one, etc.
sc2::UNIT_TYPEID::None
sc2::Race::None
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.