AddItemToStock
- Parameters
-
whichUnit unit
itemId integer
currentStock integer
stockMax integer
- comment
Adds an item of the type itemId with current stock of currentStock and max stock of stockMax to the specific shop whichUnit.
- note
Some issues with default Blizzard initialization and that function were met. See http://www.hiveworkshop.com/forums/l-715/a-251815/ for details.
- patch
1.07
- Source
- common.j
- return type
nothing
- Source code
native AddItemToStock takes unit whichUnit, integer itemId, integer currentStock, integer stockMax returns nothing