Function UpdateEachStockBuilding
- Line
- 10353
- Location
- blizzard.j
- Constant?
- no
- Type
- function
- Arguments
- itemtype iType, integer iLevel
- Returns
- nothing
| 10353 | function UpdateEachStockBuilding takes itemtype iType, integer iLevel returns nothing |
| 10354 | local group g |
| 10355 | |
| 10356 | set bj_stockPickedItemType = iType |
| 10357 | set bj_stockPickedItemLevel = iLevel |
| 10358 | |
| 10359 | set g = CreateGroup() |
| 10360 | call GroupEnumUnitsOfType(g, "marketplace", null) |
| 10361 | call ForGroup(g, function UpdateEachStockBuildingEnum) |
| 10362 | call DestroyGroup(g) |
| 10363 | endfunction
|