AddUnitToStockBJ

Parameters
unitIdinteger
whichUnitunit
currentStockinteger
stockMaxinteger
comment
patch

1.07

Source
Blizzard.j (suggest an edit or discuss on Github)
return type
nothing
Source code
function AddUnitToStockBJ takes integer unitId, unit whichUnit, integer currentStock, integer stockMax returns nothing
    call AddUnitToStock(whichUnit, unitId, currentStock, stockMax)
endfunction