The CONTAINER_BAG_OFFSET constant is assigned the value of 19 in Classic Era, however as of patch 1.14.4 it appears that the Classic Era client has internally aligned somewhat with Wrath Classic and now expects the offset to be 30.
An example of what this impacts if the PutItemInBag API; the following should place your main hand weapon in the players' first non-backpack bag slot, however this doesn't work unless CONTAINER_BAG_OFFSET is set to 30.
The
CONTAINER_BAG_OFFSET
constant is assigned the value of 19 in Classic Era, however as of patch 1.14.4 it appears that the Classic Era client has internally aligned somewhat with Wrath Classic and now expects the offset to be 30.An example of what this impacts if the
PutItemInBag
API; the following should place your main hand weapon in the players' first non-backpack bag slot, however this doesn't work unlessCONTAINER_BAG_OFFSET
is set to 30.