...
With the exception of pickStructLocation() (see 3.1 RC3 for update), all JS API features that return an Area object, Position object, Player object or Research object now have a .type property that has the relevant constant as it's value. This change affects functions such as affects label(), getResearch(), etc., and globals such as startPositions and derrickPositions, etc.Player object and Research object, and any research object returned by other functions (but not the functions themselves).
Constants | Events | Functions | Globals | Objects |
---|---|---|---|---|
No changes | No changes label() | No changes No changes |
3.1 RC 2
Note: 3.1 RC 1 was skipped due to some major bugs.
...