Closed LordMike closed 5 years ago
I'm unsure how to detect if it's possible to build units. I can see that StartupService
comes back with all data, including all buildings (part of map data), where the state of my barracks is e.g. Idle.
Can't really locate the count of troops or similar.
Count of troops shows upon the response of ArmyUnitDataService . getArmyInfo It's equivalent to open the Army screen or Campaign map
I've tried training troops and watching the API. This is what I got:
Note, I believe the data is
[buildingId, slotId]
whereslotId
is 0-indexed from the left.Response: