chinajade
Community Developer
- Joined
- Jul 20, 2010
- Messages
- 17,540
Hi, TheBrodieMan, and thank you for all the details!Issue with Garrison API:
When using Styx.WoWInternals.Garrison.GarrisonInfo.LandingPageShipmentInfos to pull shipment info, the information is cached at WoW startup. Once we head out and grab a shipment container, the return values from above still will show that the amount that was in before still exists, until WoW is restarted.
Code:Example code: foreach (var i in Styx.WoWInternals.Garrison.GarrisonInfo.LandingPageShipmentInfos) { if (i.Building.Type == Styx.WoWInternals.DB.GarrisonBuildingType.Inscription) Log(i.ShipmentsReady); }
ShipmentsReady returns amount we can grab from the box, but still returns a value above 0 after pickup (namely, the same value as before pickup, and does not increase as the box refills while still logged in)
We've captured the issue as:
HB-2269: GarrisonBuddy API: ShipmentsReady returning wrong values
cheers,
chinajade