In this repo you can find some Lua scripts to dump stuff from WoW to a json
string.
These script are used in my bot to extract various things from the game via its Lua Api.
Dumps all items that you have equipped as json
Dumps a item that you have equipped as json
Dumps collected events as json
Dumps all items in your bag as json
Dumps a specific item as json
Dumps the Primary stats of a specific item as json
Dumps all skills as json
Dumps all spells as json
public enum EquipmentSlot : int
{
INVSLOT_AMMO = 0,
INVSLOT_HEAD = 1,
INVSLOT_NECK = 2,
INVSLOT_SHOULDER = 3,
INVSLOT_SHIRT = 4,
INVSLOT_CHEST = 5,
INVSLOT_WAIST = 6,
INVSLOT_LEGS = 7,
INVSLOT_FEET = 8,
INVSLOT_WRIST = 9,
INVSLOT_HANDS = 10,
INVSLOT_RING1 = 11,
INVSLOT_RING2 = 12,
INVSLOT_TRINKET1 = 13,
INVSLOT_TRINKET2 = 14,
INVSLOT_BACK = 15,
INVSLOT_MAINHAND = 16,
INVSLOT_OFFHAND = 17,
INVSLOT_RANGED = 18,
INVSLOT_TABARD = 19,
CONTAINER_BAG_1 = 20,
CONTAINER_BAG_2 = 21,
CONTAINER_BAG_3 = 22,
CONTAINER_BAG_4 = 23
}