1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
if bagId == BAG_GUILDBANK then
elseif bagId == BAG_VIRTUAL then
else
if slotIndex == nil then
return 0
end
if slotIndex < ( bagSlots - 1 ) then
return slotIndex + 1
else
return nil
end
end
end |