Update calls to bag and container-related APIs to use the new C_Container namespace
rdw-software opened this issue ยท 1 comments
Also outlined here: https://wowpedia.fandom.com/wiki/Patch_10.0.2/API_changes
This is probably much easier to fix than #501, so I'll add this as a separate issue. Obviously both problems need to be fixed in order to restore functionality, but one step at a time...
Edit: It seems they also changed the return format (tables instead of multiple return values).
Rarity only seems to use three of the container APIs:
C_Container.GetContainerItemID
: Only returns a single value, the item IDC_Container.GetContainerNumSlots
: Only returns a single value, the number of slotsC_Container.GetContainerItemInfo
: Now returns a structured table (I guess I forgot to account for that...)