Update needed to API Reference?

Update needed to API Reference?
0

#1

I was just checking a replay of this season. It seems that p1Units and p2Units now have 8 entries instead of 7 as stated in the API reference. What is the extra entry refering to? Is p1Units [7] the upgrades? Any other changes that we should be aware of?

Thanks!


#2

The 8th is for firewall positions that are “upgraded”. We did it this way similar to Remove to save space on replays (so you don’t have to put an extra bool for upgraded on every firewall unit). The starterkits should handle serializing them already so you can look at that.

The other change is an extra int in turnInfo that is for the total frame count.

And the config is completely different in format.

We haven’t had a chance to update the doc server much lately sadly. But will do it soon.