Comments (3)
Unit and Ability already have 0 reserved as NULL, but there is no enum entry for it.
We forgot to reserve 0 for Upgrade/Buff. We should change the id mapping for 0 and then also add a NULL entry to those enums.
from s2client-api.
All the "sc2_typeenums.h" enums now have an "INVALID" entry.
Not sure what other enums we want to add a 0 entry to. I'll leave this open for now until we decide on that.
from s2client-api.
I would suggest adding a 0 for Unit::Alliance. Currently I have my own PlayerArrayIndex class with the same entries as Unit::Alliance. It might make sense for me to replace my PlayerArrayIndex class with that one. Right now I am using 0 for ERROR. It could also be called uninitialized.
from s2client-api.
Related Issues (20)
- Data for BattleCruiser weapon's are empty HOT 1
- `Test_snapshots` assertion error on line 52: Cannot find terran scv HOT 3
- Functions, depend on SampleImageData don't work HOT 2
- Compile tutorial.cc broken on Linux? HOT 4
- Compiling error: sc2api.pb.h not found HOT 4
- How am I supposed to make a replay of a game started by the coordinator?
- Day 0 exploit regarding UnitIDs HOT 1
- ClientEvent callbacks do not work HOT 3
- In nonmultithreaded, multi-player game, the call of OnGameEnd() is missing.
- In multithreaded and multi-player game, the Restart() in OnGameEnd() fails to work
- The Unit.owner of a neutral units is 16, but Debug().DebugCreateUnit() can not create a unit whose owner is 16
- #error SDL now requires a Linux 2.4+ kernel with /dev/input/event support.
- Get error when opened many coordinators simultaneously
- Exposing enemy actions HOT 1
- Missing replay packs HOT 1
- Human vs Bot HOT 1
- Relationship between pysc2 and s2client-api
- Build fails HOT 5
- Error when running ./all_tests on Linux
- Player' Color
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from s2client-api.