UpdateEachStockBuilding

Parameters
iType itemtype
iLevel integer
return type
nothing
Source code
function UpdateEachStockBuilding takes itemtype iType, integer iLevel returns nothing
    local group g

    set bj_stockPickedItemType = iType
    set bj_stockPickedItemLevel = iLevel

    set g = CreateGroup()
    call GroupEnumUnitsOfType(g, "marketplace", null)
    call ForGroup(g, function UpdateEachStockBuildingEnum)
    call DestroyGroup(g)
endfunction
Source
Blizzard.j
wc3modding.com
UpdateEachStockBuilding