UnitAddItemSwapped

Parameters
whichItem item
whichHero unit
return type
boolean
Source code
function UnitAddItemSwapped takes item whichItem, unit whichHero returns boolean
    return UnitAddItem(whichHero, whichItem)
endfunction
Source
Blizzard.j
wc3modding.com
UnitAddItemSwapped