Rarity

Rarity

17M Downloads

Update calls to bag and container-related APIs to use the new C_Container namespace

rdw-software opened this issue ยท 1 comments

commented

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).

commented

Rarity only seems to use three of the container APIs:

  • C_Container.GetContainerItemID: Only returns a single value, the item ID
  • C_Container.GetContainerNumSlots: Only returns a single value, the number of slots
  • C_Container.GetContainerItemInfo: Now returns a structured table (I guess I forgot to account for that...)